Différences entre versions de « ENG-CANSAT-BMP280 »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 31 : Ligne 31 :
 
The sample code is available through the '''File''' menu under the sub-menu '''Example''' --> '''Adafruit BMP280 Library''' --> '''BMP280test'''.
 
The sample code is available through the '''File''' menu under the sub-menu '''Example''' --> '''Adafruit BMP280 Library''' --> '''BMP280test'''.
  
[[Fichier:ENG-CANSAT-BMP280-03.jpg|640px]]
+
[[Fichier:ENG-CANSAT-BMP280-03.png|640px]]
  
 
{{ENG-CANSAT-TRAILER}}
 
{{ENG-CANSAT-TRAILER}}

Version du 2 octobre 2018 à 17:09

Install the Library

Manual Installation

The Adafruit's BMP280 is provided with a library available on GitHub.

You can download and install the library manually by dowloading it from the BMP280 Repository.

Download-icon.pngDownload the BMP280 lib from the repository

Easier Installation

You can also use the "Library Manager" to ease the installation of the BMP280 library.

From the "Sketch" menu, select the sub-menu "Include library" --> "Library Manager" like shown on the picture here under.

ENG-CANSAT-BMP280-00.png

In the library manager, key-in the value "BMP280" in the search box. Then click on the install button in the front of the Adafruit BMP280 Library by Adafruit.

ENG-CANSAT-BMP280-01.png

Great, the library is now installed!

Wiring the sensor

xxx

Testing the sensor

The sensor can be easily tested with the Adafruit Example code (installed with the library).

The sample code is available through the File menu under the sub-menu Example --> Adafruit BMP280 Library --> BMP280test.

ENG-CANSAT-BMP280-03.png


Written by Meurisse D. from MC Hobby - License: CC-SA-BY.