Gotcha.. Thanks Anticimex, keep us posted on what you find out with the logic analyzer, that will be very interesting for sure.
jkbrowne
@jkbrowne
Best posts made by jkbrowne
Latest posts made by jkbrowne
-
RE: Ethernet gateway troubleshooting advice
-
RE: Ethernet gateway troubleshooting advice
Hmm, well that's somewhat discouraging. Surely someone has a combination of the two that work together or there wouldn't be instructions on building an Ethernet Gateway using a W5100 on the MySensors site right? Or I would hope not anyway.
Are you using a genuine Arduino board or a clone? Maybe we should take a poll to see who has working configurations and exactly what they're using and where they got their components from. Just a thought...
-
RE: Ethernet Gateway problem
Hey Dan,
Just curious, where did you get your Arduino and ethernet board? Is your Arduino a clone or a genuine board from Italy? I'm fighting some issues getting my gateway working and was curious specifically what you're using.
-
RE: Ethernet gateway troubleshooting advice
Just a quick update, I disconnected the NRF24L01 from the Nano so I only have the W5100 ethernet module connected. I downloaded a sample HTTP client sketch and uploaded it to the Nano. This works perfectly, I can ping the Nano and hit the HTTP server so this at least proves my W5100 module works fine and I have it connected correctly.
Also...
I disconnected the W5100 module, re-connected the NRF24L01, and re-uploaded the gateway sketch. I then started getting a "0;0;3;0;14;Gateway startup complete" message in the console. So it appears having the W5100 ethernet module connected is not allowing enough power to initialize the NRF24L01, at least on my particular Nano. Supposedly this combination works for others, even without the capacitor. Anyway, I've read that using a larger capacitor (47uf - 100uf) can help so that's my next step...
-
Ethernet gateway troubleshooting advice
Hi guys,
I've had a Vera for about a year but I'm new to the Arduino/MySensors platform. I've spent a-couple of days researching and troubleshooting my ethernet gateway but unfortunately it's still not working for me so I'm hoping you guys might be able to give me a helping hand. I'm using the Arduino Nano, the NRF24L01 board, and the W5100 ethernet adapter. Here's what I've done:
Using the ethernet gateway instructions here:
http://www.mysensors.org/build/ethernet_gateway
I began to hook everything up. The first thing I noticed was my W5100 adapter's VCC pin is labeled +5V, however the instructions say to power the ethernet adapter with 3.3v. Also, the pins on my W5100 adapter are labeled slightly differently. So I used my best judgement and wired it up as follows:
Nano...........NRF24L01.........W5100
3V3..............VCC.......................VCC
GND............GND......................GND
D5.................CE....................................
D6.................CSN................................
D10................................................NSS
D11................MOSI.....................MO
D12................MISO.....................MI
D13................SCK........................SOKI also added a 4.7uf capacitor between 3V3 and GND. I plugged in the Nano, changed the IP address in the ethernet gateway sketch to match my network, and uploaded the sketch.
Unfortunately it looked like something wasn't right. I couldn't ping the gateway. The PWR led on the W5100 lit up and the FDX led was flashing, nothing else was lit up. I also noticed I was getting "0;0;3;0;9;check wires" in the serial console. I checked the voltage between the capacitor pins and I was only getting 3.0V so I figured the W5100 wasn't getting enough power. Since the W5100 board was labeled +5V I hooked it up to the +5V pin on the Nano and immediately most of the lights lit up and I was getting some flashing on the RX pin so it looked like at this point it was almost working. Checked the voltage between the capacitor and I was now getting 3.3V so it appears the W5100 is too power hungry to be powered off the 3V3 pin. Still couldn't ping it though, and I was still getting the "0;0;3;0;9;check wires" message in the console.
I decided to try and tackle the NRF24L01 issue and come back to the W5100 later. According to what I've read, the "check wires" message is related to the NRF24L01 so I triple checked my wires and even tried a different NRF24L01 but unfortunately it still was not working for me.
So this is where I'm at now. The ethernet module looks like it's working but I cannot ping it. The ip address is a valid unused address on my network so that shouldn't be the issue. I read that adjusting the value of RF24_PA_LEVEL in MyConfig.h might help so I set this to RF24_PA_MIN but I'm still getting the "0;0;3;0;9;check wires" message.
My current wiring is as follows:
Nano...........NRF24L01.........W5100
+5V...............................................VCC
3V3..............VCC.................................
GND............GND......................GND
D2.................IRQ....................................
D5.................CE....................................
D6.................CSN................................
D10................................................NSS
D11................MOSI.....................MO
D12................MISO.....................MI
D13................SCK........................SOKI'm curious if maybe I've mis-interpreted a connection somewhere, especially since the W5100 labels are different than what's in the documentation. Any help or guidance would be greatly appreciated. I'm really excited to see this work.
Thanks,
John