|
Post by demondreamer on Jan 11, 2015 10:35:58 GMT
|
|
|
Post by Admin on Jan 13, 2015 1:11:23 GMT
Hey, thanks. I'll sticky this.
|
|
|
Post by SBK on Jan 27, 2015 11:06:06 GMT
Hi demondreamer
Thank you very much for your code update.
I am testing both the gateway and the node for a while and I came up with some outcomes:
The gateway is working for 5, some times 10 minutes and it suddenly stop between the transmission. I tried one Arduino UNO 5V with Level shifter, one Arduino UNO 3.3V and one Arduino Nano with level shifter and all 3 had the same problem. I used 3 different RFM69HW chips between them and I did isolated tests with the board, the board with the Ethernet Shield and the board + ethernet shield + radio and all hardware looks like be working well, so my only option is something with the code, are you aware of any part of the code that can cause it?
The node is working perfectly with all three platforms (I used the node to test the items used on the gateway as well), the only thing that I had to change was the DHT call that didn't work for me probably because I am using a different version of the library, so I made the changes below: ========================= DHT dht;
instead of
DHT dht(DHTPIN, DHTTYPE, 3); ========================= dht.setup(DHTPIN);
instead of
dht.begin(); ==========================
I would appreciate any help with this problem, the project is amazing.
Cheers,
|
|
|
Post by demondreamer on Jan 27, 2015 16:30:54 GMT
Hi demondreamer Thank you very much for your code update. I am testing both the gateway and the node for a while and I came up with some outcomes: The gateway is working for 5, some times 10 minutes and it suddenly stop between the transmission. I tried one Arduino UNO 5V with Level shifter, one Arduino UNO 3.3V and one Arduino Nano with level shifter and all 3 had the same problem. I used 3 different RFM69HW chips between them and I did isolated tests with the board, the board with the Ethernet Shield and the board + ethernet shield + radio and all hardware looks like be working well, so my only option is something with the code, are you aware of any part of the code that can cause it? The node is working perfectly with all three platforms (I used the node to test the items used on the gateway as well), the only thing that I had to change was the DHT call that didn't work for me probably because I am using a different version of the library, so I made the changes below: ========================= DHT dht; instead of DHT dht(DHTPIN, DHTTYPE, 3); ========================= dht.setup(DHTPIN); instead of dht.begin(); ========================== I would appreciate any help with this problem, the project is amazing. Cheers, If you're referring to Abouillot's design that I modified for bi directional communication, then no, it's not working reliably. I never was able to figure out why but after a certain amount of time it would just stop responding. I referenced it here anyway in case others could use parts of it to aid their own design. I've dropped my efforts due to the gateway and node sketchs provided by computourist here. His uses the same hardware as Eric's design, integrates the two gateways into one and is fully bi-directional communications. It posts and subscribes to MQTT like Eric's, though the topic format is different and has built in support for sensors, actuators, buttons, timed events, and other cool stuff. -Demondreamer
|
|
|
Post by duanethorpe on Feb 9, 2015 3:00:27 GMT
I am a NOOB trying to understand the great work you smart folks have done so far in order to not have to start from scratch for myself. I am not a strong programmer, but I am learning. I have a Raspberry Pi and 3 Moteinos (nice arduino clones with RFM69HW).
I see the recent RFM69-MQTT-Gateway document and I like the project a lot. However, I am having some difficulty understanding the top level concept using my specific hardware.
1. In the document introduction diagram, is the Gateway an arduino with a both a RFM69 and an Ethernet connection?
2. Would it be a major software change for the Gateway to be a Monteino connected to the Pi via the serial port, with the Pi then connect to ethernet? Or would it be easier/better to somehow get Ethernet added to my Moteino? Or save all the Moteinos for end nodes and get some arduino hardware for the Gateway?
3. What is the hardware and software for the MQTT broker? Would this be my Pi connected to my Ethernet? I would like to read/write to the end nodes from an android tablet/cell phone.
Thanks in advance for any advice.
- - - Duane
|
|
|
Post by computourist on Feb 9, 2015 9:56:41 GMT
Hi Duane, 1- The gateway is an Arduino equiped with RFM69 and ethernet. I use a 3.3 Volt Arduino Pro Mini to avoid interfacing problems. 2- You could send the MQTT- topic and message over a serial link to the Pi, but that would need major changes to the gateway code. You could use I2C like in the original instructable. Or you could buy the extra hardware to build the gateway... I think this would be the easiest way to go.. 3- I run Mosquitto on a Cubietruck, and have run Mosquitto on a Pi and a Guruplug. Standard installation should work. - Computourist I am a NOOB trying to understand the great work you smart folks have done so far in order to not have to start from scratch for myself. I am not a strong programmer, but I am learning. I have a Raspberry Pi and 3 Moteinos (nice arduino clones with RFM69HW). I see the recent RFM69-MQTT-Gateway document and I like the project a lot. However, I am having some difficulty understanding the top level concept using my specific hardware. 1. In the document introduction diagram, is the Gateway an arduino with a both a RFM69 and an Ethernet connection? 2. Would it be a major software change for the Gateway to be a Monteino connected to the Pi via the serial port, with the Pi then connect to ethernet? Or would it be easier/better to somehow get Ethernet added to my Moteino? Or save all the Moteinos for end nodes and get some arduino hardware for the Gateway? 3. What is the hardware and software for the MQTT broker? Would this be my Pi connected to my Ethernet? I would like to read/write to the end nodes from an android tablet/cell phone. Thanks in advance for any advice. - - - Duane
|
|
|
Post by chanakya on Feb 22, 2015 9:29:50 GMT
Can anyone suggest me how to modify RFM69HW code to nRF24L01...
|
|
|
Post by demondreamer on Feb 22, 2015 21:54:16 GMT
Can anyone suggest me how to modify RFM69HW code to nRF24L01... These projects pretty much exist based on the use of the rfm69 transceivers aand it's range and security advantages. If you just want to use the nrf24l transceivers, there are already mature projects that are based around it. Check out mysensors.org. -demondreamer
|
|
|
Post by chanakya on Feb 28, 2015 12:47:05 GMT
actually we have started our project with nrf24l... we are successful in transmitting sensor information between two arduinos.. we struck up at ethernet stage.. can u plz suggest any code? ?
|
|
|
Post by gandalph on Jun 2, 2015 15:37:38 GMT
on topic: I started with the implementation as per abouillots work (based on Erics Instructable), which is not bi-directional (originally) and uses the RPi as gateway. Due to reception issues from my pro mini node tucked away at 20m in the fridge (yes ) I have also created the Arduino buono ethernet gateway as per computourists config. (Kudos to you guys) I must say the latter is more complex coding for a n00b like me, but has more possibilities (switch on light from OpenHAB!) and it seems my buono has more sending power than the Pi (even outfitted with decoupling capacitor AMS1117), so messages get received more reliably. I've been exploring some low-power coding, already implemented on the abouillots version of the node, need to translate that to computourists node. Both gateways are happily running alongside each other now btw due to the implementation of the MQTT bus! I'll let you know how it goes...
|
|
|
Post by Mcarli201 on Mar 13, 2016 9:02:22 GMT
...
1. In the document introduction diagram, is the Gateway an arduino with a both a RFM69 and an Ethernet connection?
... - - - Duane
Regarding this question I get from the project that obviously there are two Arduino one with RFM69 and another one with Ethernet shield. Is there an upgrade of this project where you combined it in one?
Mcarli201
|
|
|
Post by greginkansas on Mar 13, 2016 15:47:28 GMT
|
|