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 3PWM 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,bandc. Connect them toINHA,INHBandINHC - Additionally connect the enable pin as well to
EN-GATEpin - To configure the BLDC driver we will need three pins (purple)
M_PWMwhenhighenables 3PWM mode (iflowthe board expects 6PWM signals)M_OCwhenlowenables over-current protectionOC_ADJanalog 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)
nFAULTwhen inhighboard in fault statenOCTWwhen inhighover-current limit reached
Encoder
- Channels
AandBare connected to the external interrupt pins2and3 - If your encoder has
indexsignal you can connect it to any available digital pin, here we connected it to the pin4
Motor
- Motor phases
a,bandcare connected directly the board terminalsOUTA,OUTBandOUTC
Example connection

–>