0

I am going to mount an ultrasonic sensor on the servo.

migrated from electronics.stackexchange.com Nov 7 '16 at 16:30

This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.

  • Please post a link to the servo you intend to use. – gbulmer Nov 7 '16 at 3:03
  • The data pin you can drive directly from an arduino. The power, you have to drive from something better. – Bradman175 Nov 7 '16 at 3:28
  • 2
    What does a sensor have to do with the question? And for that matter, what is the question about? Connect what to what? Are you talking about the power or the signal? – Bort Nov 7 '16 at 3:36
5

The Arduino's GPIO pins can drive the signal of most model servos directly, without any extra transistors.

Driving a model servo signal input is not the main problem with driving servos from an Arduino.

The main problem is trying to use the Arduino's power supply to power the model servo. With many model servo's, the amount of current the model servo needs to start, or when it is almost stopped is so big that the Arduino's power supply can't maintain 5V. As the Arduino's power supply voltage drops, the Arduino often gets reset, and the program restarts from setup.

  • You need a supply that can deliver current spikes and longer durations of higher current. Using capacitors may help for the spikes. – Paul Nov 7 '16 at 18:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.