Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.
/ bmp280_pine64 Public archive

Program that captures data from BMP280 on Pine64 over I2C

Notifications You must be signed in to change notification settings

zeziba/bmp280_pine64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 

Repository files navigation

This program gets data from the BMP180 sensor. It uses a pine64 as its base.

In order to get this to work the following needs to be installed.

i2c-tools python3-dev python3-Adafruit-GPIO

RPi.GPIO also needs to be installed, if the pine64 is not working install the pine64 gpio library. https://github.com/swkim01/RPi.GPIO-PineA64

After those are installed the included Adafruit bmp280 library needs to be installed.

The program is able to run by overriding he Adafruit I2C library and forcing the program to return the correct setting for the BMP280 library to use. Once this is done the device is able to communicate correctly.

Import links for Pine64: http://joey.hazlett.us/pine64/pine64_pins.html

An example link for the database would be as follows

http://10.0.0.100:8000/data.sqlite

Above is just an example