L292 DC motor driver

247 views
Skip to first unread message

JuampaBlotoledo

unread,
Apr 11, 2010, 6:11:39 PM4/11/10
to Pinguino
Hola, hace poco compré un par de drivers L292 sin saber qué tan
difícil iba a ser utilizarlo, cuando leí el datasheet me di cuenta de
que todo era realmente confuso, y no sé cómo conectarlo al Arduino
(Aún estoy construyendo el Pingüino), me gustaría saber si alguien
sabe qué clase de señales recibe el L292 por cada pin para poder
controlar motores DC.

Gracias a la comunidad.

Hi, little time ago i've bought a pair of monolithic drivers L292,
without the knowledge of how hard to use is that IC, when i read the
datasheet i realize that everithing about it is really confuse, and i
don't know how to connect it to the Arduino (I'm haven't finish mi
Pinguino yet), i would like to know if someone knows the type of
signals i have to use for each L292 pins in order to control a DC
motor.

Thanks to the comunity.

Juan Pablo Toledo

Benoit Espinola

unread,
Apr 11, 2010, 6:49:41 PM4/11/10
to pingui...@googlegroups.com
Hola,

I've had some experience recently controlling motors and it's really tricky… My advise (from the experience I had trying to build myself a motor controller) would be for you to try to find a module that is ready for use (this doesn't mean it's easy to program it, it just means that all the electronics is done and done in a way that it should work - and still I had some problems with ready made modules)… Unless your aim here is to learn how to design a controller yourself…

What kind of motor you wish to control? How many volts and amperes do you need?

From what I read in the datasheet, it seems that the L292 is intended to be used together with the L291 and L290… From what I understood they treat the signal in a way that the L292 will understand… (I didn't read the datasheet in deep details though, it's quite late here and I am a little bit tiered)

The L292 is an H-Bridge chip and its function is to set how the motor is powered… And this would make the motor turn clockwise, stop, lock it or anti-clockwise…

The L290 seems to read the encoder data and send it to the microcontroller Pinguino (or some other, like Arduino)… But it also sends the data to the L291 (in the DAC i/o)

The L291 seems to treat the signal from the 290 and the microcontroller to send instructions to the L292…

I found this document that might help you :
http://www.ing.unibs.it/~cassinis/Dida/evergreen/robotica/famiglia%20l290.pdf

You are here working with some pretty high voltage and amperage, at least from the microcontroller perspective, there is a risk for the microcontroller to burn (mainly with motors). You might therefore consider to isolate the two circuits (the one from the microcontroller and the one from the electronics controlling the motor)… To do so, you might need to use optocouplers or transistors/mofsets… (I would personally use some good reliable and performant optocouplers)

I hope this got some useful informations,

Best Regards,

Benoit

> --
> Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Pinguino.
> Pour envoyer un message à ce groupe, adressez un e-mail à pingui...@googlegroups.com.
> Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse pinguinocard...@googlegroups.com.
> Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/pinguinocard?hl=fr
>

jp mandon

unread,
Apr 12, 2010, 3:50:27 AM4/12/10
to pingui...@googlegroups.com
Hola,

I think the L292 is not the good chip to drive a standart motor. This chip receive in input a voltage wich directly control the output current to the motor. This input signal can be positive or negative signal. Generally those chips are used in positionning systems where the motor is driven to reach a selected position.  So the microcontroller compute the good position, receive informations from a TTL encoder and control the motor current to reach the good position.
If you want to test it, wire a card with the informations in the datasheet, put a potentiometer on the Vi input ( beetween 0 and 5 V ) and try 1V first to power your motor.
I thik a cheaper and simplest solution is to use a PWM output and a mosfet transistor as BUZ100 or equivalent.

If you want to use a module chip, you can see the L293 for example and a very cheap equivalent the L293NE004 from texas instruments.

If you want to drive a stepper motor, try the L6208 or SLA7062.

Regards


2010/4/12 Benoit Espinola <benoite...@gmail.com>

Wim Heirman

unread,
Apr 12, 2010, 3:57:22 AM4/12/10
to pingui...@googlegroups.com
Hi Juan Pablo,

You could have a look at this page:
http://www.dwengo.org/tutorials/light-eating-robot
It describes how to drive a motor using the PWM outputs of the PIC.
The driver on this board is an L293D or (pin-compatible but better)
SN754410NE.

Good luck,
Wim

JuampaBlotoledo

unread,
Apr 20, 2010, 2:05:32 PM4/20/10
to Pinguino
Thank you all, this was very helpful. I want to use the L292 only as
an H bridge, now i have some ideas to do it.

Saludos desde Venezuela
Reply all
Reply to author
Forward
0 new messages