Skip to content

evertharmeling/arduino-DS18S20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

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.

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Other 100.0%