problem with Robot arm

EngOmaradel report abuse

1-iam using a dc motor on the shoulder of the robot's arm

2- iam using ultra sonic with a servo motor to Calculate the distance and find a container
3- the problem is how to let he dc motor moves to the place where the ultrasonic and the servo is looking at and stop at this point Automatic
need help with that
 

Answers

WeepingAngel report abuse

Hi,

I'm assuming you're not goign to use super expensive DC stepper motors, which will position themselves accurately (and then the problem is just maths).

If you're using cheap motors then what you need is a shaft encoder, to find out what angle the motor has currently turned. Arduino supports lots of different encoder (http://playground.arduino.cc/Main/RotaryEncoders) as this is a standard problem in SLAM robotics (the mobile robot needs to how far it has moved).

here is an easy tutorial explaing how to read one out: https://www.ez-robot.com/Tutorials/UserTutorials/189/1

Here is also information on how to control a robot arm with different encoders:

http://www.robotoid.com/appnotes/electronics-arm-control-circuitry.html

I hope that helps.

Himanshu_S report abuse

As you are using DC motor, you cannot program it by taking time into consideration. You need a feedback system for that as it has effect of gravity. If you are interested in the cheapest solution then, i would suggest you to use potentiometer at the shaft of your dc motor and take the input of potentiometer to an analog pin of the micro controller and program it accordinly i.e at particular angle it will given a particular voltage and so on.

Add Answer

Need support?

Just drop us an email to ... Show more