Using ULN2008 to control 4 motors
kenwtn
Posts: 250
HI All,
··········
I have a robotic arm that has four motors controlling the different movements. I really can't tell you too much about how the motors are wired since I do not have schematic. This is what I do know is running from the robotic arm to the motion controller are 8 wires. I have tested the wires and found that 2-wires is not connected to anything, then 4-wires one connected to each motor, and then the remaining two wires control direction of each of the motors. It appears that the two wires simply reverse the polarity to the motor. When I touch one of the control wires to a motor wire the motor goes one direction and then when I touch the other control wire to the same motor wire the motor runs in the reverse direction.
·· OK, my basic stamp has its own power source and the robotic arm has its own source of power. Is it possible to use the UNL2008 to control these motors? If so can anyone show me a diagram of how to do this?
·
Thanks In Advance
··········
I have a robotic arm that has four motors controlling the different movements. I really can't tell you too much about how the motors are wired since I do not have schematic. This is what I do know is running from the robotic arm to the motion controller are 8 wires. I have tested the wires and found that 2-wires is not connected to anything, then 4-wires one connected to each motor, and then the remaining two wires control direction of each of the motors. It appears that the two wires simply reverse the polarity to the motor. When I touch one of the control wires to a motor wire the motor goes one direction and then when I touch the other control wire to the same motor wire the motor runs in the reverse direction.
·· OK, my basic stamp has its own power source and the robotic arm has its own source of power. Is it possible to use the UNL2008 to control these motors? If so can anyone show me a diagram of how to do this?
·
Thanks In Advance
Comments
You need to determine if you have conventional DC motors or Stepper motors.
The UNL2008 will control some stepper motors and change direction. It has only 7 circuits, so it cannot be used for two motors [noparse][[/noparse]you would need the UNL2308 with 8 circuits]. It is also limited to 500ma total. Any more and it will self-destruct.· So you need to measure the resistance of each motor and calculate the current draw.
For conventional DC motors to change direction, you require an H-bridge.
I have difficulty following your count and descriptions of the number of wires and how change of direction is achieved. Obviously when you say two wires are connected to nothing, that seems highly unlikely. They would at least be chassis ground shielding. All wires need to be accounted for in order to really achieve anything reliable. There is the possiblity that diodes are being used and some wires would read 'dead' or unconnected in one direction of polarity, but would actually show a connection when the polarity is reversed
AS I read you....
4 wires go to one motor each. 2 wires go to all 4 motors, but cause a change in direction when power is shifted from one to the other. 2 wires are connected to nothing.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
I hope this helps better explain what I have.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
But 8 wire ribbon cable isn't that common either. The standard connectors go down to 10 wires.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan