Skip to content

Raspberry PI Thermometer using Wire Digital Temperature Sensor

Notifications You must be signed in to change notification settings

vishen/raspberrypi-thermometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry PI Thermometer

A thermometer using the Raspberry PI and Wire Digital Temperature Sensor.

After following the prerequisites, and attaching the temperature sensor; the code will grab the device id, and print out the temperature to stdout.

Prerequisite

Building for Raspberry PI

$ GOOS=linux GOARCH=arm GOARM=7 go build -o ./build/armv7-linux/thermometer

Running

$ pi@raspberrypi:~/raspberrypi-thermometer $ ./build/armv7-linux/thermometer
Temperature: 16.625
Temperature: 16.687
Temperature: 16.625
Temperature: 16.687
Temperature: 16.625
Temperature: 16.687
^C

About

Raspberry PI Thermometer using Wire Digital Temperature Sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages