Enable Pin: Remove the jumpers Enable B and connect this pin to PWM pins of Arduino, Than 12V, and 5V pin will act as Input if the Vs will be greater than 12V (max 35V).Ĥ. 5V pin will act as Output if the Vs will be less If the supply voltage is greater than 12V (max is 35V), then make sure to remove the 12V jumper. Power Pins: Give 6V supply voltage at the 12V pin and ground. Power pin so that the L298 Dual H Bridge IC can work properly.ģ. If the supply voltage is greater than 12V, then remove this jumper and give the 5V supply to the 5V 12V Jumper: Keep this jumper in place for my 6V supply voltage and the 5V Motor B: This terminal block will give the output for the my 6V DC motor.Ģ.
![l298n motor driver arduino code l298n motor driver arduino code](https://http2.mlstatic.com/driver-motor-ponte-h-l298n-codigo-arduino-D_NQ_NP_12526-MLB20062436301_032014-F.jpg)
![l298n motor driver arduino code l298n motor driver arduino code](https://i.pinimg.com/736x/d1/17/56/d11756ce8d691345e61ecfcf6419d62b.jpg)
Pin Connections for L298N Driver Module, DC Motor and Arduino UNOĬonnection of L298N driver module as follow ġ. Regulator which helps in giving the output of 5V (5). It can control 2 DC motors which operates between 5V to 35V and up to 2A using an external power supply, and it is recommended to use the external voltage supply. There are two enable inputs (ENA and ENB) provided to enable or disable the device independently of the input signals (2), this allow user to control the speed of two DC motors.Īnd 2 pair of gates inputs (IN1, IN2 and IN3, IN4) controls the direction of DC motors. It is a high voltage, high current dual full-bridge driver designed to accept standard TTL logic levels and drive inductive loads such as 2 DC motor (up to 2A each), 2 relays, 2 solenoids or a The L298N driver module is an integrated monolithic circuit in a 15-lead Multiwatt based on the L298N heavy-duty dual H-bridge controller. Week, I had controlled a 6 volts DC motor with a L298N driver module (using OUT3 and OUT4 pins from L298N driver module) and a Arduino UNO (using D8, D9 and D10 from Arduino UNO). Had to try doing my assignment using available resourses and work at home. Our Fablab is currently closed because of COVID19, and I Website Assignment 8 and hence only my learning and reflections areĪssignment - Add an DC motor to a microcontroller board I had designed, and program it to do turns. Our collective work is documented on the SP Fablab Group Assignment - Measure the power consumption of an output device.