


Hooking up to a motor means you can have it spin in both directions and with PWM input, you can use your Arduino to make them spin at any speed. An h-bridge is basically a specific setup of transistors that allow you to switch direction of current. The L298 isn’t just a dual motor driver, it is a dual H-bridge. The I2C Motor Driver can control motor which is based on the chip L298.

NOTE: Input voltage on screw terminals is regulated to 5v and connected to I2C +5v via a jumper (J4).
#L298n motor driver arduino function full#
Adjustable motor speed and rotation directionħ8M05 IC: 5v voltage regulator L298 IC: dual full bridge driver Atmega8 IC: Control Motor Rotate.You do not need to control the steppers all the time anymore, simply send a command to I2C motor driver V1.3 to drive a stepper, and it will act as your command, which would save your Arduino resource and simplify your code. All driver lines are protected by diodes from back-EMF.Ĭontrast to the Grove - I2C motor driver V1.2, the V1.3 enables users to control the stepper more easily. It requires a 6V to 15V power supply to power the motor and has an onboard 5V voltage regulator which can power the I2C bus and the Arduino(selectable by jumper). It can power two brushed DC motors or one 4-wire two-phase stepper motor. Both motors can be driven simultaneously while set to a different speed and direction. Its heart is a dual channel H-bridge driver chip(L298N)that can handle current up to 2A per channel, controlled by an Atmel ATmega8L which handles the I2C communication with for example an Arduino. The Grove - I2C Motor Driver V1.3 (latest version) can directly control Stepper Motor or DC Motor.
