Rosso-Verde-Blu con Led & Pic
Link Articolo Originale: http://www.grix.it/viewer.php?page=10897
Per ottenere dei buoni effetti a volte non è necessario ricorrere alla tecnologia recente (Led RGB)
Il Circuito utilizza un Pic Dil 8 molto efficace in grado di generare 3 canali in uscita PWM, si possono intercalare nelle
uscite dei transistor di media potenza circa 800mw in grado di poter pilotare fino a 5 Led ognuno.
Ovvio che di dovra usare un alimentatore in grado di proporzionare i 5vcc richiesti dal Pic, e oltremodo se si utilizzano
i transistor come driver bisogna che siano presenti 12Vcc, quindi utilizzando un solo trasformatore andrebbe bene
un elemento con in uscita 12Vac 500ma, ottenendo i 5Vcc col il solito "7805" reg.
A continuazione il codice .hex da introdurre nella Programmazione del PIC:
:020000040000FA
:1000000085018316EC308500FF23900005308100C8
:100010009516151596168312073099008B1520300A
:100020008400DF008001840ADF08031D1228862077
:10003000B33081000B110A30BF006F20031D22284E
:10004000B50A1D2840210319272802212228480823
:100050003502031C022148083406031931286F2099
:100060002B285120491C9320FF303628AE0F4728FB
:10007000AE0A4C08AA002A0F05104D08AB002B0F42
:1000800085104E08AC002C0F05120B195621AA0A38
:1000900003190514AB0A03198514AC0A03190516D4
:1000A00036286B20B600013E0319662836308400DE
:1000B000840AB20A0319B30A6B2080003A3004069E
:1000C000031D5828B20A0319B30A08003008B20009
:1000D0003108B300512833088A00320882008F208B
:1000E000013E031978280530B0070318B10A6F28BC
:1000F000B40AB00A0319B10A8F20013E03198628F9
:100100003008B2003108B30003010800B401013027
:10011000B100B300CD30B000B200FF3808003108A4
:100120008A00300882003708C0003608BE00031D70
:10013000A1283808CC003908CD003A08CE00AD011E
:1001400008001330AD000130A000A100A2004C084F
:1001500038020318AE28A003A003003CA3004D08FA
:1001600039020318B628A103A103003CA4004E08DD
:100170003A020318BE28A203A203003CA5002308EC
:1001800024020318CA282308250225080318CF28AB
:100190002308CF28240825022508031C2408003C36
:1001A000A900A600A700A80008000130CA00092184
:1001B0002F088500851EDA280F30E92005080B106E
:1001C000630000005A30E920851ADA28851EE628E7
:1001D000002881010B110B1DEB28FF3E031DE928B0
:1001E000080083169A009B0A1C1555309D00AA3002
:1001F0009D009C148312080083169B0A1C141A0885
:1002000083120800CA0AC801B401C901CC01CD019A
:10021000CE010E21CA08031D092908004A08031946
:100220000800FF3E0319222983161C088312023995
:10023000031D08000008F120840A0408473A031946
:10024000CA0108003408C100C6004C08C200C60735
:100250004D08C300C6074E08C400C6074908C500BC
:100260004607003CC6004130840083169B01831280
:10027000CA0A08000408CB064B06CB068400080017
:1002800083169C1841299B01FC20C800C700FC2054
:10029000CC00C707FC20CD00C707FC20CE00C70755
:1002A000FC20C900C707FC20470708000108B33E2F
:1002B00081000B113A210E213A21C7080319662942
:1002C000BD0B6629C70B66290130CA00BC08031D97
:1002D000BC03851A6F29BB0A0319D5288D29FC3068
:1002E0003B0703187529BB018D29BC08031D802914
:1002F000BB010130C9066430BC000830C7008D293D
:100300006F205120CC01CD01CE0193200A30BF00D7
:10031000BB010830C700BC01C90149180800AD087D
:100320000319C129BE0B08003608BE0038084C0668
:10033000031D9C292D10A4292308A607031CA4290A
:100340002908A6072008CC0739084D06031DAA294D
:10035000AD10B2292408A707031CB2292908A70752
:100360002108CD073A084E06031DB8292D120800B2
:100370002508A807031C08002908A8072208CE079B
:100380000800C0080319CA29BF0B08000A30BF00C3
:10039000C00B080051209320080002340034FF34C1
:1003A0000034003402340034FF340034FF340234AB
:1003B000003400340034FF34023400340034FF349D
:1003C000FF34023400340034FF340034023400348B
:1003D000FF34FF340034FF3408340534A0340034D3
:1003E000003408340534A0340034A0340834053413
:1003F00000340034A034083405340034A034A03470
:10040000083405340034A034003408340534A034F2
:100410000034A034FF3406340034FF34C8341834B8
:1004200006340034C8341834FF3406340034183429
:10043000FF34C834FF3417340034FF34C834183460
:10044000173400341834FF34C83417340034C83437
:100450001834FF34FF341E340034FF348034003449
:100460001E3400348034FF340034FF341E34003432
:10047000FF34003480341E34003480340034FF34C0
:10048000FF341E3400340034FF3480341E34023410
:1004900000348034FF34FF3400340534FF3400343A
:1004A00000340134003400340034003400340534A6
:1004B0000034FF340034013400340034003400349C
:1004C0000034053400340034FF3401340034003487
:1004D00000340034FF3402340534FF340034003477
:1004E0000134003400340034003402340534003464
:1004F000FF3400340134003400340034003402345A
:10050000053400340034FF34013400340034003446
:100510000034FF3402340134FF3400340034023438
:1005200001340034FF340034023401340034003428
:10053000FF34FF3402340134FF34403400340234D9
:10054000013440340034FF34023401340034FF34C9
:100550004034FF340034FE34F034F034F034FF34EF
:100560000034FE34803480348034FF340034FE3470
:10057000303430343A34FF3406340A34FF34003433
:10058000003406340A34FF34FF34003406340A34AD
:100590000034FF34003406340A340034FF34FF34AE
:1005A00006340A3400340034FF3406340A34FF348D
:1005B0000034FF34FF3419340534FF340034003480
:1005C00019340534FF34FF34003419340534003451
:1005D000FF340034193405340034FF34FF34193447
:1005E000053400340034FF3419340534FF3400344A
:1005F000FF34FF3404340A34FE342034003404342D
:100600000A34FE348034003404340A34FE34F034C6
:10061000003404340A348034F0340034FF340434B9
:100620000A3400341034FF3404340A340034803483
:10063000FF3404340A340034F034803404340A348F
:1006400010341034F03404340A34F0341034F034FC
:1006500004340A3440340034FA34FF340A340434A5
:10066000F0340034F0340A34043420340034F034EC
:100670000A3404348034003480340A340434F034CE
:1006800000342034FF3400340134FF3400340034AB
:10069000003401340034FF340034003401340034B9
:1006A0000034FF34FF3400340234FF3400340034AB
:1006B000003402340034FF34003400340234003497
:1006C0000034FF34FF3400340434FF340034003489
:1006D000003404340034FF34003400340434003473
:1006E0000034FF34FF3400340634FF340034003467
:1006F000003406340034FF3400340034063400344F
:100700000034FF34FF3400340834FF340034003444
:10071000003408340034FF3400340034083400342A
:100720000034FF34FF3400340A34FF340034003422
:1007300000340A340034FF34003400340A34003406
:100740000034FF34FF3400341434FF3400340034F8
:10075000003414340034FF340034003414340034D2
:100760000034FF34FF340034053400340F340F34C8
:1007700000340334003400340034003405340034D1
:100780000F340F34003403340034003400340034A8
:10079000053400340F340F34003403340034003493
:1007A000003400341434003400340034FF34FF3497
:02400E00A43FCD
:00000001FF
VIDEO DEL FUNZIONAMENTO:
Link su youtube del video dimostrativo: http://youtu.be/xVwFsZlYjSg