Go Down

Topic: Controlling position of linear actuator (Read 3071 times) previous topic - next topic

Retroplayer

ok, doing some math...

PWM frequency is 125Hz. Minimum duty cycle is 0%. The steps are in 12.5% for 8 steps = 100%

If I were to translate that to 0 to 255, I would have duty cycles of 32, 64, 98, etc... (256/8)

Assuming I keep the PWM frequency at 125Hz
32 would give me 1ms
64 would give me 2ms
and so forth...

Is my math correct?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy