Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Pine 64 - Temperature / Humidity Reader

This code reads the temperature and relative humidity from a Pine64 I2C PMSD001 sensor.

It's wired up via the Pi 2 bus as follows:

  • Pin 3 - SDA
  • Pin 4 - DC 5V
  • Pin 5 - SCL
  • Pin 6 - GND

Usage

$ go build -o reader main.go
$ ./reader
temp=32.32 humidity=73

Useful Resources

About

Read the temperature and relative humidity from a Pine64 PMSD001 sensor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages