An open API service indexing awesome lists of open source software.

https://github.com/evertharmeling/arduino-ds18s20

Reads temperature with DS18S20 sensor(s) and an Arduino Uno
https://github.com/evertharmeling/arduino-ds18s20

Last synced: 5 months ago
JSON representation

Reads temperature with DS18S20 sensor(s) and an Arduino Uno

Awesome Lists containing this project

README

          

Read temperature in degrees Celsius with a (or more) DS18S20 temperature sensor and an Arduino Uno
=====

### Sensors used: ###
Temperatuursensor Hygrosens Temperatuursensor M10, kabel 2 m. -55 tot 125 °C. Soort behuizing Roestvrijstalen sensorbuis.

M10 Temperature Sensor

You can get this at [Conrad](http://www.conrad.nl/ce/nl/product/184082/Temperatuursensor-Hygrosens-Temperatuursensor-M10-kabel-2-m-55-tot-125-C-Soort-behuizing-Roestvrijstalen-sensorbuis/SHOP_AREA_37353?).

### Electrical schema ###

@todo add image

Basically you put **5V**, **Ground** and **Control Wire (PIN 2)** on bread board (left side). You align your 5V, Ground and Control Wire of the Temperature Sensor directly (on right side). Between the 5V and Control Wire of Arduino and Sensor you put a **2.2K** resistor closest to the Arduino (since your only need one resistor if your using multiple sensors). Put one end of the resistor in the 5V and the other end in the Control Wire.
It's necessary to use a **2.2K** resistor since all other tutorials refer to a *4.7K* resistor, which doesn't work.

### Upload ###

Upload the code to your Arduino and you should see the temperature in your Serial Monitor (cmd + shift + M), prefixed with the sensors' HEX address.