This is another Arduino Nano shield which can drive a Brushed DC Motor in both directions with PWM signal for speed control and it also includes current trip feature. Project is based on DRV8870 IC which can handle current up to 3.6Amps, The shield also includes an IR sensor and trimmer potentiometer. Trimmer Pot helps to develop speed motor control application, IR sensor can be used to make remote based DC motor driver. DRV8870 requires two PWM signals to control the motor speed and direction and both these pins are connected to D9 and D10 PWM pins of Arduino Nano. Analog pin A0 connected to Trimmer Pot, digital pin D12 connected to IR sensor, two IN1 and IN2 PWM pins are connected to Digital PWM pin D9 and D10 of Arduino Nano. The board can drive brushed DC Motor up to 3.6Amp and voltage 6.5V to 12V DC. This shield can drive higher voltage DC motor up to 45V with few changes. Remove R3 and D1 and use higher value and voltage rating capacitor C1 on motor supply. Trimmer potentiometer PR1 is used to adjust the maximum load trip current. For more information refer DRV8870 datasheet.
A single-power input, VM Motor supply, serves as both device power and motor winding bias voltage. The integrated charge pump of the device boosts VM internally and fully enhances the high-side FETs. Motor speed can be controlled with pulse-width modulation, at frequencies between 0 to 100 kHz. The device has an integrated sleep mode that is enabled by bringing both inputs low. An assortment of protection features prevent the device from being damaged if a system fault occurs.
DRV8870 Description
The DRV8870 device is a brushed-DC motor driver for printers, appliances, industrial equipment, and other small machines. Two logic inputs control the H-bridge driver, which consists of four N-channel MOSFETs that can control motors directionally with up to 3.6-A peak current. The inputs can be pulse-width modulated (PWM) to control motor speed, using a choice of current-decay modes. Setting both inputs low enters a low-power sleep mode. The DRV8870 device features integrated current regulation, based on the analog input VREF and the voltage on the ISEN pin, which is proportional to motor current through an external sense resistor. The ability to limit current to a known level can significantly reduce the system power requirements and bulk capacitance needed to maintain stable voltage, especially for motor startup and stall conditions.
Features
- Supply 6.5V to 12V DC
- Motor Load Up to 3.6Amps
- Over Load Current Facility
- Over Load Trip Adjust Trimmer Pot
- Trimmer Pot provided on Analog Pin A0 to make Motor Speed Controller
- IR Sensor On D12 Digital Pin
- PWM Frequency 0-100Khz
- Motor Input Pin In1 and In2 Connected to D9 and D10 PWM Pins
- PCB Dimensions 59.19mm X 38.15mm
Schematic
Parts List
Connections