|
Re: Using the cRIO to control custom lights
Note that if you want to use PWM to control transistors or LEDs directly, you will have to write your own pulse code and use a digital output (whether signal outputs on the 9403 or driven outputs on the 9472). The PWM being output from the ports labelled PWM on the sidecar is an R/C standard servo control signal, which means the PWM duty cycle ("on time") will vary between about 7.5% and 12.5%, which means you'll barely be able to see an transister-controlled incandescent, and an LED probably won't turn on even at maximum output.
--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
|