Arduino OKY3259-1 GY-BMP280: Difference between revisions

From wikiluntti
Line 21: Line 21:
=== Connection ===
=== Connection ===


*VIN
*VIN. Power supply: 5V
*3V3
*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
*SDC/ SAO
*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.


=== Arduino Libraries ===
=== Arduino Libraries ===

Revision as of 20:31, 7 September 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].

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.

Arduino Libraries

Install