Sve vezano za mikrokontrolere
Moderators: pedja089 , stojke369 , [eDo] , trax
sindja1204
Odlično uznapredovao
Posts: 792 Joined: 03-05-2009, 11:57
Location: Beograd
Post
by sindja1204 » 26-02-2010, 19:41
Jos jedan tajmer za osvetljavanje pcb
Jednostavan tajmer sa vremenom podesavanja u razmaku od 00:00-59:59min. Vreme se podesava pomocu dva tastera UP i Downe. Odbrojavanje pocinje pritiskom na taster start. Tasterom Reset vrsi se Resetovanje tajmera. U toku rada led dioda indikuje stanje potrosaca. Zavrsetak odbrojavanja praceno je zvucnim signalom buzera. Potrosac (sijalica) se aktivira trijakom Tic 206M preko optokaplera MOC 3020
Hex
Code: Select all
:10000000A2011E2904089300061286128612831686
:10001000061286128612F030860583121308A21883
:100020002F283A308D009830C82033309200442079
:1000300013308D008830C82044206430C72044200D
:100040006430C72022309200442028302E200C300B
:100050002E2006302E20A21413082F2822149200DE
:10006000221C3D288612033C031C422842200730F4
:100070008D00D030C820031408002214FE3C031960
:1000800019298616920E221C22100616F0308605BB
:1000900012080F3986040612920E221844283230B4
:1000A000C72003140800A31315080319A31705306C
:1000B000940027308F001030692003308F00E83023
:1000C00069208F01643069208F010A30692010088F
:1000D00070288E0011088D0010088C00F8200C0884
:1000E0008C0094030319A313150803197A2814022A
:1000F000031808000C08031DA313A31B0800303EBF
:1001000014298F00260884002409A82084138F084E
:1001100003191929F03091000E0880389000F03052
:1001200091030319910003198F03031919299828C2
:10013000AB2003010C1824088E1F24088E08031915
:100140000301900FA52880068C28A62800008F2880
:100150008417800519290D080C0403198C0A8030B6
:100160000C1A8D060C198D068C188D060D0D8C0D34
:100170008D0D19298F018E00FF308E07031C8F070C
:10018000031C192903308D00DF30C820BC288D01E5
:10019000E83E8C008D09FC30031CD1288C07031825
:1001A000CE288C0764008D0FCE280C18D7288C1C05
:1001B000DB280000DB2808008D018F018E00023053
:1001C000E12894000F080D02031DE8280E080C0218
:1001D000043003180130031902301405031DFF30E9
:1001E00019290038031DFF300405031DFF301929AC
:1001F00091019001103092000D0D900D910D0E089F
:1002000090020F08031C0F0F910203180E290E080D
:1002100090070F0803180F0F910703108C0D8D0D19
:10022000920BFC280C08192984001D088A001C0860
:10023000820083130313831264000800831686016F
:100240000730850085140515051485118613831262
:10025000AB01AA01A901A80185118316851183129A
:10026000861383168613C8308312BA20FE3003200B
:10027000013003208530032020300320203003206C
:100280002030032074300320613003206A300320C3
:100290006D3003206530032072300320FE300320D0
:1002A000C03003208330032020300320203003207F
:1002B00030300320303003203A3003203030032028
:1002C000303003203A300320303003203030032018
:1002D00003308F00E830BB20860164008518712947
:1002E000AB0A64003C302B02031C7829AB01AA0A3C
:1002F00064003C302A02031C7E29AA016400051810
:100300008229AB0364003C302B02031C8A293B305A
:10031000AB00AA0364003C302A02031C91293B3045
:10032000AA006400051DBF293230BA20FE30032028
:100330000130032073300320653003207430032024
:10034000693003206E3003206730032073300320B0
:1003500020300320023095002A08900091010230DD
:100360009C009D0153203A300320023095002B0859
:100370009000910102309C009D0153206C29323085
:10038000BA20860186178316861383128515831675
:1003900085118312A80164003D3028020318482A01
:1003A000A90164003D3029020318462A6400290887
:1003B0003C3C031DDD29A901A80A640028083C3C37
:1003C000031DE329A80128088C002A08DC209E00D0
:1003D00029088C002B08DC20A0001E0884002008BF
:1003E000F120A000A1006400200821040319082ABC
:1003F00086138316861383128511831685110630A2
:100400008312A6004030A4006E308E00323081206E
:10041000FE300320C0300320633003206F30032000
:10042000753003206E3003207430032065300320C4
:1004300072300320203003200230950028089000FD
:10044000910102309C009D0153203A30032002307C
:10045000950029089000910102309C009D015320D5
:1004600001308F00F430BB2028088C002A08DC20E3
:100470009E0029088C002B08DC20A0001E088400A8
:100480002008F120031D6C29A90FD129A80FCB2921
:060490006C296300492AFB
:02400E00F53F7C
:00000001FF
Attachments
tajmer.rar
(167 KiB) Downloaded 620 times
niho
Pravi forumaš
Posts: 1895 Joined: 24-09-2009, 17:26
Location: Brcko, Bosnia and Herzegovina
Post
by niho » 26-02-2010, 19:45
Bravo, lijepo je vidjeti jos jedan koristan uredjaj lijepo odradjen. Svaka cast!!
pedja089
Administrator sajta
Posts: 7877 Joined: 20-02-2007, 14:50
Location: Beočin -Srbija
Post
by pedja089 » 26-02-2010, 19:53
Lepo odradjeno. Samo otkud sema na 2 strane?
MORGAN
Pravo sam se raspisao :)
Posts: 1284 Joined: 21-07-2009, 07:12
Contact:
Post
by MORGAN » 26-02-2010, 19:53
I od mene svaka čast...super izgleda...
Malo je mašina usporila ali i dalje radi...
sindja1204
Odlično uznapredovao
Posts: 792 Joined: 03-05-2009, 11:57
Location: Beograd
Post
by sindja1204 » 26-02-2010, 20:24
pedja089 wrote: otkud sema na 2 strane?
Sch na jednoj strani
Morgan wrote: Malo je mašina usporila ali i dalje radi...
Masina je jos nova, pa dok se malo razgazi i zalaufa...
P.S Hex je za 16F628A Uradjen je i za 16F84A.
Feko
Stariji član
Posts: 4394 Joined: 23-07-2008, 06:18
Location: Hrvatska, Slavonija, Selo moje malo...
Post
by Feko » 26-02-2010, 20:56
Svaka čast majstore
dino_kc
Pravo uznapredovao :)
Posts: 496 Joined: 23-02-2010, 20:12
Location: Koprivnica
Post
by dino_kc » 26-02-2010, 21:26
jako dobro
"cuksi" -> "dino_kc"
race king
Pravo sam se raspisao :)
Posts: 1098 Joined: 11-05-2008, 19:09
Location: Hrvatska, Osijek
Post
by race king » 26-02-2010, 22:38
Ovo je super.
Svaka cast
Dvije ploče jedan izolator,mala moja to je KONDENZATOR...
Smjesko
Stariji član
Posts: 4012 Joined: 26-12-2005, 17:12
Post
by Smjesko » 26-02-2010, 23:12
Odlično
Upozorio bih na mali propust. Stabilizator napona bi trebao na ulazu imati blok-kondenzator, kao i PIC između svojih priključaka za napajanje - što je bliže moguće.
sindja1204
Odlično uznapredovao
Posts: 792 Joined: 03-05-2009, 11:57
Location: Beograd
Post
by sindja1204 » 27-02-2010, 00:37
Sugestija u vezi kondenzatora je na mestu. Medjutim za ovaj sklop nisam predvideo nikakav stabilizovani izvor napajanja posto ce takvo napajanje dobiti preko DC konektora sa drugog ispravljaca.. Ovde naponski regulator LM7805 sluzi samo kao ogranicavac napona , posto na ispravljacu imam opcije 5-9-12-15v da ne bi doslo do unistenja pica i displeja u slucaju pogresnog prikljucenja.
http://img36.imageshack.us/img36/7466/picture001hs.jpg " onclick="window.open(this.href);return false;
sindja1204
Odlično uznapredovao
Posts: 792 Joined: 03-05-2009, 11:57
Location: Beograd
Post
by sindja1204 » 20-06-2010, 16:30
@royalevo9 Imas ovde poboljsan i dopunjen kod za 16F84A i LCD2x16
I varijantu hex-a za 2x16 LCD sa ispisom vremena na jednoj liniji LCD-a
Kod oba koda, pocetno vreme je 8min , po isteku vremena 20 x buzer sa ispisom End count
sindja1204
Odlično uznapredovao
Posts: 792 Joined: 03-05-2009, 11:57
Location: Beograd
Post
by sindja1204 » 20-07-2010, 16:08
Evo par slika novog doradjenog i konacno spakovanog tajmera. U novu verziju ugradjen je Usb konektor za ICSP programiranje mikrokontrolera i jedan spoljni ulaz u sklop. Reprogramiranjem pica preko ugradjenog usb konektora, sklop za par sekundi moze da dobije drugu namenu. Tj od Hex-a koji se ucita u pic, ovaj sklop od tajmera postaje frekvencometar, counter ,termometar, brojac od 0 -65535 , sat hh/mm/sec, i jos dosta toga... Moze da posluzi i kao probna ploca za pisanje programa vezanim za LCD displej .
http://www.elektronika.ba/forum/viewtop ... 9&start=30 " onclick="window.open(this.href);return false;
Sva potrebna dokumentacija , PCB brd/sch kao i dosta primera kodova za vise varijanti tajmera, frekvencometra , brojaca.... samo na PM.
Attachments
Tajmer LCD.rar
(82.4 KiB) Downloaded 518 times
DaTi
Odlično uznapredovao
Posts: 730 Joined: 10-06-2007, 13:24
Location: Novi Sad - Srbija
Contact:
Post
by DaTi » 21-07-2010, 07:50
Odlično si zamislio sklop, svaka čast! , projekat za 5
78L05
Pravo sam se raspisao :)
Posts: 1402 Joined: 28-05-2009, 13:22
Location: Hrvatska
Post
by 78L05 » 21-07-2010, 16:10
Postalo je besmisleno komentirati Sindjine ideje i projekte, jer komentar je uvijek sličan i svi se slažemo. BRAVO MAJSTORE!
Ne vjeruj u čuda - računaj na njih!
DaTi
Odlično uznapredovao
Posts: 730 Joined: 10-06-2007, 13:24
Location: Novi Sad - Srbija
Contact:
Post
by DaTi » 21-07-2010, 19:05
@Stabilizator nije besmisleno. Čovek postavio projekat da čuje naše kritike i da nekome posluži.
78L05
Pravo sam se raspisao :)
Posts: 1402 Joined: 28-05-2009, 13:22
Location: Hrvatska
Post
by 78L05 » 21-07-2010, 19:33
Dati, nisi me shvatio. Mislio sam reći kako su svi njegovi projekti i ideje razrađeni od početka do kraja kako treba. Većina projekata nema neku zamjerku, pa sam zato onako napisao prethodni post, to je više bilo preneseno značenje.
Ne vjeruj u čuda - računaj na njih!