Ball finding arm

I’m making a ball finding arm using Ultrasonic sensors and using stepper motor. How can I use the sensors to send information to tell the stepper motor where to go?

What’s a ball finding arm ?

I had to get a girlfriend first.

Use a microcontroller to read the sensor and a driver to move the stepper.

avoid activating both ultrasonic sensors at the same time their signals will corrupt each other
also have a look at laser TOF sensors

Im building an arm finding ball and need to somehow code it. I’m using ultrasonic sensors to measure distance and trying to figure out how to use the sensors to send information to a stepper motor which will move to a x y coordinate. Any suggestions on how to code this?

Start by making test code that exercises the stepper.
Make test code reading the ultrasonics.
Then You can look at sonics figures and create some formula, and code it.

Duplicate topic.

Threads merged. @atchc, please do not cross-post.

Two totally different projects.

Which is it an arm finding ball, or, a ball finding arm?

Is the ball stationary or moving?
Is it in the air or on a surface?

Thanks.. Tom.. :grinning: :+1: :coffee: :australia:

Sorry about the confusion. I’m making an arm that will have the main objective of finding a ball. I am trying to learn how to code it. My initial idea was that I could send information from the sensors to the stepper motor. If this is possible to do, can you tell me any way on how I should start to do it.

Tom... :grinning: :+1: :coffee: :australia:

It is stationary. My objective is to let people put a ball in a specific square/circle and the arm to be able to get to it.