The SimpleFOCShield, being a BLDC driver, can be used not just with boards with Arduino UNO headers but also as a stand alone driver board.
Here is an example how to connect Stm32 Bluepill with the Arduino SimpleFOCShield :
More information about the Arduino Simple FOC Shield.
Bluepill pinoutMake sure to consult the pinout before you assign the BLDC driver pins. They have to be PWM capable.
Bare connected to
- If your encoder has
indexsignal you can connect it to the boards as well, for example on
NOTEAny digital pin can be external interrupt pin on STM32 boards.
PA8of the Bluepill.
- Connect the
enablepin to any digital pin such as
- Connect the common ground
- Connect the power-supply cable
- Motor phases
care connected directly the motor terminal connector