Click
Click
DC MOTOR click
2 3
4. Essential features
1. Introduction
DC MOTOR click™ with its DRV8833RTY
IC’s is limited to a 0.9A driving current
with 0.22Ω current sense resistor. The
74HC4053 IC is incorporated into the
design in order to run the motor with only
one PWM line available on the mikroBUS™
Turn the board upside down so that Turn the board upward again. Make sure socket. Use jumper J2 to select whether you
the bottom side is facing you upwards. to align the headers so that they are want to power the board with the on-board
Place shorter pins of the header into the perpendicular to the board, then solder the or external power supply connected to the
appropriate soldering pads. pins carefully. CN2 screw terminal. The motor should be
connected to the CN1 screw terminal.
click
in mikroBUS™ form factor. It features the 3. Plugging the board in
DRV8833RTY H-Bridge motor driver,
74HC4053 multiplexer and two screw Once you have soldered the headers your
terminals. DC MOTOR click™ communicates
with the target board via SELECT1,
board is ready to be placed into the desired
mikroBUS™ socket. Make sure to align the BOARD
www.mikroe.com
SELECT2 and nSLEEP control lines, PWM cut in the lower-right part of the board
input line and nFAULT feedback line. The with the markings on the silkscreen at the DC Motor click Manual
board is designed to use 3.3V or 5V power mikroBUS™ socket. If all the pins are aligned ver. 1.01
supplies. It has a GREEN power supply correctly, push the board all the way
indicator LED and a RED LED that indicates into the socket.
active nFAULT line (in case of short-circuit).
0 100000 025468
5. DC MOTOR click™ Board Schematic 6. SMD Jumpers
OUT1
nSLEEP
GPIOA
PWM0
R4
C1 C2 2K2
VCC J1A
R3
C3
nFAULT R6
Q1
BC856
soldered in the 3.3V position.
VCC 10uF 100nF
47K 100nF 220 VCC
VM
16
15
14
13
VCC
U1
U2 R7 R1
C4
AIN1
AIN2
AOUT1
nSLEEP
nSLEEP PWM PWM1 1 16 10K 2K2
7. Code Examples
AN PWM 2Y1 VDD
SELECT1 nFAULT PWM0 2 15 PWM
RST INT 10nF 2Y0 2Z
SELECT2 1 12 GPIOB 3 14
74HC4053
CS TX AISEN VINT 3Y1 1Z FAULT POWER
OUT2 2 11 SELECT1 4 13
SCK RX AOUT2 GND 3Z 1Y1
SCL
3
BOUT2
GND VM
10 GPIOA 5
3Y0 1Y0
12 LD2 LD1
MISO
MOSI SDA
4
BISEN VCP
9 6
7
E S1
11
10 SELECT2
Once you have done all the necessary
+3.3V +5V VEE S2
nFAULT
BOUT1
8 9
GND GND GND S3 preparations, it’s time to get your click™ board
BIN1
BIN2
R2 R5
C5
MIKROBUS DEVICE CONN. 0.22 0.22 74HC4053
DRV8833RTY 2.2uF
up and running. We have provided examples
5
6
7
8
VM
VCC-EXT for mikroC™, mikroBasic™ and mikroPascal™
VCC CN1
compilers on our Libstock website. Just
nFAULT
OUT2
GPIOB
PWM1
OUT1
.com
With two control lines SELECT1, SELECT2 and PWM input you can choose from the following driving options described in the table:
MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document.
Specification and information contained in the present schematic are subject to change at any time without notice. Copyright © 2014 MikroElektronika. All rights reserved.