|
Post by hazetek on May 4, 2017 18:19:27 GMT
Hello, I've been following this forum for couple years now and finally decided to take on this project I currently have two Arduino Uno lc's @ 3v pins and RFM69W's on top of them and one with the ethernet shield. I boot them up and they make initial communication then stop I have to reboot them or reload the schematic to get then to talk and it's always one to three lines then back to no connection. I have attached an image of the node and gateway any help would be appreciated. Thanks, Update: I have used LowerPowerLabs Gateway and Node examples to confirm connections with great communication success picture posted below, Note, I did move pin 8 to 10 on the gateway to run this test.
|
|
|
Post by papa on May 4, 2017 19:47:45 GMT
Welcome, hazetek. Congratulations on jumping in & giving this a try. In the lowpower.com node serial monitor outputs I see "ok" sometimes & "nothing" sometimes. Does that perhaps mean that communication there is also having problems? A couple things to check first off. 1) Are you in fact using regular Arduino Unos? When you use the 3.3 volt socket to power the RFM69 radio, the Uno's data sockets (D2, etc) are still sending 5 volts that are not healthy for the RFM69 radio. This can create problems soon or later. You need to be using an Arduino Compatible that sends only 3.3 volts thru the data sockets: Buono Uno or Arduino Pro Mini or an Uno hacked to 3.3 volt operation. Or for a node, you can use an Anarduino Miniwireless or lowpower.com Moteino with RFM69 radio already installed. 2) Did you edit two library files that the Gateway sketch uses: w5100.h & Ethernet.h? That often clears up gateway / node communication. ============================ It looks like you might be using my Building a Home Automation Network for Beginners thread. I suggest you check the details there. In building / programming the gateway it refers you to posts starting here about what Arduino compatibles you can use, including a link to hacking an Uno to 3.3 volts. This post documents how to edit the two library files that the Gateway sketch uses.
|
|
|
Post by hazetek on May 4, 2017 21:03:25 GMT
"In the lowpower.com node serial monitor outputs I see "ok" sometimes & "nothing" sometimes. Does that perhaps mean that communication there is also having problems?" -This was due to me setting it #define IS_RFM69HW = True. After I commented it out on both node and gateway // #define IS_RFM69HW = false. it was 100% success
"Are you in fact using regular Arduino Unos?" -I'm using the BUONO UNO LC with the jumper pin set to 3v and have the VCC pin removed on the gateway and I'm powering it with the six pin USB
"Did you edit two library files that the Gateway sketch uses: w5100.h & Ethernet.h? That often clears up gateway / node communication." I found the directions will follow up with feedback on this soon
Thank you, I appreciate your time.
|
|
|
Post by hazetek on May 5, 2017 18:13:04 GMT
Appreciate your help I took the time to read the modifications you recommended for pin 8 and the network communications and made the changed to the ethernet.h and w5100.h and its now communicating with 100% success rate Thank you
|
|
|
Post by papa on May 6, 2017 0:27:01 GMT
Excellent. You're welcome. Enjoy. Stay in touch. Let us know what works for you & what you learn or accomplished that we may not have noted on the forum yet.
|
|