On this page
DRV8302 driver with Arduino UNO
DRV8302 is a high performance BLDC driver board capable of delivering 15A current continuously and 27A peak current. It has temperature and over-current protection, it has Back EMF and three phase current sensing and last but not the least it can be run using only 3 PWM signals making it compatible with the SimpleFOClibrary.
Here is an example of the connection scheme using the Arduino UNO:
You can find this board on Aliexpress for the price of ~35$
DRV8302
- As any other BLDC driver supported with this library the board receives 3PWM signals: pwm
a
,b
andc
. Connect them toINHA
,INHB
andINHC
- Additionally connect the enable pin as well to
EN-GATE
pin - To configure the BLDC driver we will need three pins (purple)
M_PWM
whenhigh
enables 3PWM mode (iflow
the board expects 6PWM signals)M_OC
whenlow
enables over-current protectionOC_ADJ
analog input adjusting the over-current limit - if you don’t care you can put it tohigh
- To read the fault signals we will need to read two pins (red)
nFAULT
when inhigh
board in fault statenOCTW
when inhigh
over-current limit reached
Encoder
- Channels
A
andB
are connected to the external interrupt pins2
and3
- If your encoder has an
index
signal you can connect it to any available digital pin, here we connected it to the pin4
Motor
- Motor phases
a
,b
andc
are connected directly the board terminalsOUTA
,OUTB
andOUTC
Example connection
–>