jimmie
Junior Member
Posts: 86
|
Post by jimmie on Jul 13, 2019 21:17:17 GMT
I have an Arduino Ethernet Shield like the one attached. I first compiled the DHCPAddressPrinter sketch and tested the Ethernet shield with an Arduino Mega. It works fine, gets an IP address and the Ethernet activity leds are on.
I then compiled and uploaded the ShieldBuddy EthernetSketch example. After the sketch was uploaded, I am not getting any response from the Ethernet shield. Also, the Ethernet activity lights on the port are not on. The red led on the ShieldBuddy (next to the miniusb) is on all the time. Also, if I try to flash another sketch to the ShieldBuddy, I get the attached error. The only way to flash new firmware is to take the Ethernet shield off.
I would greatly appreciate the community's input as I have no experience with the ShieldBuddy and it is vital that I use the Ethernet port.
Attachments:
|
|
|
Post by Admin on Jul 13, 2019 21:41:04 GMT
We have sometimes found that an external power supply is required if some Ethernet shields are used. This needs to be 6V to 9V. The user manual describes how to change to an external supply.
|
|
jimmie
Junior Member
Posts: 86
|
Post by jimmie on Jul 13, 2019 21:46:02 GMT
Thank you for the prompt reply. I will look it up.
Can you refer me to a model that does not require an external supply?
|
|
jimmie
Junior Member
Posts: 86
|
Post by jimmie on Jul 13, 2019 23:13:40 GMT
I powered the board with an external power supply (9V) and re-flashed the code.
The Ethernet shield leds are all on but the shield does not pull an IP.
I tried with two shields, a W5100 and a W5500. Both board pull an IP and work on a Mega.
Is there something I am doing incorrectly?
Thanks in advance for the community's help.
|
|
|
Post by Admin on Jul 14, 2019 9:01:45 GMT
One thing to make sure is that you are using a high quality USB cable. Unlike with the Mega and its full size USB connector, we have found that many microUSB cables cannot supply enough current to run the ShieldBuddy with an Ethernet shield attached.
|
|
jimmie
Junior Member
Posts: 86
|
Post by jimmie on Jul 14, 2019 9:55:18 GMT
Thank you for your help.
I am now powering the board via an external power supply of 7.5V and I am sure it has enough current. The red led next to the USB connector is no longer continuously on like before when I was powering the board via USB.
With the Ethernet shield on the board, I have been able to run other sketches so is this still caused by the USB cable?
Thanks again.
|
|
|
Post by Admin on Jul 15, 2019 8:24:23 GMT
Is this an W5100 or W5500 Ethernet shield?
|
|
jimmie
Junior Member
Posts: 86
|
Post by jimmie on Jul 15, 2019 19:49:37 GMT
I have tried both with a W5100 and a W5500. Both shields had been tested with a Mega and they work.
I also tried the SD sketch and I get an error that SD is not recognized.
This is a brand new board. Could it be that the SPI bus is defective? I hope not ...
Your help is appreciated.
|
|