Recently I bought DS18B20 senson in waterproof sonda like that.
The purpose of it is to be able to measure water temerature in aquarium.
In broader scope I'd like to build in future a remote aquarium management kit with Arduino and Raspberry Pi, that would measure water parameters, record them and expose online, as well as manage light, feading, etc. remotely.
How to use DS18B20?
First you need to install 3rd party library of Dallas Temperature.
Download the zip from GitHub and extract in Arduino lib folder -
libraries can be installed as described here.
So i got:
~/sketchbook/libraries/DallasTemperature/DallasTemperature.cpp
~/sketchbook/libraries/DallasTemperature/DallasTemperature.h
I restart Arduino IDE and save program source:
No comments:
Post a Comment