EEnewbie

Member Since: April 3, 2009

Country: United States

  • Tutorial - Controllable Power Outlet | about 5 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 :(