Hey, I am using arduino mega 2560 for my project, and when I connect it through the 9v dc battery it behaves abnormally, that is the servo connected to it(programmed to sweep continously) works for a interval and stop and again same, although when I connect it through dc adapter of 12v 1.5 A rating it works perfectly normal. Help troubleshooting this problem
There's possibly not enough juice for the 9v battery to power the mega and servo you can try two 9v dazy chained together red, red, black, black 2x the juice. I have a mega r3 2560 run off a 9v battery with a LCD screen. Try to run a 9v battery with only the mega connected and try a led too
