a potentiometer has 3 wires, an electric motor has 2 wires, to make a servo you need to put them together.
a standard servo has 4 wires.
the arduino servo library can interface with a servo with out a problem.
how do i wire the potentiometer and the electric motor together to get the 4 wires i need out of the setup?
shaneshuford:
a potentiometer has 3 wires, an electric motor has 2 wires, to make a servo you need to put them together.
a standard servo has 4 wires.
the arduino servo library can interface with a servo with out a problem.
how do i wire the potentiometer and the electric motor together to get the 4 wires i need out of the setup?
Afraid it's not that simple, the servo also contains something like a tiny microcontroller to convert the servo position pulses coming from the sender (arduino servo library) into a resistance value it must match on the potentiometer that is connected to the output shaft. It turns the motor forward or backward until potentiometer value matches target value.
The electronics are unlikely to be a microcontroller in anything but the more expensive servos, but yes, there's more to it than a pot, some gears and a motor.
thanks for the link. great read!
i googled like crazy trying to find custom homemade servos, and could only find people do little hacks where they wired a new motor up to an existing servo they took apart.
i took apart a cheap 9g servo i had and found that there is more to it than the motor and pot. i'm willing to invest the funds into the parts needed, and can custom make the gears, and poly cast my own case.
the chip in my servo has 16 pins. any idea what it could be? the servo is 9g so its super small.
Another possibility is to use a common H-bridge for the motor, a pot connected to the shaft, and do the rest in softare on your Arduino
Like this: http://letsmakerobots.com/node/1524
does this need a speed controller?
this is a good idea, any idea how one would build this on their own?
again, i can purchase the parts, etch my own pcb, etc.
ULN2003 $0.45 part, to drive a stepper motor?!
anyone have detailed wiring for the arduino?
and will this ULN2003 chip work with the arduino stepper library?