# Ball finding arm

**URL:** <https://forum.arduino.cc/t/ball-finding-arm/1209211>\
**Category:** General Guidance\
**Created:** [January 10, 2024, 2:21am UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211 "2024-01-10T02:21:52Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![atchc](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/atchc/32/972571_2.png) [@atchc](https://forum.arduino.cc/u/atchc)\
**Post date:** [January 10, 2024, 2:21am UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/1 "2024-01-10T02:21:53Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![lastchancename](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/lastchancename/32/215426_2.png) [@lastchancename](https://forum.arduino.cc/u/lastchancename)\
**Post date:** [January 10, 2024, 2:33am UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/2 "2024-01-10T02:33:42Z")

</div>

**What’s a ball finding arm ?**

I had to get a girlfriend first.

---

<div class="post-metadata">

**Author:** ![Railroader](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/railroader/32/274550_2.png) [@Railroader](https://forum.arduino.cc/u/Railroader)\
**Post date:** [January 10, 2024, 2:34am UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/3 "2024-01-10T02:34:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![horace](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/horace/32/1014299_2.png) [@horace](https://forum.arduino.cc/u/horace)\
**Post date:** [January 10, 2024, 8:54am UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/5 "2024-01-10T08:54:13Z")

</div>

avoid activating both ultrasonic sensors at the same time their signals will corrupt each other  
also have a look at [laser TOF sensors](https://www.pololu.com/category/306/carriers-for-st-time-of-flight-tof-distance-sensors)

---

<div class="post-metadata">

**Author:** ![atchc](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/atchc/32/972571_2.png) [@atchc](https://forum.arduino.cc/u/atchc)\
**Post date:** [January 18, 2024, 2:53pm UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/6 "2024-01-18T14:53:26Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Railroader](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/railroader/32/274550_2.png) [@Railroader](https://forum.arduino.cc/u/Railroader)\
**Post date:** [January 18, 2024, 4:07pm UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/7 "2024-01-18T16:07:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [January 19, 2024, 6:18am UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/8 "2024-01-19T06:18:59Z")

</div>

Duplicate topic.

> [@Ball finding arm](https://forum.arduino.cc/t/ball-finding-arm/1209211):
>
> 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?

---

<div class="post-metadata">

**Author:** ![Coding\_Badly](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Coding\_Badly](https://forum.arduino.cc/u/Coding_Badly)\
**Post date:** [January 19, 2024, 6:24am UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/9 "2024-01-19T06:24:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [January 19, 2024, 8:09am UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/10 "2024-01-19T08:09:15Z")

</div>

> [@atchc](#):
>
> Im building an arm finding ball and need to somehow code it.

> [@atchc](#):
>
> I’m making a ball finding arm using Ultrasonic sensors and using stepper motor.

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.. 😀 👍 ☕ 🇦🇺

---

<div class="post-metadata">

**Author:** ![atchc](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/atchc/32/972571_2.png) [@atchc](https://forum.arduino.cc/u/atchc)\
**Post date:** [January 19, 2024, 1:35pm UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/11 "2024-01-19T13:35:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [January 19, 2024, 2:29pm UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/12 "2024-01-19T14:29:08Z")

</div>

> [@TomGeorge](#):
>
> Is the ball stationary or moving?  
> Is it in the air or on a surface?

Tom... 😀 👍 ☕ 🇦🇺

---

<div class="post-metadata">

**Author:** ![atchc](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/atchc/32/972571_2.png) [@atchc](https://forum.arduino.cc/u/atchc)\
**Post date:** [January 20, 2024, 4:50pm UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/13 "2024-01-20T16:50:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 18, 2024, 4:50pm UTC](https://forum.arduino.cc/t/ball-finding-arm/1209211/14 "2024-07-18T16:50:47Z")

</div>

Closed on July 18, 2024, 4:50pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
