
This circuit integrates an Arduino UNO with an Adafruit BNO085 9-DOF Orientation IMU and a Bluetooth HC-06 module. The Arduino reads orientation data from the IMU via I2C and transmits it over Bluetooth, powered by a 7.4V battery.

The Flora LSM9DS0 9DOF (9 Degrees of Freedom) sensor module is a versatile, multi-sensor component that integrates a 3-axis accelerometer, a 3-axis gyroscope, and a 3-axis magnetometer. This compact module is designed for motion sensing and orientation tracking in a wide range of applications, including wearable electronics, robotics, and gesture recognition. Its compatibility with the Adafruit Flora platform makes it an excellent choice for e-textiles and wearable projects.

This circuit integrates an Arduino UNO with an Adafruit BNO085 9-DOF Orientation IMU and a Bluetooth HC-06 module. The Arduino reads orientation data from the IMU via I2C and transmits it over Bluetooth, powered by a 7.4V battery.

This circuit integrates a Raspberry Pi 5 with multiple sensors, including an MPU-6050 accelerometer and gyroscope, and an LSM303c 6DOF IMU, to collect and process motion and orientation data. The Raspberry Pi serves as the central processing unit, interfacing with the sensors via GPIO pins and providing power to them.

This circuit features an Arduino UNO microcontroller interfaced with a Bluetooth HC-06 module for wireless communication and an Adafruit BNO085 9-DOF Orientation IMU for motion sensing. The Arduino handles data acquisition from the IMU via I2C and communicates the data wirelessly through the Bluetooth module.

This circuit features an Adafruit HUZZAH32 ESP32 Feather microcontroller connected to an Adafruit LSM303AGR sensor via I2C communication lines (SCL and SDA), a force sensing resistor (FSR) interfaced through an analog input with a pull-up resistor, and powered by a 3xAA battery pack. The LSM303AGR sensor provides acceleration and magnetic field measurements, while the FSR detects applied force. The ESP32 processes these inputs and can be programmed to respond to sensor data for applications such as motion tracking and force measurement.
| Pin Number | Name | Description |
|---|---|---|
| 1 | GND | Ground connection |
| 2 | VIN | Supply voltage input (2.4V to 3.6V) |
| 3 | SCL | I²C clock line / SPI clock line |
| 4 | SDA | I²C data line / SPI data line for accelerometer and gyroscope |
| 5 | SDO/SA0 | SPI data output for magnetometer / I²C least significant bit of the address |
| 6 | CS_AG | Chip select for accelerometer and gyroscope (active low for SPI) |
| 7 | CS_M | Chip select for magnetometer (active low for SPI) |
To use the Flora LSM9DS0 9DOF sensor in a circuit:
Below is an example code snippet for initializing the Flora LSM9DS0 9DOF sensor with an Arduino UNO using the I²C protocol. This code assumes the use of the Adafruit LSM9DS0 library.
#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_LSM9DS0.h>
// Create an instance of the LSM9DS0 sensor
Adafruit_LSM9DS0 lsm = Adafruit_LSM9DS0();
void setup() {
Serial.begin(9600);
// Initialize the sensor
if (!lsm.begin()) {
Serial.println("Failed to find LSM9DS0 sensor");
while (1);
}
Serial.println("LSM9DS0 sensor found!");
}
void loop() {
// Read the sensor
lsm.read();
// Print accelerometer, gyroscope, and magnetometer data
Serial.print("Accel X: "); Serial.print(lsm.accelData.x); Serial.print(" ");
Serial.print("Y: "); Serial.print(lsm.accelData.y); Serial.print(" ");
Serial.print("Z: "); Serial.println(lsm.accelData.z);
Serial.print("Gyro X: "); Serial.print(lsm.gyroData.x); Serial.print(" ");
Serial.print("Y: "); Serial.print(lsm.gyroData.y); Serial.print(" ");
Serial.print("Z: "); Serial.println(lsm.gyroData.z);
Serial.print("Mag X: "); Serial.print(lsm.magData.x); Serial.print(" ");
Serial.print("Y: "); Serial.print(lsm.magData.y); Serial.print(" ");
Serial.print("Z: "); Serial.println(lsm.magData.z);
delay(1000);
}
Q: Can the sensor be used with a 5V microcontroller? A: Yes, but ensure that the VIN pin is connected to a voltage level within the sensor's operating range (2.4V to 3.6V).
Q: How do I calibrate the magnetometer? A: Calibration typically involves rotating the sensor in various orientations and using the collected data to adjust the readings. Refer to the sensor's datasheet and the library's documentation for specific calibration procedures.
Q: What is the default I²C address of the sensor? A: The default I²C address for the accelerometer and gyroscope is 0x1D (if SDO/SA0 is high) or 0x1E (if SDO/SA0 is low). The magnetometer has a fixed I²C address of 0x1E.
For further assistance, consult the sensor's datasheet and the Adafruit LSM9DS0 library documentation.