i am using one adapter (12vDC 2A) i want to be able to power led strip with it plus the control circuit the problem is that the atmega328 reboots but when i only powers up the led strip with that adapter and power the control circuit with a independent 5v adapter every thing seems to be alright but i cannot do that in real world i need to get advantage of the same adapter i attached a picture of what i am doing right now help me to fix this i am using 7805 regulator to reduce the 12v to 5v

enter image description here

  • How much current does the LED strip use?
    – ocrdu
    Nov 14 '20 at 15:29
  • What do you mean by "the Atmega328 reboots"? When exactly does it reset? And have you tried putting a big capacitor between the power lines of the LED strip? Changing the strip state also influences the power draw. When the strip suddenly draws way more power, the power supply might produce a short dip in voltage, which you can smooth out with that capacitor
    – chrisl
    Nov 14 '20 at 15:31
  • And what kind of strip are you using? How exactly are you controlling it? Please show your circuit.
    – chrisl
    Nov 14 '20 at 15:32
  • what exactly is your question? ... you did not actually ask one ... more than one question could be asked
    – jsotola
    Nov 14 '20 at 18:39
  • easy: you need a dc adapter with more amps.
    – dandavis
    Nov 14 '20 at 20:21

Why not use the barrel input connector and input 12VDC there, the filtering etc on the board will help. Also as dandavis stated you need a bigger power supply or remove about 1/2 of your LEDs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.