Rickharris
Senior Member
One of the issues in using a picaxe 08/ L293 combination on a robot is that the motor control uses 4 outputs from the Picaxe 08 and so you only have a single input as a touch sensor, this does not allow for left - right sensing.
BUT if you pair up the reverse function onto a single bit (you don't generally need to steer when reversing) you can free that bit to allow left and right sensing.
The diagram below shows Bit 0 , 1 Forward left and Right and output 2 is reverse.
BUT if you pair up the reverse function onto a single bit (you don't generally need to steer when reversing) you can free that bit to allow left and right sensing.
The diagram below shows Bit 0 , 1 Forward left and Right and output 2 is reverse.
Attachments
-
33 KB Views: 290