![]() ![]() To provide an output voltage on the Motor terminal blocks, either IN1 or IN2 MUST be HIGH. If both pins are same, either LOW or HIGH, the motor will stop. If IN1 is HIGH and IN2 is LOW the motor will move backward. If IN1 is LOW and IN2 is HIGH the motor will move forward. These pins control the switches of the H-Bridge inside the L298N. IN1 and IN2 pins are used to control the rotation direction of motor A, and IN3 and IN4 for motor B. If the EnA or EnB pin is connected to ground, the motor will be disabled. If the jumpers are removed, a PWM input can be connected to these pins to control the speed of the motors. If a jumper is installed on these pins, the motors will be enabled and work at maximum speed. The EnA and EnB (Enable A and Enable B) pins are used for enabling and controlling the speed of the motor. To provide a full 12V to the motors, you will need to provide a Vcc voltage of about 14V. There is an internal voltage drop of about 2V, so, for example, with 12V Vcc, the voltage at motor terminals will be about 10V. In this case, the +5V pin will be used as input, and a 5V power supply must be connected to it in order to power the logic level circuitry. If the motor voltage is greater than 12V, the regulator jumper must be disconnected because voltages over 12V will damage the onboard 5V regulator. the jumper is removed), a 5V INPUT must be provided on the +5V connector to control the logic level circuitry of this module, and a second DC voltage must be applied to the +12V connector to power the motor. the jumper is installed), the input voltage to the +12V connector must be at least 6V, and the +5V connector can be used as an OUTPUT to power other 5V devices, such as your Arduino controller. When the onboard regulator is enabled (i.e. The module has two screw terminal blocks for motors A and B, and another screw terminal block for the VCC for motors, a 5V pin which can either be an input or output (see below), and Ground.
0 Comments
Leave a Reply. |