Difference between revisions of "DFRobot 10 DOF"

From Stm32World Wiki
Jump to navigation Jump to search
 
(26 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}}{{metadesc|STM32 WS2812b library using PWM and DMA}}[[File:DFRobot 10 DOF v1.0.jpg|thumb|300px]]
+
[[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 [[I2C]] sensors:
+
The DFRobot 10 DOF sensor module contains 4 different [[I²C]] sensors:
  
 
# Adxl345 accelerometer
 
# Adxl345 accelerometer
 
# ITG3200 gyro
 
# ITG3200 gyro
 
# HMC5883L Compass
 
# HMC5883L Compass
# BMP280 pressure sensor
+
# [[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:
 +
 
 +
<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://ipfs.io/ipfs/QmQE32BsvddH6Zg2V2X1woXPyBZxG9DoZZSfZx7dHWF3wF/ADXL345-EP.pdf ADXL345-EP Datasheet]
+
* [https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf ADXL345 Datasheet]
* [https://ipfs.io/ipfs/QmUi4EmwjuxEdNTCRG8PEG6dEgpzSjtjQwwCFEy5VD1Kgr/2645523.pdf ITG-3200 Product Specification]
+
* [https://product.tdk.com/system/files/dam/doc/product/sensor/mortion-inertial/gyro/data_sheet/itg-3200-datasheet.pdf ITG-3200 Product Specification]
* [https://ipfs.io/ipfs/QmWr88g7qNMLqSyAyi6f6FzgQF1CVsJ5FtD8ja24cb9iPf/1683374.pdf HMC5883L Datasheet]
+
* [https://cdn-shop.adafruit.com/datasheets/HMC5883L_3-Axis_Digital_Compass_IC.pdf HMC5883L Datasheet]
* [https://ipfs.io/ipfs/QmPEDbabkgaNuaJDXMwQMRZu1cdz8yP4e6LvgWSZP9cUgo/BST-BMP085-DS000-05.pdf BMP085 Datasheet]
+
* [https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf BMP085 Datasheet]

Latest revision as of 06:18, 3 October 2024

DFRobot 10 DOF v1.0.jpg

The DFRobot 10 DOF sensor module contains 4 different I²C sensors:

  1. Adxl345 accelerometer
  2. ITG3200 gyro
  3. HMC5883L Compass
  4. 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:

10 DOF Schematic.png

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

Adxl345 Accelerometer

ITG3200 Gyro

ITG3200 Documentation

HMC5883L Compass

BMP085 Pressure/Temperature Sensor

Miscellaneous Links