Рет қаралды 9,373
This covers Wiring, programing, and using the DS18b20 digital thermometers to monitor and log the temperature in your Reef aquarium
Part3 of my How-to series for Arduino Mega and Raspberry Pi based DIY Aquarium Controller.
_______
|DS18b20|
| front |
---------
/ | \
/ | \
(black)gnd | | | +5v (red)
(yellow)sig | |
| |
4.2k resistor between 5v and signal
note: library order can matter - the new DallasTemperature.h library broke the code - the fix was to load it BEFORE the OneWire.h library
Links: (I have no affiliation with these vendors, they are just provided to be useful)
Tyda - To buy components, including DS18b20 and DuPont wafer connectors:
www.taydaelect...
Ebay - waterproof DS18b20:
www.ebay.com/s...
Crimping tool:
www.banggood.c...
Ds18b20 white paper:
datasheets.max...
My Main tank controller code, so far (v02):
create.arduino...
Arduino Create Website:
create.arduino...
Subscribe Now!
www.youtube.co...