Sıcaklık Okuma ! (Elektronik Termostat) V1


cay_robotuSıcaklık Okuma ! (Elektronik Termostat) V1

Çay makinalarındaki anolog termostatların kararsız kalamaları ve suyun net olarak isteden sıcaklığa ayarlanmasının zor olmasından ötürü böyle bir proje hazırlamaya başladım. Henüz projemin V1 versiyonu olduğundan ötürü projem tam anlamıyla bitmiş değil.

Devrede 16F887 microcontroller 2×16 LCD ve DS1820 ısı sensörü kullanılmıştır…
Microcontroller programı C dilinde mikroC de yazılmıştır.

Devrenin Çalışması;
LCD’de gösterilen bir açılış ekranından sonra program DS18B20’den alınan ısı değerinin LCD de gösterilmesi ve bir “kıyaslama” alt döngüsü ile önceden belirlenen bir değerde (ben uygulama sırasında pratik olması açısından sıcaklık değerini elimin ısısı ile değiştirebilmek için 30 derece olarak belirledim. Bunu istenen dereceye ayarlamak elbetteki mümkün!) kıyaslama yaparak program su sıcaklığı için “SOGUK” veya “SICAK” yorumunu getiriyor. SOGUK değeri için 16F887nin RA0, SICAK değeri için 16F887nin RA1 değeri aktif oluyor.

hex kodları aşağıdaki gibidir;

:020000003B2C97
:06000600000000000800EC
:10000C000F3083120313FC004730FD00FD0B0C284E
:0A001C00FC0B0C2800000000080097
:0E002600213083120313FD00FD0B1728080084
:1000340083160313DA1B21288312861123288312C3
:10004400861583165A1B2928831206112B2883121E
:1000540006158316DA1A3128831286103328831280
:10006400861483165A1A3928831206103B288312E1
:1000740006146E183F28061640280612861603201A
:1000840086128316DA194928831286114B288312A3
:10009400861583165A195128831206115328831280
:1000A40006158316DA185928831286105B288312E2
:1000B400861483165A186128831206106328831243
:1000C40006146E186728061668280612861603207A
:0E00D40086126E1C6F2806207028132008006C
:1000E200831203136E1083165908DA001A206E1455
:0200F200080004
:1000F400023083120313FC004930FD00FD0B8028FD
:0A010400FC0B80280000000008003A
:10010E00333083120313FD00FD0B8B28000000001B
:02011E000800D7
:100120008316031386120612061086100611861116
:1001300083128612061286110611861006100620FA
:100140000620062086140614861603208612062032
:1001500086160320861206208616032086120620A5
:1001600006108616032086120620861603208612A5
:100170008610861586160320861206208611061420
:100180008616032086120610861603208612062085
:100190008616032086120614861603208612062071
:1001A0000610861603208612861506158614061478
:0C01B00086160320861206206E1408003C
:1001BC0083120313F801F9011030FC00710DF80DD6
:1001CC00F90D7408F8027508031C750FF902031871
:1001DC00F6287408F80775080318750FF90703104B
:0A01EC00F00DF10DFC0BE4280800F3
:1001F600831603135408F1000130F0007108031947
:100206000829F00D7010FF3E02297008D800F00989
:100216007008D70053088400700880058417D6013B
:100226005608073C031C2E295608F0005508F10015
:10023600700803192229F10CF113FF3E1C295708F7
:100246008005711C282958088004872083165808C1
:0E0256008004D60A13298413132013200800F5
:0E026400831203136D088A006C0882000800E4
:100272004B29803083160313D3005E29C030D3008C
:100282005E299430D3005E29D430D3005E298030B9
:10029200D3005E29831603135308013A03193A293E
:1002A2005308023A03193F295308033A0319422912
:1002B2005308043A0319452948295403F000530806
:1002C200F0077008D30083126E1470088316DA00E8
:1002D2001A206E1083165508DA001A206E140800D0
:1002E200831603135408F1000130F000710803195A
:1002F2007E29F00D7010FF3E78297008D600F009B3
:1003020053088400700880058417700880057A20DD
:100312008316560880048413872083165608000526
:10032200D5005508003A013003190030D5007A2073
:0803320083165508F0000800D5
:10033A0083120313FB01FA01F9018030F800F10C72
:10034A00F00C031CB1297408F90775080318750F16
:10035A00FA070318FB0A0310F01FB9297408FA07F1
:10036A0075080318750FFB07FB0CFA0CF90CF80C4F
:10037A00031CA4297B08F3007A08F2007908F1002B
:06038A007808F0000800F5
:1003900083120313F8010830FC00700DF80D740887
:1003A000F8020318D529F8070310F00DFC0BCD292E
:0203B000080043
:1003B200EB29803083160313D300FE29C030D3000B
:1003C200FE299430D300FE29D430D300FE29803098
:1003D200D300FE29831603135308013A0319DA29BD
:1003E2005308023A0319DF295308033A0319E22991
:1003F2005308043A0319E529E8295403F000530885
:10040200F0077008D3007008DA001A206E10831605
:10041200D60156085507840000080319192A560800
:10042200550784000008D90071208316D60A0A2ACB
:0604320083126E140800A5
:10043800831603135408F1000130F0007108031902
:10044800292AF00D7010FF3E232A7008D800700981
:10045800D70053088400D601D5015508073C031C72
:10046800562A57088005841757088005032058081E
:1004780080040320841358080005F0000319512A4A
:100488005508F1000130F000710803194F2AF00DEA
:100498007010FF3E492A7008D604132013208316D3
:0A04A800D50A312A5608F0000800BA
:1004B2000030831603134F02031D612A3C304E02A3
:1004C20003186D2A0130D3000C30D4005930D50006
:1004D200D92101308500772A01308316D3000C30F0
:0E04E200D4005F30D500D9210230850008001B
:1004F000902001308316DA001A200C308316DA00BF
:100500001A2001308316D3000630D4002030D500E5
:10051000D9210B30FB002630FC005D30FD00FD0BC7
:100520008F2AFC0B8F2AFB0B8F2A0000000006305D
:10053000FB001330FC00AD30FD00FD0B9D2AFC0BD1
:100540009D2AFB0B9D2A0000000001308316DA0073
:100550001A2001308316D3000130D4002630D50094
:10056000D92102308316D3000330D4003730D500B0
:10057000D9210B30FB002630FC005D30FD00FD0B67
:10058000BF2AFC0BBF2AFB0BBF2A0000000006306D
:10059000FB001330FC00AD30FD00FD0BCD2AFC0B41
:1005A000CD2AFB0BCD2A0000000001308316DA00B3
:1005B0001A2001308316D3000430D400AB30D500AC
:1005C000D92102308316D3000430D400A030D500E6
:1005D000D9210B30FB002630FC005D30FD00FD0B07
:1005E000EF2AFC0BEF2AFB0BEF2A0000000006307D
:1005F000FB001330FC00AD30FD00FD0BFD2AFC0BB1
:10060000FD2AFB0BFD2A0000000001308316DA00F2
:100610001A2001308316D3000330D400B630D50041
:10062000D92102308316D3000430D400C330D50062
:10063000D9213330FB00BB30FC00DF30FD00FD0B67
:100640001F2BFC0B1F2BFB0B1F2B00000000063089
:10065000FB001330FC00AD30FD00FD0B2D2BFC0B1F
:100660002D2BFB0B2D2B0000000001308316DA0030
:040670001A20080044
:10067400093083160313D3000230D40071210930EA
:10068400D3000230D400CC30D500FB2009308316CF
:10069400D3000230D4004430D500FB204F30FD009D
:1006A400FD0B522B0000000009308316D3000230EA
:1006B400D40071210930D3000230D400CC30D500ED
:1006C400FB2009308316D3000230D400BE30D5009D
:1006D400FB2009308316D3000230D4001C2270089A
:1006E400CE00CF010930D3000230D4001C227008A0
:1006F400F200F1017108CE0772080318013ECF071A
:10070400D11F8F2B8312650884002D30800083163F
:10071400D009D109D00A0319D10A5008F0005108B0
:10072400F100F10CF00CF11370088312EF00643047
:10073400F400C82170080319B02B65088316D20091
:100744006430F40083126F08F000C8213030F007E1
:1007540083165208840070088000B52B8312650844
:100764008400303080008312650A8316D2000A3078
:10077400F40083126F08F000C8210A30F400C82185
:100784007808F0003030F0078316520884007008AF
:1007940080000230831265078316D2000A30F40009
:1007A40083126F08F000C8217808F0003030F00799
:1007B400831652088400700880005008F000510825
:1007C400F100F00DF10D7010F00DF10D7010F00D41
:1007D400F10D70100F30F0050030F1057130F400A8
:1007E4000230F5009D21043065078316D200E830FD
:1007F400F4000330F500DE203030F0078316520891
:100804008400700880000130D3000130D4004E30E1
:10081400D500D92102308316D3000130D4004530ED
:10082400D500D92102308316D3000A30D4008312B4
:1008340065088316D500D92102308316D3000F3002
:10084400D400DF30D500392102308316D3001030B4
:0A085400D4004330D500392108001C
:10085E0032218A110A128000840AEC0A0319ED0A69
:08086E00F003031D2F2C08000C
:10087600F6248316031788018901831287138813C8
:100886008316031385017822902001308316DA003F
:100896001A200C308316DA001A2002308316D30091
:1008A6000F30D400DF30D500392102308316D30053
:1008B6001030D4004330D500392183164E08D000BD
:1008C6004F08D1003A230630FB001330FC00AD3050
:1008D600FD00FD0B6C2CFC0B6C2CFB0B6C2C000038
:0808E60000005922602C762C61
:1009EC0020308400463083120313F0007C30EC007E
:1009FC000430ED002F24A03084002E30831203131A
:100A0C00F000C230EC000430ED002F24663084007E
:100A1C00063083120313F000F030EC000430ED00CC
:040A2C002F2408006B
:0C08F8004B344F345A3441344E34003439
:10090400543445344B344E3469344B34203420341D
:1009140045344E34443455345334543452346934A5
:0209240000349D
:100926004D34453453344C3445344B3420344C34F4
:0C093600693453344534533469340034C0
:1009420053344934433441344B344C3449344B34BA
:0209520000346F
:1009540053345534203444345534523455344D349E
:0609640055343D3400345F
:0C096A0053344F34473455344B340034C0
:0C09760053346934433441344B340034B2
:020982006634D9
:10098400503452344F344A34453453346934203467
:060994005634313400343A
:10099A00433441345934203452344F3442344F347E
:0609AA0054345534003402
:1009B000423459342034453452344B3441344E346B
:0A09C0002034433469344C34003411
:1009CA006934593469342034473455344E344C34FC
:0609DA00453452340034E4
:0C09E0003034303430342E3430340034E5
:04400E00F22F000786
:00000001FF

cay_robotucay_robotu

  1. Henüz hiç yorum yok.
(yayınlanmayacak)