MySensors offers two temperature sensors:
For a large network your best bet is the standard Dallas DS18B20.
It's accurate, inexpensive and you can connect many of them in parallel without using more than one digital input on the Arduino board. One Arduino pin can support 16 sensors!
They come in several variants: probe, individual, brick and a waterproof version.
Per Arduino you will also need a small pull-up resistor to make the circuit work. It is usually around 4,7kOhm.
Start by connecting the radio module. This is the same proces for every MySensors node.
Next, connect the pins (with the flat side of the sensor facing you):
Sensor Arduino Comment GND (left pin) GND Marked black VCC (right pin) VCC (3.0-5.5V) Marked red DQ (middle pin) Digital pin 3 Marked green
Next, mount a 4.7kOhm (4k7) resistor between VCC and Digital pin 3
Next, install your code. Here's an example to get you started:
Qty | Value | Device | Package | Parts | Description | MF | MPN | Aliexpress or Ebay link |
---|---|---|---|---|---|---|---|---|
1 | 1,69 | You need a 4,7k resistor. You can order them on Aliexpress. | AliExpress: 1 Pack 300Pcs 10 -1M Ohm 1/4w Resistance 1% Meta... | |||||
1 | 3,98 | You need a 4,7k resistor. You can order them on Ebay. | Ebay: http://www.ebay.com/itm/151335900231?rmvSB=true | |||||
1 | 2,59 | 5 | The Dallas sensors. Cheap and good. So why not get 5? | AliExpress: https://www.aliexpress.com/item//32236763433.htm... | ||||
1 | 6,27 | 10 | The Dallas Sensors. Cheap and Good. Get 10 from eBay? | Ebay: https://www.ebay.com/itm/381374984733?rmvSB=true | ||||
1 | 1,09 | Alternative: waterproof Dallas sensor. On Aliexpress. | AliExpress: https://www.aliexpress.com/item//32522322459.htm... | |||||
1 | Alternative: waterproof Dallas sensor. On Ebay. | Ebay: http://www.ebay.com/itm/350930753839?rmvSB=true |
Name | Size | # Downloads |
---|---|---|
DS18B20.pdf | 333.51 kB | 371 |