Electronics

Electronics

Τετάρτη 4 Φεβρουαρίου 2015

Temperature Sensor

Here is a temperature sensor based on the DS18B20 by Dallas, this little chip can measure the temperature and through a mathematical equation it can convert voltage to temperature. After that we can show our results in celcius or fahrenheit scale. Of course all these are being processed by the AT-Mega 328 MCU (Arduino) though an analog input. In these 2 videos, the first shows our circuit running as a simple sensor. But in the second we set a threshold temperature (20 C) and then an action is being performed (a motor in our occasion).






Arduino code : https://www.dropbox.com/sh/7b270b5feiuu76g/AAAwWr5IAZg66h6xuUfntqNua?dl=0

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου