How we could control dc motor speed by python?in raspberry? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How we could control dc motor speed by python?in raspberry?

i have to speed up motor to specified speed with constant acceleration.

9th Sep 2017, 11:40 AM
Elnaz Mahmoodi
Elnaz Mahmoodi - avatar
3 Respostas
+ 5
You need to understand how to configure PWM signal on Raspberry pi. Set the configuration bit would configure the IO port to produce PWM based on the register value.
9th Sep 2017, 11:48 AM
CalviÕ²
CalviÕ² - avatar
+ 5
Use program to generate PWM (pulse width modulation) signal on IO port. As long as the percent of PWM is fixed, the speed would be constant.
9th Sep 2017, 11:43 AM
CalviÕ²
CalviÕ² - avatar
+ 1
thanks.but i need some details
9th Sep 2017, 11:44 AM
Elnaz Mahmoodi
Elnaz Mahmoodi - avatar