Hello and Welcome! If you have a technical question please check out our Forums. If you have an order or shipping question please refer to our Customer Support page. Please see all COVID-19 updates here and thank you for your continued support.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
April 3, 2009
Tutorial - Controllable Power Outlet
about 11 years ago
Hey, I'm using this relay with an atmega168, but I'm having a problem. The device I'm powering is 120vac, so both it and my chip are powered from the same device (yes, I use a regulated power supply to get the 120ac down to 5v dc).
my question is, I have the relay close the circuit right when you plug it in, but as soon as my code stops powering the coil and it clicks off, about 80% of the time the power to my chip goes out and the thing reboots and starts over. The power led on my power supply circuit actually goes out for a second, then the whole thing starts over. What am I doing wrong here?
This is actually the 2nd time I've built this circuit with the same problem.
No public wish lists :(