Adding analog sensor to Crazyflie 2.0
Posted: Sat Mar 31, 2018 9:53 pm
Hello,
I'd like to add an analog infrared proximity sensor to my Crazyflie 2.0 (https://www.sparkfun.com/products/242 if you're curious). I already have a breakout deck, and I plan on adding it to the top of the Crazyflie and using it in conjunction with my Flow deck.
The way I imagine this working is using the Deck API to periodically take an analog voltage measurement (at an interval on the order of milliseconds perhaps) and then using the Python logging library to read the value on the PC side. My question is- has any progress been made on the Arduino-like functionality for the Deck API? Is it still necessary for me to deal with freeRTOS to accomplish what I'd like to achieve? If so, could you point me to some examples? Is there any other way you think I could accomplish what I'm trying to do? All I'm trying to do is get an analog voltage measurement on the PC side at some regular interval. Thanks a lot.
I'd like to add an analog infrared proximity sensor to my Crazyflie 2.0 (https://www.sparkfun.com/products/242 if you're curious). I already have a breakout deck, and I plan on adding it to the top of the Crazyflie and using it in conjunction with my Flow deck.
The way I imagine this working is using the Deck API to periodically take an analog voltage measurement (at an interval on the order of milliseconds perhaps) and then using the Python logging library to read the value on the PC side. My question is- has any progress been made on the Arduino-like functionality for the Deck API? Is it still necessary for me to deal with freeRTOS to accomplish what I'd like to achieve? If so, could you point me to some examples? Is there any other way you think I could accomplish what I'm trying to do? All I'm trying to do is get an analog voltage measurement on the PC side at some regular interval. Thanks a lot.