Help me for Some Code (temperature controller)

Status
Not open for further replies.

canal

Newbie level 1
Joined
Jun 30, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
22
Hy everybody, nice for share.
i have idea to create a simple tool, but i don't know how to create code for this tool
For specification:
Minimum system with microcontroller Atmel family, like at89s53
4 switch button in port P 1.0 - P 1.3
-button in port 1.0, i said Set
-button in port 1.1, i said increase
-button in port 1.2, i said decrease
-button in port 1.3, i said enter

i have LCD display at port P0.0 - P0.7
Rs ->P3.5
R/W ->P3.6
EN ->P3.7

i have 2 Relay at port P 2.6 and port P 2.7
-Relay in P 2.6 for control bulb
-Relay in P 2.7 for control fan

I have temperature sensor(DS1820) in port P3.0

Now, for logic:
real time temperatur check and display in LCD,

With switch button, I can set temperature.
Push set button, and choose temperatur (from 0°C - 100°c) with increase(temperatur down) or decrease (temperature up).
If temperature set, microcontroller checking temperature with sensor.
if temperature is higher as than set, Bulb is off, if temperature normal, Bulb back on.

Fan on in every 5 minutes, just 1 minutes working and off again

display in LCD
===================================
| Set : 38°c |
| Temp: °C? |
===================================
*Set is Temperature set
*Temp is real time check with sensor
anybody can give some code for this tools?
Sorry for my bad language, and thanks so much
 

dear canal,

i think you have familiar with ADC.If you like to do it as yourself, first you have to study to interface ADC with micro controller. after that we can move for further process. ADC is the main concept used here.

and also mention what type of help you are expecting???

best regards,
 


DS1820 is digital. You not need to learn ADC you need only digital. this link will be helpful for you

**broken link removed**

start and any problem you facing we will help you
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…