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
- Host: GitHub
- URL: https://github.com/evertharmeling/arduino-ds18s20
- Owner: evertharmeling
- Created: 2013-12-27T00:09:57.000Z (almost 12 years ago)
- Default Branch: develop
- Last Pushed: 2014-09-04T21:15:16.000Z (over 11 years ago)
- Last Synced: 2025-06-17T22:05:42.819Z (6 months ago)
- Language: Arduino
- Size: 465 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

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.