UNO R3 + Prototyping Breadboard + W5100 Shield
-
I've spent a whole day trying to get this setup working. I'm definitely doing something wrong and I'm lost. I've followed the same pinouts as the Ethernet tutorial but I think since I've got a breadboard, the pin out would be different (I believe).
I've attached the shields I'm using.
-
@iotearoa I have that same setup for my gateway and it works. Not sure what version of Arduino IDE you are using, but I use version 1.6.7 (or older) because of an issue with the IDE and the W5100 shield. It's a known issue and there are several threads on the forum about the problem.
The only odd thing I have is it takes about 1-2 minutes for the the ethernet to connect (to my Vera), but after it connects it's all good.
-
That's good to know that it works! are you able to share your sketch to me? Or did you use the same one from the tutorials?
I'm still quite new to this exciting world.
Thank you
-
If you remove the prototype shield everything works?
-
Unfortunately no, I'll check if its the clone shield is at fault and let you know
-
@iotearoa - I have had the exact same setup as well, default ethernet sketch and it did work.
Do you have any serial output/debug?
-
@sundberg84 it was blank. I'll start with just simply the ethernet shield and use the DhcpChatServer sketch to rule out it's not the shield then move my way to the NRF. Thanks for the rapid response. I'm testing it now.
-
It turns out the W5100 ethernet is working after using the sample sketch from Arduino.
Now plumbed NRF directly on the W5100 shield:Now I'm getting this:
-
Post your code please
-
@iotearoa - put the capacitor as near the radio as possible, solder it directly over GND / VCC and not near the arduino.
-
@gohan copy pasted the one from here
https://raw.githubusercontent.com/mysensors/MySensors/master/examples/GatewayW5100/GatewayW5100.ino
thank you
-
Hmm... no good.. I've basically moved a known working breadboard + 4.7uf from my other prototype below. I'm still getting the same error.
I'll triple check the wiring and replace all of them just in case.
-
Found out that my W5100 clone is having serious auto-negotiation issues with my linksys switch. I jumped it earlier like this
-
@sundberg84 @gohan its solved. Thanks for the help! Bad, 4.7uf, poor wiring and not to mention "a man look" on which pins I've used
Thanks again!
-
With all of that, no wonder it wasn't working
What kind of project are you running with those nodes?
-
I'm measuring ambient lighting and motion sensor (Its directly using a 12v PIR ) at the moment in my room and using a
Mosquitto+Paho+MongoDB+SlamData for some analytics. I'm curious what analytics I'll get with this setup. Who knows right?
Then you'll notice there's an OLED. It's just simply a replacement for the serial() so I can see the debug than plugging the USB all the time.