Difference between revisions of "DFRobot 10 DOF"
Jump to navigation
Jump to search
(25 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:STM32]][[Category:STM32 Development]][[Category:STM32CubeMX]][[Category:STM32CubeIde]]{{metadesc|How to use a 10 DOF MEMS IMU sensor module with STM32 | + | [[Category:STM32]][[Category:STM32 Development]][[Category:Components and Modules]][[Category:STM32CubeMX]][[Category:STM32CubeIde]][[Category:I²C]]{{metadesc|How to use a 10 DOF MEMS IMU sensor module with STM32}}[[File:DFRobot 10 DOF v1.0.jpg|thumb|400px]] |
− | The DFRobot 10 DOF sensor module contains 4 different [[ | + | The DFRobot 10 DOF sensor module contains 4 different [[I²C]] sensors: |
# Adxl345 accelerometer | # Adxl345 accelerometer | ||
# ITG3200 gyro | # ITG3200 gyro | ||
# HMC5883L Compass | # HMC5883L Compass | ||
− | # | + | # [[BMP085]] pressure sensor |
Each of these sensors will be handled on a separate page but a general overview follows on this page. | Each of these sensors will be handled on a separate page but a general overview follows on this page. | ||
+ | |||
+ | == Schematics == | ||
+ | |||
+ | DFRobot provides schematics for most of their product. The schematic for the 10 DOF board is this: | ||
+ | |||
+ | <div class="res-img"> | ||
+ | [[File:10_DOF_Schematic.png]] | ||
+ | </div> | ||
+ | |||
+ | As can be seen, all four sensors are wired up to the same {{I2C}} bus. It's a pity the individual interrupt lines are not wired out to the header as that would have made the board a LOT more usable. | ||
+ | |||
+ | == {{I2C}} bus == | ||
+ | |||
+ | The four sensors show up on the {{I2C}} bus like this: | ||
+ | |||
+ | <pre> | ||
+ | Scan i2c2 | ||
+ | -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1e -- | ||
+ | -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | -- -- -- 53 -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- | ||
+ | -- -- -- -- -- -- -- 77 -- -- -- -- -- -- -- -- | ||
+ | </pre> | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! ID | ||
+ | ! Device | ||
+ | |- | ||
+ | | 0x1e | ||
+ | | [[#HMC5883L Compass|HMC5883L Compass]] | ||
+ | |- | ||
+ | | 0x53 | ||
+ | | [[#Adxl345 Accelerometer|ADXL345 Accelerometer]] | ||
+ | |- | ||
+ | | 0x68 | ||
+ | | [[#ITG3200 Gyro|ITG3200 Gyro]] | ||
+ | |- | ||
+ | | 0x77 | ||
+ | | [[#BMP085 Pressure/Temperature Sensor|BMP085 Pressure/Temperature Sensor]] | ||
+ | |} | ||
+ | |||
+ | == Adxl345 Accelerometer == | ||
+ | |||
+ | == ITG3200 Gyro == | ||
+ | |||
+ | === ITG3200 Documentation === | ||
+ | |||
+ | * [https://product.tdk.com/system/files/dam/doc/product/sensor/mortion-inertial/gyro/data_sheet/itg-3200-datasheet.pdf ITG3200 Product Specification] | ||
+ | * [https://invensense.tdk.com/wp-content/uploads/2015/02/ITG-3200-Register-Map.pdf ITG3200 Register Map & Register Descriptions] | ||
+ | |||
+ | == HMC5883L Compass == | ||
+ | |||
+ | == BMP085 Pressure/Temperature Sensor == | ||
+ | |||
+ | |||
== Miscellaneous Links == | == Miscellaneous Links == | ||
* [https://wiki.dfrobot.com/10_DOF_Sensor__SKU_SEN0140_ DFRobot Wiki Page] | * [https://wiki.dfrobot.com/10_DOF_Sensor__SKU_SEN0140_ DFRobot Wiki Page] | ||
− | * [https:// | + | * [https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf ADXL345 Datasheet] |
− | * [https:// | + | * [https://product.tdk.com/system/files/dam/doc/product/sensor/mortion-inertial/gyro/data_sheet/itg-3200-datasheet.pdf ITG-3200 Product Specification] |
− | * [https:// | + | * [https://cdn-shop.adafruit.com/datasheets/HMC5883L_3-Axis_Digital_Compass_IC.pdf HMC5883L Datasheet] |
− | * [https:// | + | * [https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf BMP085 Datasheet] |
Latest revision as of 05:18, 3 October 2024
The DFRobot 10 DOF sensor module contains 4 different I²C sensors:
- Adxl345 accelerometer
- ITG3200 gyro
- HMC5883L Compass
- BMP085 pressure sensor
Each of these sensors will be handled on a separate page but a general overview follows on this page.
Schematics
DFRobot provides schematics for most of their product. The schematic for the 10 DOF board is this:
As can be seen, all four sensors are wired up to the same I²C bus. It's a pity the individual interrupt lines are not wired out to the header as that would have made the board a LOT more usable.
I²C bus
The four sensors show up on the I²C bus like this:
Scan i2c2 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 1e -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 53 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 77 -- -- -- -- -- -- -- --
ID | Device |
---|---|
0x1e | HMC5883L Compass |
0x53 | ADXL345 Accelerometer |
0x68 | ITG3200 Gyro |
0x77 | BMP085 Pressure/Temperature Sensor |