This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https://www.bitcraze.io/documentation/system/]] or [[https://www.bitcraze.io/documentation/repository/]] ====== Bosch Sensor Deck ====== Adds a variety of Bosch Sensortec sensors to the crazyflie. {{:projects:crazyflie2:expansionboards:bosch_v2_top_3d.png?direct&400|}} ===== Specification ===== As there are different versions of the sensor deck, some sensors are only available on one of them * Inertial measurement units: * [[https://www.bosch-sensortec.com/bst/products/all_products/bmi055|BMI055]] (V1+V2+V4) * triaxial 12-bit accelerometer (up to ± 16g) * triaxial 16 bit gyroscope (up to ± 2000°/s) * [[https://www.bosch-sensortec.com/bst/products/all_products/bmi160|BMI160]] (V1+V2+V4) * triaxial 16-bit accelerometer (up to ± 16g) * triaxial 16 bit gyroscope (up to ± 2000°/s) * Accelerometer: * BMA455 (V4) triaxial 16-bit accelerometer (up to ± 16g), upcoming sensor * Integrated environmental units: * [[https://www.bosch-sensortec.com/bst/products/all_products/bme680|BME680]] (V1+V2) * Pressure * Relative humidity * Temperature * Gas (Volatile Organic Compounds) * Pressure sensors: * [[https://www.bosch-sensortec.com/bst/products/all_products/bmp280|BMP280]] (V1+V2+V4) * [[https://www.bosch-sensortec.com/bst/products/all_products/bmp380|BMP380]] (V4) * Geomagnetic sensors: * [[https://www.bosch-sensortec.com/bst/products/all_products/bmm150|BMM150]] (V1+V2+V4) * Smart hubs & ASSNs: * [[https://www.bosch-sensortec.com/bst/products/all_products/bmf055|BMF055]] (V1+V2+V4) * triaxial 14-bit accelerometer (up to ± 16g) * triaxial 16 bit gyroscope (up to ± 2000°/s) * triaxial geomagnetic sensor * 32 bit Cortex M0+ microcontroller from Atmel * (1-wire memory for automatic expansion deck detection) not specified yet - coming soon * Designed for mounting above or under the Crazyflie 2.0 * Mechanical specification: * Weight: * Size (WxHxD): 25.2x28.75x4mm³ ===== Schematic===== Bosch Sensortec expansion deck V2 {{:undefined:bosch_v2_schematics.pdf|schematic}} ===== Setting Up ===== If not already done create config.mk in tools/make from [[https://github.com/bitcraze/crazyflie-firmware/blob/master/tools/make/config.mk.example|config.mk.example]] and add the following line: SENSORS = bosch Before make you may want to adjust which sensor should be used as gyroscope /accelerometer. This can be done by changing static uint8_t gyroPrimInUse = SENSORS_BMI055; static uint8_t accelPrimInUse = SENSORS_BMI055; in [[https://github.com/bitcraze/crazyflie-firmware/blob/master/src/hal/src/sensors_bosch.c#L47|sensors_bosch.c]] to any of the [[https://github.com/bitcraze/crazyflie-firmware/blob/master/src/hal/src/sensors_bosch.c#L37|available sensors]] which fit as gyroscope respectively accelerometer. Now you are ready to make the firmware and flash it on your crazyflie. For evaluation purposes you might want to log sensors data which can be done with help of the [[projects:crazyflie2:expansionboards:microsd|Micro SD expansion deck]].