I would like to use PWM signals from my RC car receiver to steer some leds.
I would like to activate brake lights when the car is braking and flash a set of head lights for x times when I push the button on the 3rd channel. (like used at le mans when a prototype is getting close to a slower vehicle)
Also the voltage from the LiPo should be monitored and when it droppes below 6,6V a bright red led should be turned on in the cockpit. There are IC’s readily available which switch at a certain voltage, I just have to look for them to make an input signal for the chip.
I intend to use a tiny45 chip and wonder how the chip can read the PWM signals from the receiver.
Can the chip “read” the PWM signal and know the pulse width or should I make an RC network to make an analog input and map it?