Hacker News new | ask | show | jobs
by MarkSweep 1860 days ago
Not OP. This is not necessarily the friendliest or best place to start, but in terms of hardware costs it's great: the ST-Micro P-NUCLEO-IHM001:

https://www.st.com/en/evaluation-tools/p-nucleo-ihm001.html

For $35 you get a little motor, a motor control board, and an ARM micro-controller board. ST includes some software for motor control. If you want to do precision motor control, out of the box it is missing an encoder (a device that tells you the position of the motor). The STM32 chips usually have some inputs you can use with a quadrature encoder, so you could add one if you needed to. It does include a current sensor and the software uses the for field-oriented control (FOC), so you can efficiently and smoothly control the speed of the motor. To learn more about motor commutation and FOC, check out this document:

https://www.actronic-solutions.de/files/actronic/FTPROOT/Fie...

1 comments

Strange, I was pretty sure your parent was asking sarcastically!