Author
Topic: Having trouble with motors?! (Read 820 times)

Right, not sure if this is in the right section, but I'm not sure where the problem lies yet?!

Heres the issue, I'm a total beginner, but I'm not afraid to spend a long while researching things before I try them out....Google really IS my friend!!

I have an Arduino Romeo, and try as I might, I cant find a sample script to test the onboard motor driver that actually works! I have run many test scripts on the board for LED and servos, so I know the board is ok, and I've tested both motors on the battery that I'm running the board with. All the components are within specs for the board, and all the jumper settings on the board are in the correct positions, but still no life from the motors?!

I'm trying to learn to code, but until I can find a working code to experiment with, I'm going to find it really difficult!!

LED's I've got the hang of, servos too, but I need to learn motor control before I can get any furter with the Bot project I'm working towards!

Can someone point me towards a small script, that simply spins both motors, nothing too complicated, no sensors or servos involved, it just needs to turn both motors, because I cant find one that works anywhere?!

I'm basically just taking the whole computer thing out of the equation, and just moving the motors forward, then pausing, forward, then pausing. Etc. I wouldn't run that program too long (motors might get hot... I dunno), but it still could be useful.

How you have everything hooked up would be nice to know too. (Although since I've found the manual it looks pretty straightforward on how to hook them up lol)