L-293 and Prop Chip
mikediv
Posts: 825
Hi guys I have been working with the L-293 motor control chip I have it working fine with the Basic Stamp 2 but when I try to use it with a prop it does not work let me explain its very easy what I am doing here is the schematic I am only controlling one motor so I do not need to connect pins 9,10,11,12,13,14,15 of the L-293 .. With the prop chip I can not pull any of the lines,"enable" or the control lines" 2 and 7" low or high.. with the stamp I can pull them low or high but with the prop the enable line is high no matter what and even though I know for a fact I am setting the prop pins low "dira[noparse][[/noparse]0]:= outa[noparse][[/noparse]0]:= 0 the enable pin stays high. and the other control pins are not affected by what I set the prop pins to be either ???Like I said with the Stamp chip I can pull the L-293 pins high or low and the motor will change direction
Am I suppose to use pull up pull down resistors with the prop chip? I have tried the Prop Proto board as well as the USB Prop Stick , if I disconnect the L-293 I can see the prop pins toggle high low on my scope can anyone tell me what gives?
Thanks guys
Am I suppose to use pull up pull down resistors with the prop chip? I have tried the Prop Proto board as well as the USB Prop Stick , if I disconnect the L-293 I can see the prop pins toggle high low on my scope can anyone tell me what gives?
Thanks guys
Comments
Here's a schematic that works fine. Let me know if you need software to go with it.
Jim
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Shouldn't dira[noparse][[/noparse]0] be set to 1, not 0, to make it an output?
MacGeek117
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
BS2: $49
SX48 Protoboard: $10
Propeller Protoboard: Priceless
www.apple.com
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.jameco.com
Kye that's a thought but I am using exact same voltage as Basic Stamp2 9 V for the Prop +5 for the L-293 and 9V for the DC motor
Mynet43 thank you for the schematic I would be very thankful for any software you could include.
Thanks guys as it stands I still can not get the prop to work properly with the L293 just can not figure it out I will try Mynet design and see where it goes thanks everyone
Oh Duh Mpark you are correct I made a typo it is correct in my circuit and sample program I set P0 to an output 1 and set the output to 1 , I have also tried setting it low to see if I could disable the L-293 for some reason even though my prop pins will toggle high or low on my scope
when disconnected from the L-293 when connected enable is pulled high no matter what prop says and the its the darnedest thing
Post Edited (mikediv) : 11/17/2009 12:47:56 AM GMT