I have the following Positional Servo basic setup and it recently stopped working after 2 weeks. The motor would switch from rotating from 0 to 90 degrees every minute the past 2 weeks like a switch. However, I found it frozen this morning and the Arduino LEDs were flashing fast and both motor and Arduino were warm. Then I unplugged the power and powered it on again and Arduino started producing smoke. Now it won't turn on. How do I prevent this from happening in the future? I want it to run 24/7 as an automation device. Please advise! I'm pretty new to this
Loose cables? Should I power servo separately?
12V DC Wall Plug -> Arduino -> 5V Power -> Basic 9G Positional Servo
If I switch to a 5V USB or DC power charger, can I still use the Arduino as a power supply for the servo? Or are you saying that even* in that case, the onboard 5V pin can be overloaded in extended 24/7 operational cases like this?