Infrared PWM on Crazyflie
Posted: Thu May 03, 2018 3:00 am
Good day everyone. I'm trying to build an infrared transceiver for the crazyflie which can send and receive PWM infrared signals (kind of like a lazertag but with the crazyflie instead of a laser gun). I would also want everything to be controlled using the python client wherein I just change the values of the parameters in order to adjust the frequency.
I have already learned the basics like building a deck driver with examples such as the myled and the traffic light from hackster.io. The next step Im doing is trying to PWM an infrared LED to about 36kHz but I am stuck with this. I thought it would be as straightforward as an Arduino but from the previous posts Ive read in this forum, I simply cannot grasp how to apply the timers, etc. Any help would be much appreciated, thank you.
I have already learned the basics like building a deck driver with examples such as the myled and the traffic light from hackster.io. The next step Im doing is trying to PWM an infrared LED to about 36kHz but I am stuck with this. I thought it would be as straightforward as an Arduino but from the previous posts Ive read in this forum, I simply cannot grasp how to apply the timers, etc. Any help would be much appreciated, thank you.