Fucitol wrote:
Thats exactly the solution I was looking towards and this indeed looks very promising.
If you have 'finalised' this setup are you willing to share how you connected it and adapted the software? By the way, they also offer the same sensor with a voltage ranging from 2.7 - 3.6v instead of the 5v max in the one you linked, which saves some weight it seems (product #2476)
The sensor described by link can be supplied by from 3.0 V ( VCC pin of expansion board ) - for this you need desolder one resistor ( it is explained by link).
So connection is quite simple:
Crazyflie ----> Sensor
VCC ---> VCC
GND ----> GND
E_MISO (PA6) ----> OUT ( this pin i configure as ADC input )
My firmware is not based on Crazyflie's original firmware ( there is master's project at the University i study ) and i load it using crazyflie debug adapter kit and stm32 discovery board as programmator. After finishing it ( I plan to add also one or two IR sensor to navigate in X and Y axis ) and some cleaning i put it on github.
But if you do not want to wait and you have some coding skills i can explain you how to implement altitude control algorithm and put pieces of code.