|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
PWM Duty Cycle
Does anyone know how to read a PWM duty cycle on the roborio?
|
|
#2
|
||||
|
||||
|
Re: PWM Duty Cycle
Some teams filter it to create an analog signal proportional to duty cycle, then run it into an analog input.
http://www.chiefdelphi.com/forums/sh...68#post1432868 |
|
#3
|
|||||
|
|||||
|
Re: PWM Duty Cycle
Bear in mind that duty cycle is not the salient value in a PWM signal used for controlling motors in FRC. Instead, we use pulse width, varying from about 1.5 mSec to about 2.5 mSec, with varying amounts of time between pulses depending on which motor controller is being used.
I know you know this, but for others reading this thread in the future they should be aware of this detail. |
|
#4
|
||||
|
||||
|
Re: PWM Duty Cycle
Quote:
The US Digital MA3 and Austria Microsystems AS5145 encoder datasheets recommend duty cycle -- not pulse width -- decoding of their PWM signal outputs. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|