Ethernet Drops offline
9V wall wart... is it a switching power supply (aka quality) or just a regular one (the weight is often a hint, with heavy being junky linear or non-switching type).
Yes to the last question.
Not sure after trying to find the specs. It was for Arduino Mega and Uno on Amazon but we know what that means. It is likely non switching. I will replace with better. There is one on Amazon that is switching for about twice the price I paid. It is still on line after 2 days.
I have been seeing some problems at power up on my Mega when using the 5V/3A DIN supply in the order list. If I power the part up after the supply is up then it works ok, but if I have it connected at powerup (AC power switch turned on) the ethernet shield (5100) blinks twice and then does nothing. If I pull the plug on the Arduino and then plug it back in (using the USB plug to connect to the power supply), it will connect and work fine.
It looks like there is something about the powerup of that supply that the Mega doesn't like, or maybe it is just mine. I have tried adjusting the voltage up and down a bit (4.85V-5.05V) and the behavior is the same.
I guess I either need to have a different supply feeding the Mega or maybe a power on delay or such for the mega/5100. I have tried powering via the USB port, 5V terminal, and VIN. All gave the same result. In or out of the DIN carrier didn't matter (I thought maybe the connected circuits were messing something up).
Is it just me? I assume others are using a similar configuration since it is the parts from the order list.
So, my power on theory seems to have played out.
After trying to come up with some complicated way to do it I had a moment of clarity. Placing a cap on the RESET pin will delay the turn on by the internal pull up into the cap. I placed a 4.7uF cap between RESET and GND and now it powers up and works fine.
I haven't looked at it with a scope, but I'm guessing the startup of that power supply isn't as nice as it could be.
I actually solved an aberrant reset problem with an open reset pin on a feather by tying it with a capacitor... seems similar.
I have 9 volt switching PS now. Have twenty five 4. 7 uf Capacitors coming next week (ebay for $3.99) I have attached a diagram of what I think the circuit is.
I know nothing about alot, a little about a lot, but not this lot!
That is what mine has on it now. I have flipped the power switch probably 10 times on it and haven't had a problem yet. If it is polarized (like an electrolytic) make sure the - side is GND.