In Part 2 we'll be replacing openloop with:
- voltage control - the simeplest FOC mode
- velocity control - tuning Tf, P and I parameters
- angle control - tuning P and voltage limit
The project makes use of:
- hoverboard motor - a broken hoverboard can often be found for $50
- stm32g4 discovery kit for drones. A $20 board with more punch than gimbal controllers
- hall sensors (already attached to hoverboard stator)
Some recent projects of mine:
- 3hr electric skate code/build: https://www.youtube.com/watch?v=iqQp86-zv90
- BLDC Jukebox: https://www.youtube.com/watch?v=iqQp86-zv90
SimpleFOClibrary is an opensource project :
- Github link: https://github.com/simplefoc/Arduino-FOC
- Docs link: https://docs.simplefoc.com/
- Community: https://community.simplefoc.com/
- Shop: https://simplefoc.com/