Sign Up!
Login
Welcome to technofreek.com
Sunday, September 05 2010 @ 11:17 AM CDT

Programmable Temperature Sensor with LCD Display, Alarm

DIY Electronics

Programmable temperature sensor, core of circuit is Atmel microcontroller 89C51 and Dallas DS1822 is used as temperature sensor, 16x2 LCD module which displays temperature and two buttons which can be used accordingly depending on your requirement.

 


 

LCD Module is connected to Port 0, P0.0 through P0.7 and P2.5, P2.6 , P2.7

1wire temperature sensor is connected to P1.1, LED is connected to P1.0, Push buttons are connected to P1.2 and P1.3, Transistor T1 to P1.4, Device connected to P- and P+ can be switched on / off using P1.4.

This is kit does not include program, you may program as per your requirements.

 

 

Circuit Description:

 

89C51 Pins                        LCD Module:         

 

                                    Pin1    (LCD-SV1-1)     ->   GND

                                    Pin2    (LCD-SV1-2)     ->   VCC

                                    Pin3    (LCD-SV1-3)     ->   Contrast

P2.5 - (26)                     Pin4    (LCD-SV1-4 )    ->   RS

P2.6 - (27)                     Pin5    (LCD-SV1-5 )    ->   R/W

P2.7 - (28)                     Pin6    (LCD-SV1-6 )    ->   E

P0.7 - (32)                     Pin7    (LCD-SV1-7 )    ->   DB0

P0.6 - (33)                     Pin8    (LCD-SV1-8 )    ->   DB1

P0.5 - (34)                     Pin9    (LCD-SV1-9 )    ->   DB2

P0.4 - (35)                     Pin10  (LCD-SV1-10 )  ->   DB3

P0.3 - (36)                     Pin11  (LCD-SV1-11 )  ->   DB4

P0.2 - (37)                     Pin12  (LCD-SV1-12 )  ->   DB5

P0.1 - (38)                     Pin13  (LCD-SV1-13 )  ->   DB6

P0.0 - (39)                     Pin14  (LCD-SV1-14 )  ->   DB7

                                    Pin15  (LCD-SV1-15 )  ->   LED+

                                    Pin16  (LCD-SV1-16 )  ->   LED-

 

          LED / Buttons / Sensors

 

P1.0                             LED

P1.1                             1Wire Temp Sensor

P1.2                             Button

P1.3                             Button

P1.4                             Transistor Driver

 

 Schematic