|
Post by agecrabahaykubo on Mar 6, 2017 23:06:18 GMT
papa, I checked the voltage of the shield (VCC pin bent) and the readings for 3.3v socket/pin is 4.6v, D13 is 3.3v D12 is 4.6v, D2 is 0.05vnot really sure if the reading were accurate though as I can't insert my meter's probe into the socket instead I probe the exposed header pns/legs. I then bent the VCC pin and i got constant 3.3v reading from the sockets I mentioned above but couldn't connect to MQTT or maybe get signals. I believe that the first shield was defective because I tried running the sample sketch from the Arduino IDE where it will print my shield's IP address and the result was " Failed to configure Ethernet using DHCP." And when I tried the new shield, it gave me the IP address. When I got the MQTT-ok connection the shield was connected to the network switch but my Pi was directly connected to the router. Thanks again for your time responding to my frustrations.
|
|
|
Post by agecrabahaykubo on Mar 6, 2017 16:30:23 GMT
Hi papa, I have a working gateway now at the expense of getting a new shield and you are right the shield is defective. One thing I'm concern right now is the VCC pin (ICSP) when I bend it I don't get any response from the shield, from the serial monitor I am only seeing gateway version and 915 mhz. But when I don't bend the VCC pin I get a quick response from the shield and MQTT link OK message. Is it safe to not bend the VCC pin? As I am writing this I bend the VCC pin again but no response from the SM. Thanks.
|
|
|
Post by agecrabahaykubo on Mar 6, 2017 1:21:01 GMT
I logged into my router to check my IP addresses and saw this. I am wondering if this is because I connect RPi to a switch but I am pretty sure 192.168.0.12 is my Pi's address. Attachments:
|
|
|
Post by agecrabahaykubo on Mar 6, 2017 1:04:20 GMT
You did not mention plugging a w5100 Ethernet shield on top the gateway Buono. Do you have one of those installed with the Buono's ICSP VCC disabled? (See this thread, the first post on that page 2) Yes I plugged the shield on top of Buono with RFM69 connected. I did also bend(disabled) ICSP VCC. So when RFM69 is attached to the shield I don't get the "No DHCP, connecting, no link" message.
Sometimes rebooting the router & then (when the router is fully up) the gateway seem to help. I did reboot my router to try but no luck. I connected my Pi directly to router no luck. I haven't try to connect the Arduino/sheild to the router directly.
If that does not help ... Tell me the IP address of your PI. My Pi's address is 192.168.0.12
Then from your sketch you used to program your gateway, copy & paste in your reply: the contents of these lines (the originals which need customizing to your PI):
// Ethernet settings byte mqtt_server[] = { 192, 168, x, y}; // IP of computer hosting the MQTT service byte ip[] = { 192, 168, x, z }; // default IP for this Gateway if DHCP does not assign it
// Ethernet settings byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xBA, 0xBE }; // Assigns Gateway's MAC address for Ethernet byte mqtt_server[] = { 192, 168, 0, 12 }; // IP of computer hosting the MQTT service byte ip[] = { 192, 168, 0, 12 }; // default IP for this Gateway if DHCP does not assign it
I'm just wondering if the DHCP problem is caused by my network switch where my Pi, desktop and ethernet shield is connected.
|
|
|
Post by agecrabahaykubo on Mar 4, 2017 3:04:16 GMT
Hi papa, I got some good news and bad news, the good news is I got the Buono R3 today. To my excitement I quickly plugged it to my computer and uploaded the RFM sketch. And the bad news is I can't connect to MQTT, the error message it "No DHCP, connecting, no link". I did follow your troubleshooting when we got no result from connecting to MQTT, unplugged the wires from RFM69 and ethernet cable and restart the serial monitor but still I'm getting the same No DHCP error. So then I plugged in the ethernet cable and the result is still the same. I even reinstall and start the MQTT service on my RPi3 but no luck. Any suggestions? I'm running out of ideas on how to make this work. I don't want to end up wasting all the resources that I bought for this project. Thanks.
|
|
|
Post by agecrabahaykubo on Feb 15, 2017 21:54:35 GMT
Hi papa,
I am restarting the home automation from scratch again following your adapted schematics. But I am still waiting for the parts to arrive namely the 2 Buono R3 and RFm69. I just happen to visit a DIY shop and saw the solid state relay and bought it and made the hack.
Will post again of any news or question. Thanks.
|
|
|
Post by agecrabahaykubo on Feb 15, 2017 16:45:15 GMT
Hi papa, I am reading a lot lately of your post about assembling the Gateway node and the DHT End node and I realized that I can't use my Arduino Uno unless I hack it to 3.3. So I ordered the two(2) Buono R3 and still waiting for it to arrive. I did also reorder two(2) RFM69 but I am using RFM69HW not RFM69HC would this be OK? And order 1 more Protoshield. So right now I'm just waiting. But I went to some DIY store today and found a solid state relay and I tried making it! Please see attached image and could you please let me know if the specifications are good enough to use. Specifications: 5.5 - 10 VDC 10A/240 VAC Here's the solid state relay image. will do next the protective cover. Thanks.
|
|
|
Post by agecrabahaykubo on Feb 11, 2017 0:59:52 GMT
Thank you for the warm welcome papa, yes frustration is a big part of success. Well, I'm going to jump right into the thread that you mentioned and will be posting questions once again if I'm getting some difficulties. Best regards. Welcome, agecrabahaykubo, to the DIY Home Automation party & sometimes frustration. Sorry, you're having trouble. Let's see if we can get you going. Making your first gateway & node are usually the hardest for beginners. When you say, "working RFM gateway and Ethernet gateway," it sounds like you are using the original Uber Home Automation Instructable where the link to this forum was posted. The approach in this forum uses only one gateway. The Instructable is inspiring, but had limitations & glitches (admitted by the author). In this forum, we use a refined version (based on computourist's work) that has more capability & more reliable communication between devices. I recommend you use documentation in this forum mostly. If there are sensor nodes in the Instructable that are not covered in this forum, perhaps when you understand more you can return to those Instructable nodes & adapt the sensors to this forum approach. All or most parts you bought should be useful in this approach. I just did a thread called Building a Home Automation Network (Beginners ??). I've tried to make it as simple & complete as I can (but it may still be challenging) & I included things like what results you should expect & dealing with the libraries needed. I believe if you successfully work your way through that thread (& other threads it links to), you'll be off to a good start. Once you get through that Building... thread, I can point you to some of my documentation on using PIR sensors. We in this forum will try to help you. Please continue posting in THIS thread (Help im stuck) & as you move through attempts, give some details what instructions you're following, what you're using, what you're trying, & what results you get. Again, if you're following the Uber Home Automation Instructable, I recommend you set that aside for now & use what's in this forum. Even if you're not following the Instructable, my Building... thread might be helpful to you.
|
|
|
Post by agecrabahaykubo on Feb 10, 2017 21:20:54 GMT
Hi all, I decided to create this thread for the fact that I am thinking of not making any progress with this project. What I have done or accomplished lately was buying the parts needed, solder the RFM69 which I sucked big time, attaching the wires to the arduinos, downloaded and uploaded the sketches which I also encountered errors mostly missing libraries. My question is how do i know if I have a working RFM gateway and Ethernet gateway? Should I see their IP addresses in my devices network when I plug them in? I am now trying to build the sensors and I am starting on PIR motion sensor. I just can't figure it out how to wire the 10 ohm resistor really. Here's the image of RFM69 gateway and Ethernet Gateway. Hope someone can help me. Thanks.
|
|