Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
You will not be able to connect it directly. Better use a level converter IC, such as MAX232 or MAX233, and a microcontrolelr in between the PC and the L293D.
At least even w/o a specific visual Basic interface, you can control the motor via the L293D by just using hyperterminal.
hyperterminal is software for communication via serial port, in Windows 98 you can find it Accesoris->Communiction->hyperterminal
but this is only text mode type and you can send character only, but can not send hex type.
Added after 24 minutes:
how to conect and program serial port to L293D... Thanks!! Ognjen, Serbia
L293D have 4 input, you can direct control with serial port via RTS & DTS pin and control this via software, but must have 2 serial port like COM1 and COM 2
so between serial port and L293 must be conveter RS232 to TTL with MAX232 or ICL232 or MC1449.
Thanks guys... My project was based on pralell port, but then i found out thet my girlfrieds laptpot dont have a paralell prt... and this project i makin for her. Problem is that softwer for this bot must to work undr XP. I made scheme for connectin l293d with serial... first i need only two input pins(for only one motor), secend, there is one problem... dts and rts pins on serial port givin or -12 or +12v always so i figured that i can use some pnp trans... so when i turn on, for exemple rts pin it will feed pnp and it will let power to l293d input pin... that is same and for dts pin... what you think? THANKS!!
/ognjen
if you using microcontrolle for advance, but for simple circuit, you can direct RTS and DTS to PNP transistor and diode to block -12V, so output RTS and DTS voltage is 0 and +12V.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.