Robot (controlling motors with computers)

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
GiTS
Messages
132
Reaction score
0
I want to make a small robotic arm and control program like the kind schools use to teach kids about robot arms. I need alittle guidance though, I only know how to use C++ to say "hello world!". How would one go about making a computer program to control a stepping motor? And how do I choose control chips etc? I guess what a really need is a from-the-ground-up way to learn robot making.
 
Physics news on Phys.org
Try getting the material for a robotics course, and self teach. If your trying to assemble it from scratch you will need to do reasearch into material mechanics, dynamics, and control theory. I'd think the language to control robotics would closer to assembly , or NC code.
 
How about Mindstorm's Lego Bot stuff?

lego mindstorms rcx

http://mindstorms.lego.com

At my previous company, we messed with the lego bots. The goal was to get a RCX to follow a course using it's light sensor and motor control inputs to follow the edge of a medium dark tape and stop or u-turn on a very dark tape (I used velcro for the very dark tape). By standing the RCX on end, yaw mometum was greatly reduced, allowing for the fastest bot in the group, about 40 cm/sec on the straights of the larger track, yet able to follow some tight turns (given wide enough tape), and uturn (1 dark stripe) or stop (2 dark stripes) very quickly. "Grey" tape was used to create a wider "edge" to follow on the long straights, which let the motors run full speed with reduced corrections. The smaller wheels are in the "back". Some pics:

lego01.jpg
lego02.jpg
lego03.jpg
 
Last edited: