Arduino OKY3259-1 GY-BMP280: Difference between revisions
From wikiluntti
m (→Introduction) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
[[File:Gy-91.png|thumb]] | |||
GY-91 or OKY3259-1 includes BMP280 and MPU-9250 chips. | |||
* https://www.okystar.com/product-item/gy-bmp280- | Accelerometer, gyroscope, magnetic field, pressure, (temp?) Includes Bosch BMP280 sensor <ref> [https://www.bosch-sensortec.com/products/environmental-sensors/pressure-sensors/bmp280/ Bosch]</ref> for pressure and temperature and MPU-9250 for inertia<ref>https://invensense.tdk.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf</ref>. | ||
* https://www.okystar.com/product-item/gy-91-mpu-9250-bmp280-10dof-gyro-compass-9-axis-acceleration-sensor-module-oky3259-3/ | |||
* https://www.tme.eu/en/details/oky3259-3/position-sensors/okystar/ | * https://www.tme.eu/en/details/oky3259-3/position-sensors/okystar/ | ||
* https://www.tme.eu/Document/b956c2c642c186553e2bc647710b8dcc/ACCELEROMETER.txt https://www.youtube.com/watch?v=To7JagpPDwY | * https://www.tme.eu/Document/b956c2c642c186553e2bc647710b8dcc/ACCELEROMETER.txt https://www.youtube.com/watch?v=To7JagpPDwY | ||
* | * https://invensense.tdk.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf | ||
<references/> | <references/> | ||
Line 13: | Line 16: | ||
== Theory == | == Theory == | ||
https://electropeak.com/learn/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino/ | |||
<youtube>N1Mva_A5D7s</youtube> | |||
=== Connection === | |||
*VIN. Power supply: 5V | |||
*3V3. Power supply: 3.3V | |||
*GND | |||
*SCL. [https://en.wikipedia.org/wiki/I%C2%B2C%20I2C I<sup>2</sup>C] Clock or [https://en.wikipedia.org/wiki/Serial_Peripheral_Interface SPI] clock | |||
*SDA. I<sup>2</sup>C Data or MOSI pin for SPI | |||
*SDO/ SAO. Address adjust pin | |||
*NCS. Select only MPU-9250 | |||
*CSB. Select only bMP-280. | |||
[https://en.wikipedia.org/wiki/I%C2%B2C I2C] is appropriate for peripherals where simplicity and low manufacturing cost are more important than speed. | |||
[[File:Arduino gy-91.svg|thumb|Connection]] | |||
==== Connect to Arduino ==== | |||
Arduino pins 4 and 5 are hardwired, see https://stackoverflow.com/questions/57582626/changing-wire-librarys-hardware-i2c-pins-for-custom-arduino#57582678 | |||
Arduino Board has SCL and SDA pins on the digital side. Those pins work too. | |||
=== Arduino Libraries === | |||
Install | |||
* https://github.com/adafruit/Adafruit_BMP280_Library | |||
* https://github.com/asukiaaa/MPU9250_asukiaaa |
Latest revision as of 14:46, 17 October 2021
Introduction

GY-91 or OKY3259-1 includes BMP280 and MPU-9250 chips.
Accelerometer, gyroscope, magnetic field, pressure, (temp?) Includes Bosch BMP280 sensor [1] for pressure and temperature and MPU-9250 for inertia[2].
- https://www.okystar.com/product-item/gy-91-mpu-9250-bmp280-10dof-gyro-compass-9-axis-acceleration-sensor-module-oky3259-3/
- https://www.tme.eu/en/details/oky3259-3/position-sensors/okystar/
- https://www.tme.eu/Document/b956c2c642c186553e2bc647710b8dcc/ACCELEROMETER.txt https://www.youtube.com/watch?v=To7JagpPDwY
- https://invensense.tdk.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf
Theory
https://electropeak.com/learn/interfacing-gy-91-9-axis-mpu9250-bmp280-module-with-arduino/
Connection
- VIN. Power supply: 5V
- 3V3. Power supply: 3.3V
- GND
- SCL. I2C Clock or SPI clock
- SDA. I2C Data or MOSI pin for SPI
- SDO/ SAO. Address adjust pin
- NCS. Select only MPU-9250
- CSB. Select only bMP-280.
I2C is appropriate for peripherals where simplicity and low manufacturing cost are more important than speed.

Connect to Arduino
Arduino pins 4 and 5 are hardwired, see https://stackoverflow.com/questions/57582626/changing-wire-librarys-hardware-i2c-pins-for-custom-arduino#57582678
Arduino Board has SCL and SDA pins on the digital side. Those pins work too.
Arduino Libraries
Install