Arduino Uno disconnects when operating the relay or valve sometimes


That’s interesting…Ethernet.Maintain() just renews a DHCP address so it sounds like you might have some IP address conflicts. You should check your network for static IP addresses.


Sorry @adam it seems that what I mentioned before was not correct and the issue wasn’t solved.

Actually, I designed my own IOT platform, almost finished everything.



As a side note to anyone reading this thread, if you’re trying to activate a relay or other device from an arduino board, remember the current limitations of the board. If you exceed current limits, the voltage regulator will go into to protection mode and will cut output power and/or hang the cpu causing you to lose connection. I witnessed this myself with an uno that kept dis-connecting and I had to reset or power down/up.

Just Sayin.