Version 19 (modified by hek, 11 years ago) (diff) |
---|
Dallas Temperature Sensor
Software
You can download the Arduino sketch here:
http://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Arduino/libraries/Vera/examples/DallasTemperatureSensor?js=1
Wire things up
Follow the instructions in ConnectingRadioModule to connect radio module.
You can connect many DS18b20 in parallel if you want to collect several temperatures (they will be presented as separate devices in Vera). In the sketch provided I've used digital pin 2 for input.
You need connect a pull-up resistor like the picture show.
If you're still confused on how to wire up multiple DS18B20 please check out this page:
http://klinkfamilyadventures.blogspot.se/2012/06/solar-hot-water-temperature-monitoring.html
Hardware - Purchase guide
To build this sensor you'll need one arduino + radio specified in the base kit found here:
http://code.mios.com/trac/mios_arduino-sensor/wiki/WikiStart#Buyingguide
With the following additional parts:
1x Waterproof DS18b20 temperature sensor
http://www.aliexpress.com/item/5pcs-lot-Waterproof-DS18b20-temperature-probe-temperature-sensor-Stainless-steel-package-100cm-wire/520592929.html
TOTAL SENSOR PRICE: $7.6 (arduino + radio) + $1.66 (dallas temperature probe) = $9.3