EYE on NPI: Bosch Sensortec BMI323 Inertial Measurement Unit #EYEonNPI #digikey #LikeABosch @BoschMEMS @digikey @Adafruit

EYE on NPI: Bosch Sensortec BMI323 Inertial Measurement Unit #EYEonNPI #digikey #LikeABosch @BoschMEMS @digikey @Adafruit

Source Node: 2660810

[embedded content]

This week’s EYE ON NPI (video) will get you designing IMUs #LikeABosch with the Bosch Sensortec BMI323 Inertial Measurement Unit.

A low cost, but high precision 6-axis inertial measurement unit (IMU) that has 16-bit accelerometer and 16-bit gyroscope for quality output at a great price.

This sensor comes with two sensors combined inside: an accelerometer and a gyroscope – both MEMS sensors.

Bosch has a ton of experience with making MEMS sensors – one of our very favorite sensors is the Bosch BNO055 which has accelerometer, gyro and also magnetometer as well as a SAMD21 chip inside that runs a sensor fusion algorithm, which makes it great for projects that want to get going with full orientation data quickly. But you’ll pay for that convenience: the BNO055 costs about $7.50 a hefty BOM cost.

If you’ve already got a microcontroller on your design, say a Cortex M series or ESP32 or other fairly powerful chip with an FPU or secondary core, you can save a bundle by DIY’ing your own sensor fusion. You can even do some very basic orientation sensing with just a 6-axis sensor like this one, or if you want to also fuse in magnetometer data, the BMM150 is a great mini I2C sensor that will work with any Bosch 6-axis IMU – combine with the BMI323 and for about $3 total you can have great 9-DoF sensor.

Then you can use Bosch’s Sensor Fusion Software BSXlite which comes as binary blobs for ARM Cortex chips that take in the raw sensor values and pop out quaternion and Euler angles – you could probably request for them to compile it for another chip family like Tensilica or RISC-V if you like.

The BMI323 has 16-bit data out for both sensors, and FIFO’s so you will get quality data without skipping a sample.

There’s a full datasheet that goes through every setting and register for the BMI323, but if you’d like to skip the low-level implementation part, Bosch has been great for releasing portable C code support for their chips and the BMI3 series has its own GitHub repo with just about all functionality implemented. Note it’s fairly ‘generic’ code, with Linux Kernel headers but otherwise without HAL implementation, so you’ll need to port the common.c file to your platform to read and write I2C or SPI and add chip-specific delay.

If the idea of a low cost IMU has you doing the twist or shaking your arms in excitement, the Bosch Sensortec BMI323 Inertial Measurement Unit is in stock now at Digi-Key, with thousands of pieces ready for instant purchase.

Order today and Digi-Key will package and ship your shipment instantly: you’ll be motion sensing #LikeABosch by tomorrow afternoon.

Time Stamp:

More from Ada Fruit