![l298n motor driver specification raspberry pi l298n motor driver specification raspberry pi](https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2018/05/esp32-dc-motor-l298n.jpg)
It runs at 2.7V-5V logic (2.7-5.5V according to some sources). It can drive 2 DC motors (or one stepper) with 1.2A per channel (3A peak). The TB6612 from Toshiba is another relatively cheap board available at chinese webstores. If an optocoupler is used as described above, this should not be a point of concern. The datasheet gives no info at all about this level if fed with 12 Volt. that means that both 5Volt Arduino’s as well as 3V3 ESP’s or Raspberry Pi’s can be used. There is one table that is worth a closer look:Īccording to this table a voltage of 2.5Volt on its input pins is considered a HIGH. Though motors are easy to control with an H-bridge such as this one, there are several libraries for the L9110S. The TLP281 module referenced above has added transistors the un-invert the signal. This circuit does invert, but that can easily be fixed in software. Other than an optocoupler a transistor or Fet can be used as well. The optocoupler is left open collector as the input pins of the L9110 module already do have pullups. If you want to make it yourself, 4 of the below circuit should do: An ILQ615 or TLP281-4 ( available as pre-built module) is very suitable for this. If it is a problem, a simple optocoupler circuit can be put in between. That does not need to be a major problem, but it is something that needs to be taken into account. That means that if you use 12 Volt DC for the motor and a 3v3 microprocessor to control the motor, on a LOW level there will be possibly flowing 1.2 mA into the uC pin. There is however a small point of concern in using the module with a non-TTL level like 12 Volt: The inputs are pulled up via 10k resistors to the Vcc. The L9110 chips each have 2Vcc and Ground pins, but there is no indication that these should get different voltages (like one for the chip and one for the motor) and on the module PCB all grounds are connected and all Vcc’s are connected. The labeling on the input pins can be a bit confusing, but it is like this: The module can control 2 motors that according to the datasheet can be 2.5-12V with a maximal continuous current of 800mA, with a peak of 1.5~2 Amp.
![l298n motor driver specification raspberry pi l298n motor driver specification raspberry pi](https://m.media-amazon.com/images/I/71u0jQr9ZBL._AC_SY450_PIbundle-4,TopRight,0,0_SH20_.jpg)
The available module has in fact two L9110 chips, as they each control only one motor. So, if 10 Volt motorvoltage is not enough, there is the L9119S from Asic. These are only available as a bare chip, not as a module.Īlthough the chinese webstores market the MX1508 as a replacement for the L298N motordriver, that is with its 46 Volts and 4 amp total, quite a strech. There is also an MX1208 with a current of 1.3A (2A peak).
![l298n motor driver specification raspberry pi l298n motor driver specification raspberry pi](https://raw.githubusercontent.com/DFRobot/DFRobotMediaWikiImage/master/Image/IGP59861_new.jpg)
It advises to put a 100nF over each motor output, something that is not done on the module PCB. The only (currently) available datasheet is in chinese. Controlling a DC motor with an H-bridge such as the MX1508 is in fact quite simple. Connect the motor like in the figure to the right. As a result, there might be big spikes on the powerline when you are reversing the direction, which could lead to problems with other devices connected. The MX1508 has no fly back/free-wheeling diodes present, though they are advised by the chip manufacturer. It is very well possible that it is an unintentional mistake in the PCB. Connecting it (to pin 8) seems the right way to go though. When analyzing the PCB, one odd thing becomes clear: Pin 4 (VDD1), the input for the operating voltage of Motor A, seems to be not connected to anything. With most hobby motors being either 6 or 12 Volt, 10 Volt may not be the most practical voltage. The digital part of the MX1508 however is fed through a 220 ohm resistor with the resulting voltage being capped by what I presume to be a zenerdiode of 5 Volt. The module however, has only 1 Voltage input, that supposedly can take 2-10 Volt. has a working voltage of 1.8-5Volt, but can drive motors with an operating voltage of 2-9.6 Volt. The MX1508 from Shenzhen Guanghui Electronics Co., Ltd. The pin spacing is 0.1″ but the various connectors are at aberrant spacing. The module itself is not really breadboard friendly. It is rated at 1.5A on each motor with a peak of 2.5A. It is an H-bridge configuration for each motor and so can drive the motors in either direction. This board can drive two motors independently. Three popular, cheap motordriver boards that are available on chinese webstores are the MX1508, L9110S and TB6612.Īt Aliexpress and Banggood, the MX1508 is listed as a “Dual Channel L298N DC Motor Driver Board PWM Speed Dual H Bridge Stepper Module”.