DigiKey-emag-Sensors-Vol-7

for supplying regulated power to the sensors from a 3 to 8 volt supply. DFRobot’s 10 DOF IMU is directly compatible with Arduino development boards using an existing Arduino library. It can also be used with any microprocessor or microcontroller system that has an SPI port. The following is sample Arduino code to extract the sensor data from DFRobot’s SEN0140 10 DOF board (Listing 1): This Arduino code produces the output shown in Figure 2. Digilent’s 410-326 9-axis IMU/ barometer is based on an STMicroelectronics’ LSM9DS1 iNEMU IMU which incorporates a 3D accelerometer, a 3D gyroscope, and a 3D magnetometer with the

following specifications: ■ ±2/±4/±8/±16 g linear

acceleration full scale (3D accelerometer) ■ ±245/±500/±2000°/second angular rate full scale (3D gyroscope) ■ ±4/±8/±12/±16 gauss magnetic full scale (3D magnetometer) All three motion sensor types— accelerometer, gyroscope, and magnetometer—are integrated into one small package and connected though the LSM9DS1’s I 2 C interface.

Figure 2: The Arduino code listed above produces this output, showing the status

of the SEN0140 sensors. (Image source: DFRobot)

we get technical

71

Powered by