EGG INCUBATOR TEMPERATURE CONTROL UNIT

Here is a full circuit diagram of automatic temperature controller for egg incubator.


 CIRCUIT DIAGRAM







COMPONENTS REQUIRED 

IC pic16f876a
Lm35
LCD 16*2
Transformer 12v
Diode-1N4007
Regulator LM7805
Capacitor
Resistors
Relay
Transistor SL100
LED
Bulb holder

Get the program updates..

PROGRAM

#Chip 16f876a, 16

dir porta.0 in

#define USART_BAUD_RATE 9600
#define LCD_IO 4
#define LCD_RS PORTB.0
#define LCD_RW PORTB.1
#define LCD_Enable PORTB.2
#define LCD_DB4 PORTB.3
#define LCD_DB5 PORTB.4
#define LCD_DB6 PORTB.5
#define LCD_DB7 PORTB.6



dir portc.6 out
dir portc.3 out
dir portc.2 out

dim test as word
DIM COMPARE AS WORD
COMPARE=35
dim analog as word
wait 1 s
LOCATE 0,0
PRINT "ELECTROTECHYS"
LOCATE 1,0
PRINT "MEDIA"
HSerPrint "ELECTROTECHYS MEDIA"
Wait 1 S
hserprint "_"
wait 3 s
CLS
    Do
    LOCATE 0,0
 print "INCUBATOR"
    if test>COMPARE then
 set portc.3 off
    WAIT 5 S
    else
    cls
    set portc.3 on
    end if
    analog=readad10(an0)
    test=analog*49/100
 hserprint test
    hserprint "...."
    LOCATE 1,0
    PRINT "TEMPERATURE:"
    PRINT test
    PRINT "`C"
wait 1 s
cls
   set portc.2 on
     loop

HEX CODE

:020000040000FA
:060000008A110A12052816
:1000080009003A224E22CD21831603130514071343
:1000180087110711233083120313A300A4010130B1
:10002800F4000821A801A701D322C530F20001304D
:10003800F3006330F7000430F8004024C530B700FF
:100048000130B800EB220130A800A701D322C53047
:10005800F2000130F3007130F7000430F80040245A
:10006800C530B7000130B800EB22C530F2000130CE
:10007800F3007730F7000430F8004024C530B700AB
:100088000130B8000130A50010210130F40008212A
:10009800C530F2000130F3008B30F7000430F8006F
:1000A8004024C530B7000130B8000130A500102148
:1000B8000330F4000821E520A801A701D322C530A8
:1000C800F2000130F3008D30F7000430F8004024CE
:1000D800C530B7000130B800EB223D08F9003E08F2
:1000E800FA002308F5002408F600C723701C8128AD
:1000F80087110530F40008218328E5208715A00121
:100108008B233008A1003108A2002108F50022083D
:10011800F6003130F900FA011A247008BB007108A2
:10012800BC003B08F5003C08F6006430F900FA0111
:10013800D6237508BD007608BE003D08B3003E080A
:10014800B4000130A5003221C530F2000130F300BF
:100158009730F7000430F8004024C530B70001306C
:10016800B8000130A50010210130A800A701D32252
:10017800C530F2000130F3009C30F7000430F8007D
:100188004024C530B7000130B800EB223D08AA0072
:100198003E08AB000A23C530F2000130F300A93055
:1001A800F7000430F8004024C530B7000130B8002B
:1001B800EB220130F4000821E520071560286300D0
:1001C800E32806100130A60060220430F200F30193
:1001D800FA208030A60060220C30F500F3280C309D
:1001E800F000F00BF528F50BF3280800F30A6C3043
:1001F800F1000B30F000F00BFF28F10BFD28F20B9B
:10020800FB28F30BFB280800E830F2000330F3006A
:10021800FA20F40B082908003708840083133818DB
:1002280083170008AF00AF0803193129B90101305D
:100238002F02031C3129B90A3908370784008313B0
:10024800381883170008B200C6210130F200F30104
:10025800FA202F083902031C1F290800AE013308B1
:10026800F5003408F6001030F9002730FA00C723EB
:10027800F009701C57293308F5003408F6001030CF
:10028800F9002730FA00D6237508AE007008B300CD
:100298007108B40030302E07B200C6210130F200D8
:1002A800F301FA2063293308F5003408F600E83032
:1002B800F9000330FA00C723F009701C7B293308C2
:1002C800F5003408F600E830F9000330FA00D623C8
:1002D8007508AE007008B3007108B40030302E07FE
:1002E800B200C6210130F200F301FA208629330852
:1002F800F5003408F6006430F900FA01C723F00964
:10030800701C9D293308F5003408F6006430F900A4
:10031800FA01D6237508AE007008B3007108B4005E
:1003280030302E07B200C6210130F200F301FA2066
:10033800A8293308F5003408F6000A30F900FA0154
:10034800C723F009701CBE293308F5003408F600ED
:100358000A30F900FA01D6237508AE007008B30018
:100368007108B40030302E07B200C6210130F20007
:10037800F301FA2030303307B200C6210130F20011
:10038800F301FA282503031DCC2932089900080037
:100398000800831603130610061186100A30F200AF
:1003A800F30183120313FA20B522A9080319D829E7
:1003B800061083160313861106128612061383127B
:1003C800031386100F30F200F301FA208615061683
:1003D800861206130230F000F00BF0290000061513
:1003E8000230F000F00BF629000006110530F2008B
:1003F800F301FA200330BA0006150230F000F00BC2
:10040800032A000006110130F100F001F00B0A2A5E
:10041800F10B092A0930F000F00B102ABA0B002A58
:100428000530F200F301FA2086110616861206132B
:100438000230F000F00B1E2A000006150230F00012
:10044800F00B242A000006114230F000F00B2A2A93
:1004580000002830A60060220630A60060220C307A
:10046800A6006022E5200C30AD00080083160313B7
:100478009F13831203131F10831603139F111F1555
:100488009F141F1007309C008312031385018601F7
:10049800870108000130A50067308316031399000F
:1004A80018151812831203139817181683160313B6
:1004B8009816831203130800B522A9080319602AA5
:1004C80086108316031386110612861206138312EA
:1004D80003138611061286120613A61B0617261B7F
:1004E8008616A61A0616261A86157A2A7B2A06154D
:1004F8000230F000F00B7E2A000006110230F000F6
:10050800F00B842A00008611061286120613A6191B
:10051800061726198616A618061626188615942A6A
:10052800952A06150230F000F00B982A00000611F3
:100538000230F000F00B9E2A000006138612061205
:1005480086116A30F000F00BA72A0000103026024E
:100558000318B42A2608073C0318B42A2608AD0055
:100568000800A9013611061836158614061005303C
:10057800F500F32006150530F500F3208316031364
:10058800061783120313061BCB2AFF30A900061196
:100598001930F500F3200610361906140800061065
:1005A8002808013C0318DC2A0230A8021430A707E7
:1005B8002808F5004030F9000E2427087007BB0012
:1005C80080303B04A60060220530F500F328370888
:1005D80084008313381883170008AF00AF08031985
:1005E80008000614B90101302F02031C092BB90AAF
:1005F8003908370784008313381883170008A600C2
:1006080060222F083902031CFB2A08000614AC01DB
:100618002A08F5002B08F6001030F9002730FA00F8
:10062800C723F009701C2C2B2A08F5002B08F600AC
:100638001030F9002730FA00D6237508AC0070088E
:10064800AA007108AB0030302C07A6006022382BB6
:100658002A08F5002B08F600E830F9000330FA0004
:10066800C723F009701C4C2B2A08F5002B08F6004C
:10067800E830F9000330FA00D6237508AC0070089A
:10068800AA007108AB0030302C07A6006022572B57
:100698002A08F5002B08F6006430F900FA01C72390
:1006A800F009701C6A2B2A08F5002B08F600643044
:1006B800F900FA01D6237508AC007008AA00710881
:1006C800AB0030302C07A6006022752B2A08F500F5
:1006D8002B08F6000A30F900FA01C723F009701C4C
:1006E800872B2A08F5002B08F6000A30F900FA01D2
:1006F800D6237508AC007008AA007108AB0030302A
:100708002C07A600602230302A07A600602A83162C
:1007180003139F179F111F119F101F101F13831280
:1007280003139F131F179F111F129F1220189F1545
:10073800A0181F1620199F161F140230F500F32069
:100748001F1500001F19A62B1F10831603139F11D6
:100758001F159F141F101E0883120313B000B10148
:100768001E08B100831603139F1383120313080096
:10077800F00175087902031D080076087A02031D46
:100788000800F0090800F00176087A02031C080046
:100798007A087602031CD42B79087502031808001E
:1007A800F00908007508F7007608F8007908FB00DA
:1007B8007A08FC00F201F3017B08F5007C08F600DA
:1007C800F901FA01BC23701CEC2BF501F6010800B5
:1007D8001030F4000310F70DF80DF20DF30D7B083F
:1007E800F2027C08031C013EF30277140318032C61
:1007F80077107B08F2077C080318013EF307F40B17
:10080800EE2B7708F5007808F6007208F0007308F8
:10081800F1000800F00175087918F0070310F90CC9
:100828000310F50DF908031D0F2C08007508F700D3
:100838007608F8007908FB007A08FC00F201F30159
:100848007B1C2C2C7708F20778080318013EF30765
:100858000310FC0CFB0C0310F70DF80D7B08F900D6
:100868007C08FA00F501F601C7237018242C7208D9
:10087800F0007308F10008007208840083137318ED
:1008880083175C24F5008000F207532C720884005B
:100898008313731883175C24F500F607F207F5082D
:1008A800031908005C24840A8000F50B562C080004
:1008B80078088A007708F70A0319F80A82000D34C5
:1008C80045344C3445344334543452344F3454341E
:1008D8004534433448345934533405344D3445345D
:1008E800443449344134133445344C344534433466
:1008F800543452344F3454344534433448345934DE
:10090800533420344D34453444344934413401346B
:100918005F34093449344E34433455344234413415
:1009280054344F34523404342E342E342E342E346E
:100938000C34543445344D345034453452344134F5
:1009480054345534523445343A34023460344334E0
:02400E007A3FF7
:00000001FF



Comments

Popular posts from this blog

ARDUINO-ALANWALKER-FADE

ARDUINO MUSIC PLAYER