Society of Robots - Robot Forum
|
Robot Tutorials
|
FAQ
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Squirrels have fuzzy tails.
Home
Help
Search
Login
Register
Society of Robots - Robot Forum
»
Software
»
Software
»
$50 robot programming help
Print
Author
Topic: $50 robot programming help (Read 4514 times)
0 Members and 1 Guest are viewing this topic.
MasterRyko
Jr. Member
Posts: 9
Helpful? 0
$50 robot programming help
«
on:
June 20, 2007, 09:56:28 AM »
Instead of having two servo motors, I have one servo motor in the front and one regular motor in the back. I was wondering if anyone knew any good code that could help me with these two kind of motors. Thanks!
Logged
rgcustodio
Robot Overlord
Posts: 217
Helpful? 0
Use "Search" and ye might find answers!
Re: $50 robot programming help
«
Reply #1 on:
June 20, 2007, 11:09:27 AM »
You can drive the servo with minimum code and electronics, you just need to be able to create a pulse that is x milliseconds in width.
For standard DC motors you need a continuous current running to the motor which your MCU might not be able to provide or handle. That is why most DC motors require H-bridges. When you have an H-bridge running the motor is as simple as generating a PWM signal. So your first priority is sticking an H-bridge to your robot if it doesn't have any yet.
Search and read the forums:
http://www.societyofrobots.com/actuators_dcmotors.shtml
Logged
The best thing one can do when it's raining is to let it rain. - H. W. Longfellow
understanding is the path to enlightenment
Admin
Administrator
Supreme Robot
Posts: 11,703
Helpful? 173
Re: $50 robot programming help
«
Reply #2 on:
June 27, 2007, 07:35:09 PM »
I'd recommend just buying a motor driver (that has an
H-bridge
already done for you). It'll save you tons of time.
(I know because I started motor control back when motor drivers were really expensive)
Logged
subscribe to SoR's YouTube account
Print
Society of Robots - Robot Forum
»
Software
»
Software
»
$50 robot programming help
Get Your Ad Here
data_list