@Jimbo…All of the servos I have are conventional servos that rotate that do rotate from 0-180 degrees. The only place that will require continuous rotation will be at the base and I have a NEMA 17 stepper motor to handle that.
@MarkT…I wasn’t asking for comment on the LM317 circuit because like I said, I went by the LM317 datasheet. So you read that I am using common grounds (which would indicate research), then make other assumptions that I’m not doing research? Contradictive…
@RetroLefty…The only reason why I even tried a 9V battery was because in my research I have seen a few people rotate their servos successfully by using a 9V battery); while saying the 9V was only being used for demonstrations purposes. If the 9V was the problem, then why will the servo not operate under 31V/3A power brick? Granted the LM317 is only rated for 1.5A, it’s still 3x the amperage of a USB. And I did forget to mention that one thing I did try was unplugging the Uno from the USB port and using a 9V battery to run the Uno and the servo… while it did take a few seconds to get started, after that everything operated fine. I know I could have blown the Uno up and that’s why I didn’t try it on the Mega.
I do not want to use the 5V rail, a 9V battery, AA’s, or anything else besides the 31V/3A (with a different voltage regulator circuit when I try to run all of the servos) on a permanent basis. During the final stages of the project, after everything is up and running and all the bells and whistle have been added, I’ll be able to calculate the requirements for a LiPo or other more appropriate battery.
Since the servo runs fine on the 5V rail, but no other power source I’ve mentioned…that tells me that the Arduino software and libraries running fine and no corrupted data, there are no obvious issues with the Uno, Mega, or my laptop (Dell Latitude E6520 Win7 x64), and a whole list of other things I’m able to cancel out as possible reasons. One power source I didn’t try was using a different surge protector or one of the two UPS battery backups I have.
Heck…might as well head to the garage and grab some jumper cables! lmao I’m well aware of the weakness of alkaline batteries and the 5V rail. And it all would make sense if the servos worked on the HP power brick (which then I wouldn’t even need those others). I asked one of the Elec Eng professors if I could put it on a scope, but I have to wait two weeks until finals are over before I can check the quality of the power brick.