Hello ST community ,
I am Chayma a student of electrical engineering in national school of engineering of tunis . I am doing currently my Internship about DC motor PID regulation using STM32F407VG
The project of the internship is about PID regulation of the acceleration (position or velocity) of a DC motor using the accelerometer sensor (LIS302DL) existing in the STM32F407VG
Actuallay i stuck in how can i developpe a code that can do it especially the link between duty cycle and the regulated value of acceleration.
I really need a quick help.
thank you ,