continued from page 7
using a microcontroller to do the counting as he manually
rotates the motor shaft through, say, 100 revolutions and
then divides the total count by 100. This evens out any
errors in finding the zero position of the motor shaft which
would be a problem if he tried to count only one
revolution.
One last thing. While red+/black- is the usual power
wiring for this type of device, there are variants, especially
in custom devices — sometimes they obfuscate the wiring
on purpose. Sam should put a 1/4 watt resistor of perhaps
100 ohms in series with the power (red) lead and slowly
ramp up the voltage across red and black to about 5V. This
will limit the current to 50 ma and the power to 1/4 watt
in the event the power wiring is incorrect and he ends up
driving a short or near short. The encoder should be able
to survive reverse voltage if current is limited to this 50 ma
level; for a few seconds at least. If the circuit draws more
than 25 ma with less than, say, two volts across red to
black, he needs to disconnect power and re-evaluate.
Mark Lewus
Looking for a GIFT or maybe just something
special for yourself?
Check out the SERVO Webstore (pages 71-73) to
find all sorts of cool robotic items for sale!
Extreme Robot Speed Control!
Sidewinder
14V - 50V - Dual 80A H-bridges - 150A+ Peak!
Adjustable current limiting
Temperature limiting
Three R/C inputs - serial option
Many mixing options - Flipped Bot Input
Rugged extruded Aluminum case
$399
4. 25" x 3. 23" x 1.1”
RC Control
BotsIQFavorite!
$39.99
$159.99
Scorpion Mini
$104.99
2+ price
Scorpion XXL
2.5A (6A pk) H-bridge
5V - 20V
Dual 20A H-bridge 45A Peak!
5V - 28V
Scorpion XL
Dual 13A H-bridge
5V - 28V
1.6” x .625” x 0.25”
2. 7“ x 1.6” x 0.75”
2. 7“ x 1.6” x 0.5”
Introducing Dalf
Closed-loop control of two motors
Full PID position/velocity loop
Trapezoidal path generator
Windows GUI for all features
$250
Giant Servo Mode!
C source for routines provided
PIC18F6722 CPU
See
www.embeddedelectronics.net
H-bridges: Use with Dalf or with your Micro/Stamp
$219
OSMC
Monster power!
14-50V 160A!
3. 15”x4.5”x1.5”
3 wire interface
Simple-H
6-28V 25A!
2. 25”x2.5”x0.5”
3 wire interface
current & temp
$79
protection
We also do consulting!
MADE IN
Give us a call for a custom
motor control to meet your
exact needs
www.robotpower.com THE USA
Phone: 253-843-2504
sales@robotpower.com
SERVO 07.2009
37