Electronic – What do I need to drive a servo motor

avrdc motordriverservo

I'm using an Avr microcontroller and I've been wanting to build a simple robot, for some time now, from scratch.

In every robotics project I have seen, seem to have a separate board driving the servos and I want to know what that board doEd different and how could I make one from scratch.

I think it might be called a motor driver (I'm a novice); so why can't I just run the servo from the microcontroller – I assume it's something to do with power.

Ask any questions if anything is too ambiguous.

EDIT:
Every reference to servo is to a servo motor.

Best Answer

“I assume it [inability to run servo directly from mocrocontroller] has something to do with power.”

You’ve probably answered your own question. Most motors useful for robotics consume more current than a microcontroller pin can source or sink. (Unless, you’re building a micro-miniature robot.) As a result, the motor requires a power driver, such as H-bridge made with power transistors. For an example of an integrated H-bridge driver, see L298 (dual H-bridge) and A3966 (application note).