Hi,
I created a small project that controls servos using a joystick through an Arduino Uno board. My code compiles and uploads to the board without any problems. However, once I power on the servos (using a 9 volt battery), they jitter for a few seconds before completely dying. When I disconnect the 9 volt for about 30 seconds and reconnect it, the servos do the same thing. I have no idea what is going on here.
I think its also worth mentioning that I had built this project about 6 months ago but its been sitting around since then. When I first powered on the Arduino and servos today, it functioned as it did 6 months ago. But I uploaded a new code to the board, which didn't work as planned, so I RE-uploaded the code that was previously on the board (from 6 months ago) since I still had it on my computer. After doing that, I started having the issues. I have updated the IDE since but it has not helped.
It acts like the 9 volt battery is drained and that causes the issue of servo failure but I've checked the power and the battery has a good charge so this likely isn't it. As I said, the code, which is the same code that worked fine 6 months ago, still compiles and uploads to the board just fine, as it did before, but for some reason I am now having all these problems.
Maybe the servos have gone back since i last used them? Maybe the battery connection is messed up? I'm open to any suggestions.
If anyone has any idea as to what the issue could be I would really appreciate any help.