Hi
David,
My
experience with motors stretched to driving servos in the
main.
I also
experimented with driving a stepper motor with the OOPIC.
And
driving other motors through a motor driver module based on the IC
L293D.
Can i
even remember how i did it now ? ......... :)
I
never did try to control *6* motors at a time :)
Are
you saying it is possibly faulty ? Or did they ever drive ?
Are
you able to address any motor, even in a simple piece of code
?
I was
guided by Dennis Clarke's advise in the early days of the OOPIC.
He
published an excellent book on programming the OOPIC.
I
guess he still has the book for sale as a PDF
online.
The
basic principals say you set each motor up on an output port and change the
condition on that port to either
drive
or stop the motor. It would be addressed through a motor driver of
some kind (IC or module. possibly ).
I
thought of it as setting bits in a control
register , the combined output bits being a 4 bit port - for a 4 motor setup.
All
motors off -> send 0000 as the value to the register
All
motors off -> send 1111 as the value to the
register
Any in
between scenario requiring you to define a logical value to do what you want,
presumably based on inputs /feedback
from
sensors/switches. Or ramdomise a value to make it look
silly/drunk/indecisive... :)
Presumably for 6 motors you would use 6 bits of an 8 bit port, write
to the six bits that are set to drive the motor, ignoring
the
state
of the other bits 7 & 8.
Did
you build the model from your own design or from a kit ?
Do the
suppliers provide any tutorials/support on line ?
Regards
Denis