Pages: [1]   Go Down
Author Topic: How to Control a Parallax Brand Continuous Rotation Servo?  (Read 1323 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok so before I knew how to use an Arduino, I was teaching myself how to use C language with Parallax's Basic language.
So now that I know how to use an Arduino I would like to use Parallax's BOE-Bot Setup to make a robot that runs of an Arduino...
The problem is how to control the servos on the BOE-Bot...
In the second link, page 1, it shows a schematic with the servo connected like this:


So what I want to do is make the servo go both forward and backwards.
But the Schematic above shows a single wire to control the servo... and yes, I know the servo can go both ways.
Also in the second link, page 4, it shows how to communicate with the servo but i don't understand what it means...

Can anyone help me out?
Logged

As always... Thanks for posting!!!

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26495
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Use the servo library.
The ex-servo should be stopped around 90 "degrees".
The ex-servo will move in opposite directions either side of the 90 "degree" point.
For finer control, use the "writeMicroseconds" method.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Pages: [1]   Go Up
Jump to: