Stm32 Nucleo-64 using the Arduino SimpleFOCShield
The SimpleFOCShield, being Arduino UNO shield, is compatible with any type of board with the same headers and one of them are STM32 Nucleo-64 boards.
Here is the Arduino SimpleFOCShield connection scheme:
Connector types
- Terminal connectors
- motor phase lines
a
,b
andc
- power supply cables (12V to 24V)
- motor phase lines
- Encoder connector
- Integrated configurable pull-ups
More information on this link: Arduino Simple FOC Shield.
Encoder
- Channels
A
andB
are connected to the encoder connectorP_ENC
, terminalsA
andB
. - If your encoder has
index
signal you can connect it to the encoder connector as well, terminalI
.
NOTE
Any digital pin can be external interrupt pin on STM32 boards.
Motor
- Motor phases
a
,b
andc
are connected directly the motor terminal connectorTB_M1