Skip to content

Monitoring project using a RaspberryPi Zero with DS18B20 temperature sensors and YF-S201 water control flow meters.

License

Notifications You must be signed in to change notification settings

DonavanMartin/DS18B20_YF-S201_RaspberryPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS18B20_YF-S201_RaspberryPi

This project can be use as a RaspberryPi temperature sensor(DS18B20) and water flow meter(YF-S201) example.

YF-S201

Rasperry Pi pinout

2 - 5volts
6 - GND
8 - Data (flowmeter1)
10 - Data (flowmeter2)

Run

$ cd YF-S201 && python main.py -pin 8

DS18B20

install

$ cd DS18B20/ && bash install.sh
You can test with this command:
$ cat /sys/bus/w1/devices/28-XXXXXXXXXXXX/w1_slave

Rasperry Pi pinout

1 - 3.3volts
6 - GND
7 - Data

Run

$ cd DS18B20 && python main.py

InfluxDB

Install

$ cd InfluxDB/ && bash install.sh
You should be now able to open:
http://localhost:8083

Grafana

You can install Grafana via this command line:
$ cd Grafana/ && bash install.sh
You should be now able to open:
http://localhost:3000

This file is a dashboard example:
$ cat Grafana/telemetry.json

Start at boot

$ sudo nano /etc/rc.local
Add lines before "exit 0":
python /home/pi/DS18B20_YF-S201_RaspberryPi/DS18B20/main.py &
python /home/pi/DS18B20_YF-S201_RaspberryPi/YF-S201/main.py &
more info

PiOLED

Install

$ cd PiOLED/ && bash install.sh
-->Enable I2C interface when 'raspi-config' interface pop up.
For testing, see examples in folder:
$ ls Adafruit_Python_SSD1306/examples

About

Monitoring project using a RaspberryPi Zero with DS18B20 temperature sensors and YF-S201 water control flow meters.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published