Pedjin tajmer 0-999 Modifikovan

Sve vezano za mikrokontrolere

Moderators: pedja089, stojke369, [eDo], trax

Post Reply
User avatar
sindja1204
Odlično uznapredovao
Odlično uznapredovao
Posts: 792
Joined: 03-05-2009, 11:57
Location: Beograd

Pedjin tajmer 0-999 Modifikovan

Post by sindja1204 »

Za osnovu je posluzio pedjin tajmer 0-999 http://www.elektronika.ba/forum/viewtop ... f=9&t=3671" onclick="window.open(this.href);return false; koji je u ovoj verziji prosiren i broji od 0-9999. S obzirom da je ovaj tajmer predvidjen za osvetljivac za foto postupak moze da odborojava i od 15:00- 00-00 Posle svakog resetovanja tajmer pokazuje 08:00 .Ukoliko je potrebno vece vreme treba stisnuti taster set i taster Up. Za manje vreme taster set i taster Downe. Odbrojavanje pocinje pritiskom na taster Up.U zavisnosti od hex-a postoje tri varijante brojaca:
999-000 9999-0000 15:00-00:00
Shema je dopunjena buzerom (zvucno oglasavanje isteka vremena)(Ova naredba nije data u hex_u i treba je upisati). Na plocici je i relej po originalnoj shemi kojim se regulise ukljucivanje i iskljucivanje sijalice.
http://tinypic.com/r/t8aoms/6" onclick="window.open(this.href);return false;
http://tinypic.com/r/35btc8x/6" onclick="window.open(this.href);return false;
http://tinypic.com/r/2lnwsus/6" onclick="window.open(this.href);return false;
Attachments
Slike.rar
(91.84 KiB) Downloaded 501 times
Desktop.rar
(77.56 KiB) Downloaded 435 times
Kodovi za tajmer.rar
(3.37 KiB) Downloaded 441 times
User avatar
78L05
Pravo sam se raspisao :)
Pravo sam se raspisao :)
Posts: 1402
Joined: 28-05-2009, 13:22
Location: Hrvatska

Re: Pedjin tajmer 0-999 Modifikovan

Post by 78L05 »

Uredno odrađeno! :wink:
Ne vjeruj u čuda - računaj na njih!
User avatar
pedja089
Administrator sajta
Administrator sajta
Posts: 7877
Joined: 20-02-2007, 14:50
Location: Beočin -Srbija

Re: Pedjin tajmer 0-999 Modifikovan

Post by pedja089 »

Lepo uradjeno, mada trebao si staviti filter preko displeja.
I reci mi jesi uspeo srediti multipleks kako treba?
Dobro si se setio da dodas, i buzer, kod mene nije bilo mesta u kutiji...
User avatar
sindja1204
Odlično uznapredovao
Odlično uznapredovao
Posts: 792
Joined: 03-05-2009, 11:57
Location: Beograd

Re: Pedjin tajmer 0-999 Modifikovan

Post by sindja1204 »

Filter mi nije bio pri ruci kad sam slikao tajmer, a kod sam odradio da pokazuje do 15min sto je sasvim dovoljno za osvetljivac. Inace nisam uspeo da tvoj kod prepravim da pokazuje od 59:59 -00-00 pomocu promenljivih. U principu mislim da ce mi biti lakse da napisem kompletan novi kod nego da prepravljam postojeci.
User avatar
sindja1204
Odlično uznapredovao
Odlično uznapredovao
Posts: 792
Joined: 03-05-2009, 11:57
Location: Beograd

Re: Pedjin tajmer 0-999 Modifikovan

Post by sindja1204 »

Evo jos jednog prosirenog koda koji odbrojava do 59:59 . Osnova koda je pedjin kod za tajmer do 999
Zadrzan je i dopunjen princip podesavanja vremena tasterima , a prepravljen deo za ispis na displeju. Dodat je i buzer koji deset puta signalizira istek vremena. Pocetno startno vreme je 8 min koje se moze menjati tasterima u granicama od 00:00 - 59:59

Code: Select all

:10000000AA28A3003C0884003A0928208413A308E6
:100010000319A528F030A50022088038A400F0308C
:10002000A5030319A5000319A3030319A52818287C
:100030002B20030120183A08A21F3A08A20803192E
:100040000301A40F252880060C28262800000F286D
:1000500084178005A528210820040319A00A8030F0
:10006000201AA1062019A106A018A106210DA00D95
:10007000A10DA528A301A200FF30A207031CA3071E
:10008000031CA5280330A100DF3048203C28A10133
:10009000E83EA000A109FC30031C5128A00703186A
:1000A0004E28A0076400A10F4E2820185728A01C36
:1000B0005B2800005B280800013EA7000A30A20070
:1000C000A3018920A70B612824080800A101A3012E
:1000D000A20002306E28A20004306E28A800230877
:1000E0002102031D75282208200204300318013064
:1000F000031902302805031DFF30A5280038031D11
:10010000FF300405031DFF30A5280404031DFF3044
:10011000A528A501A4011030A600210DA40DA50D50
:100120002208A4022308031C230FA50203189F28FA
:100130002208A40723080318230FA5070310A00D06
:10014000A10DA60B8D282008A52883130313831265
:1001500064000800831686011C3085008312860126
:1001600085100830BE00BF01C001C1014C1007302E
:100170009F006400051E252964008519C0284C14C1
:1001800064000519C4284C1064004C1CC828851450
:100190004408A0004508A100A30100306820B20077
:1001A0004208A0004308A100A30100306820B40069
:1001B0003208840034087E20B400B50000304C18AA
:1001C0000130A00000306620B600340835048400F9
:1001D00036088520B600B7006400360837040319D6
:1001E000FB2885104C104008C4004108C5003E089B
:1001F000C2003F08C30064004C1C23290130C40224
:100200000030031C013EC5024408A0004508A100BF
:10021000A3013C306B20031D16293B30C400C501EF
:100220000130C2020030031C013EC3024208A0009C
:100230004308A100A3013C306B20031D22293B3061
:10024000C200C3017729CC297729851064000519DC
:100250004E290130C4020030031C013EC50244088F
:10026000A0004508A100A3013C306B20031D4129DB
:100270003B30C400C5010130C2020030031C013E06
:10028000C3024208A0004308A100A3013C306B2038
:10029000031D4D293B30C200C301CC2964008519E0
:1002A0006E29C40A0319C50A4408A0004508A10024
:1002B000A3013C306B20031D6229C401C501C20AA1
:1002C0000319C30A4208A0004308A100A3013C305F
:1002D0006B20031D6D29C201C301CC294408C00055
:1002E0004508C1004208BE004308BF00CC294408AD
:1002F000A0004508A10000305C20C6004408A00012
:100300004508A10001305C20C7004208A000430856
:10031000A10000305C20C8004208A0004308A100F2
:1003200001305C20C900CA01640051304A02031840
:10033000AF2980304607860003303A204030470717
:10034000860003303A2020304807860003303A20E8
:1003500010304907860003303A20CA0F942942081A
:10036000A0004308A100A30100306820B2004408A7
:10037000A0004508A100A30100306820B4003208A5
:10038000840034087E20B400B500640034083504CD
:100390000319CB29052AB9284408A0004508A10063
:1003A00000305C20C6004408A0004508A1000130D0
:1003B0005C20C7004208A0004308A10000305C2078
:1003C000C8004208A0004308A10001305C20C90019
:1003D000CA01640003304A020318042A8030460729
:1003E000860003303A2040304707860003303A2029
:1003F00020304807860003303A2010304907860035
:1004000003303A20CA0FE929B9280130CB00640033
:100410000B304B0203181B2A85100530BC0001303D
:10042000BA006E30A200283001200130A300F43061
:0C0430003B20CB0F072AB92863001C2AD0
:02400E00653F0C
:00000001FF
Ispravke i dopune koda
http://www.elektronika.ba/forum/viewtop ... &start=300" onclick="window.open(this.href);return false;
Post Reply