Robot (controlling motors with computers)

Click For Summary
To create a small robotic arm and control program, foundational knowledge in robotics is essential, particularly in programming and hardware selection. Starting with C++ is beneficial, but expanding skills to include assembly language or NC code may be necessary for more precise control of stepping motors. Resources such as robotics courses and textbooks can provide structured learning. Researching material mechanics, dynamics, and control theory is crucial when assembling a robot from scratch. The discussion also highlights the use of LEGO Mindstorms as an accessible platform for beginners, with practical examples of programming an RCX robot to follow a course using sensors and motor controls. This approach emphasizes hands-on experimentation and iterative learning to enhance understanding of robotics.
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.
 
Computer science 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:
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
8K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
10
Views
3K