Skip to content

Read the temperature and relative humidity from a Pine64 PMSD001 sensor

License

Notifications You must be signed in to change notification settings

gregarmer/pine64-temp-humidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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