Difference between revisions of "Arduino OKY3259-1 GY-BMP280"

From cod3v
 
(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
*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.
 
[[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 04:46, 17 October 2021

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.

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.