Product description: DRV8835- dual channel 11V/1.2A motor controller - Raspberry Pi overlay.
The module based on the DRV8835 allows you to control motors with supply voltages up to 11 V and continuous current consumption up to 1.2 A. The controller can also withstand current peaks of up to 1.5 A for several seconds. The speed can be controlled with aPWMsignal.
In combination withthe Raspberry Pi, the speed and direction of rotation of two DC motors can be easily controlled using a specially preparedlibrary. The shape and the leads of the board allow for a direct connection to the minicomputer, as shown in the figures above. The system uses GPIO 5, 6, 12 and 13 pins.
Raspberry compatible product Pi B+ The manufacturer providesa Python library for Raspberry Pi users. |
Modes of operation
The engine power supply has been separated from the RaspberryPi B+.Voltage from 2 V to 11 V must be connected to the VIN and GND outputs. The power supply for the 3.3 V logical part is taken from the minicomputer.
The controller can work in two modes: basic PHASE/ENABLE and advanced IN/IN. The selection is made by means of MODE output, which is pulled up to VCC by default. The differences between the modes are shown in the tables below.
Table for PHASE/ENABLE MODE=1 (default) |
||||
xPHASE | xENABLE | MxA | MxB | Mode of operation |
1 | PWM | L | PWM |
Reverse rotation at the specified speed: PWM % |
0 | PWM | PWM | L |
Forward rotation at a specific speed: PWM % |
X | 0 | L | L | Braking (outputs connected to ground) |
Table for IN/IN MODE=0 |
||||
xIN1 | xIN2 | MxA | MxB | Mode of operation |
0 | 0 | OPEN | OPEN | Outputs off. |
0 | PWM | L | PWM |
Reverse rotation at the specified speed: PWM % |
PWM | 0 | PWM | L |
Forward rotation at a specific speed: PWM % |
PWM | 1 | L | PWM |
Reverse rotation at the specified speed: 100% - PWM % |
1 | PWM | PWM | L |
Forward rotation at a specific speed: 100% - PWM % |
1 | L | L | L | Braking (outputs connected to ground) |
The device allows powering the mini-computer itself from the module input voltage (VIN). In order to stabilize the voltage to the required5 Vrequired by RaspberryPi, theS7V7F5 invertercan be solderedintospecially prepared 5 V (output voltage) GND (GND) VOUT (motor supply voltage) holes.
Two-channel motor controller specification
- Supply voltage: 2 V to 11 V
- Supply voltages of the logical part: from 2 V to 7 V
- Continuous output current per channel: 1.2 A
- Continuous output current at channel connection: 2,4 A
- Maximum instantaneous current per channel: 1.5 A
- Maximum instantaneous current when connecting channels: 3,0 A
- PWM frequency: up to 250 kHz
- Protection against incorrect power supply
- Dedicated toRaspberry Pi B+connectors
- Python libraryfor easy module operation
- Dimensions: 51 x 14.5 mm
- Weight: 2.5 g (without connectors)
The set includes: module, screw connectors, goldpin strip for self-soldering.
Useful links |