Arduino OKY3259-1 GY-BMP280: Difference between revisions
From wikiluntti
m (→Introduction) |
|||
(One intermediate revision by the same user not shown) | |||
Line 20: | Line 20: | ||
<youtube>N1Mva_A5D7s</youtube> | <youtube>N1Mva_A5D7s</youtube> | ||
=== Connection === | === Connection === | ||
*VIN. Power supply: 5V | *VIN. Power supply: 5V | ||
Line 35: | Line 38: | ||
[[File:Arduino gy-91.svg|thumb|Connection]] | [[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 === | === Arduino Libraries === |
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