Adding a proximity sensor
Posted: Mon May 11, 2015 11:50 am
Hi guys,
my fellow-students and me from a project working with the Crazyflie have just installed a proximity sensor on top of our CF 2.0, just like this guy did it:
https://cfusting.wordpress.com/2013/07/ ... ty-sensor/
We used his fork of the CF-firmware and tried to overtake his changes, stated by a diff between his fork and the original CF-firmware:
https://bitbucket.org/cfusting/crazyfli ... at=default
Our result can be seen in the last commits I did: https://github.com/fred-project/crazyfl ... crazyflie2
BUT, it doesn't work and I don't know why
The "adc.vProx" logging variable is not available in the TOC for some reason after flashing the drone with our firmware fork. Is there any errors you could think of? Will using the wrong GPIO-PIN for input also result in that error we currently experience? Maybe we access the wrong pin.
Our current hardware setup looks like this: http://fred-project.github.io/2015/04/2 ... ensor.html (also with photos)
I hope someone can help, thank you!
my fellow-students and me from a project working with the Crazyflie have just installed a proximity sensor on top of our CF 2.0, just like this guy did it:
https://cfusting.wordpress.com/2013/07/ ... ty-sensor/
We used his fork of the CF-firmware and tried to overtake his changes, stated by a diff between his fork and the original CF-firmware:
https://bitbucket.org/cfusting/crazyfli ... at=default
Our result can be seen in the last commits I did: https://github.com/fred-project/crazyfl ... crazyflie2
BUT, it doesn't work and I don't know why

Our current hardware setup looks like this: http://fred-project.github.io/2015/04/2 ... ensor.html (also with photos)
I hope someone can help, thank you!