Arduino OKY3259-1 GY-BMP280: Difference between revisions
From wikiluntti
m (→Theory) |
|||
(4 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. | GY-91 or OKY3259-1 includes BMP280 and MPU-9250 chips. | ||
Line 18: | Line 20: | ||
<youtube>N1Mva_A5D7s</youtube> | <youtube>N1Mva_A5D7s</youtube> | ||
=== Connection === | === Connection === | ||
*VIN | |||
*3V3 | *VIN. Power supply: 5V | ||
*3V3. Power supply: 3.3V | |||
*GND | *GND | ||
*SCL | *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 | *SDA. I<sup>2</sup>C Data or MOSI pin for SPI | ||
* | *SDO/ SAO. Address adjust pin | ||
*NCS | *NCS. Select only MPU-9250 | ||
*CSB | *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 === | === 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