Hey everybody I'm an electronics student working on a final project for graduation. I am trying to learn the basics of the Arduino Uno and I was able to drive a small Technic continuous running servo using the write functions out of pin 9.
I want to begin driving multiple servos and want to begin using transistors to turn them on, my only confusion lies in the PWM of the servo control module. There are 3 pins on the servo control -- orange, white, and black.
-Orange: Power
-Black: Ground
-White: PWM for control
I am using 3904 NPN transistors. My question is, should I be using the 3904 as common collector or common emitter? And can i drive the PWM (white) pin of the servo control directly from the arduino (pin 9)? If so I imagine orange (power) pin of the control module would go to the transistor?
I wanted to use say pin 10 to turn on or off the servo, and pin 9 as the PWM control pin to control servo direction and speed.
This is what I am envisioning (attached schematic).
Is there an easier way to accomplish this? Any information or advice is greatly appreciated.
-Matt