Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

wbrp/particle-ds18b20-firmware

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Water Temperature Sensors

This project aims at building a network of internet-connected water temperature sensors around the Zürichsee using the Particle Electron.

The prototype is a regular indoor temperature sensor using the Particle Photon.

Photon Setup

Install the Particle CLI: https://docs.particle.io/core/cli/

Log in to your Particle account:

$ make login

Set up your device:

$ make setup

Flashing

To flash the firmware to a Particle Photon, first list the available Photons:

$ make list

Then flash the current directory through the cloud:

$ make DEVICE=<0123456789ABCDEFGHI> flash-ota

...or via USB:

$ make DEVICE=<0123456789ABCDEFGHI> flash-usb

(Replace the device id with the id found in the first command output.)

Viewing temperature

To display the measured temperature:

$ make DEVICE=<0123456789ABCDEFGHI> temp

Wiring

To wire a DS18B20 sensor to the Photon:

  • VCC (usually red) -> 3.3V
  • GND (usually black or blue) -> GND
  • Data (usually yellow or white) -> D0
  • 4.7k resistor from Data to VCC

Links

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.3%
  • Other 15.1%
  • Makefile 2.6%