Distance and Servo HELP!

Hi all,

I am new to working with Arduinos, but I have set up a distance sensor and a servo to the Arduino.

I am querying how to connect the two together.

I want to have the servo change when a person is close to the distance sensor.

Any help is needed.

Code and diagrams please…

Cheers

Hi,

There are some examples available online (link-1 / link-2) for such project.
You need to acquire the distance information and trigger the position based on that value.

:slight_smile:

Thanks

DiaLFonZo

I’ll try these out.