Tải bản đầy đủ

MẠCH LED NHẢY THEO NHẠC RGB

MẠCH LED NHẢY THEO NHẠC RGB 16 MỨC
-

Mạch thiết kế sử dụng chip 8051 và ADC0804, 74HC595
Dùng bóng led đơn RGB hoặc Led 7 màu dạng dây:


-

Quét Led theo kiểu 3x16:
3 cột tương ứng với 3 màu RGB để tạo ra 7 màu
16 hàng tương ứng với 16 mức tín hiệu


Xem video clip test tại đây:
https://www.youtube.com/watch?v=5YdWaaJ5uYI

Sơ đồ nguyên lý mạch:

Code nạp cho mạch (có file nén đính kèm):


:100000007580FF7F967EC87B037548017547011296
:100010000099E547B400051200E180F3E547B4011B
:10002000141201A012048D1205991204651205FA2A
:1000300012049A80DAE547B402141201A01203BC3C
:100040001205991204701205FA12041080C1E547D6
:10005000B403141201A01203BC12059912047F12FA


:1000600005FA1204EE80A8E547B4041412027412D3
:1000700005091205991204701205FA12055D808FA8
:10008000E547B4058A12034812048D12059912043B
:10009000651205FA120588010F20A50930A5007523
:1000A00047000200E020A72830A7FD1204550547AD
:1000B0007542FF7543FF7544FF7545FF7570FF7509
:1000C00071FF7F8C7EC87B03E547B406037547014B
:1000D00020A60D30A6FD0548E548B4080375480183
:1000E000227CFF7DFF30A50675470102019F1201AA
:1000F000A012048D1205991204651205FA12049AD1
:10010000DDE3DCDF12043B7CFF7DFF30A506754795
:100110000102019F1201A01203BC12059912047082
:100120001205FA120410DDE3DCDF12043B7CFF7DD4
:10013000FF30A50675470102019F1201A01203BC02
:1001400012059912047F1205FA1204EEDDE3DCDFDA
:1001500012043B7CFF7DFF30A50675470102019F1D
:100160001202741205091205991204701205FA128E
:10017000055DDDE3DCDF12043B7CFF7DFF30A5067F
:1001800075470102019F12034812048D120599124E
:1001900004651205FA120588DDE3DCDF12043B2258
:1001A000C2A300000000D2A3E580B400097540FF9F
:1001B0007541FF020273B4010975407F7541FF026A


:1001C0000273B4020975403F7541FF020273B40324
:1001D0000975401F7541FF020273B4040975400F91
:1001E0007541FF020273B405097540077541FF02AE
:1001F0000273B406097540037541FF020273B40728
:10020000097540017541FF020273B4080975400089
:100210007541FF020273B4090975417F7540000200
:100220000273B40A0975413F754000020273B40BB2
:100230000975411F754000020273B40C0975410F26
:10024000754000020273B40D097541077540000244
:100250000273B40E09754103754000020273B40FB6
:1002600009754101754000020273B4100675410022
:1002700075400022C2A300000000D2A3E580B400B4
:10028000097540FF7541FF020347B401097540FF3E
:100290007541FE020347B402097540FF7541FC0237
:1002A0000347B403097540FF7541F8020347B404DE
:1002B000097540FF7541F0020347B405097540FF19
:1002C0007541E0020347B406097540FF7541C0025D
:1002D0000347B407097540FF754180020347B4081E
:1002E000097540FF754100020347B409097540FED6
:1002F000754100020347B40A097540FC75410002CC
:100300000347B40B097540F8754100020347B40C6C
:10031000097540F0754100020347B40D097540E0CE


:10032000754100020347B40E097540C075410002D3
:100330000347B40F09754080754100020347B410AC
:100340000675400075410022C2A300000000D2A340
:10035000E580B400097540FF7541FF0203BBB4019D
:10036000097540FE75417F0203BBB402097540FC6C
:1003700075413F0203BBB403097540F875411F0284
:1003800003BBB404097540F075410F0203BBB4050B
:10039000097540E07541070203BBB406097540C00A
:1003A0007541030203BBB407097540807541010222
:1003B00003BBB4080675400075410022E540554274
:1003C000F542E5415543F543E5405570F5708570BC
:1003D00044E5415571F5718571457944E7B40002F2
:1003E00077FFB4010277FDB4030277FBB40702770D
:1003F000F7B40F0277EFB41F0277DFB43F0277BF85
:10040000B47F02777FB4FF0277FF09E9B446CD22BB
:10041000DF117F8CD3E54333F543B4FF06D3E542C8
:1004200033F542DE157EC8DB117B03D3E57133F56E
:1004300071B4FF06D3E57033F57022C2A0C2A1C229
:10044000A275900075B0001205ED0548E548B408A6
:100450000375480122C2A0C2A1C2A275900075B066
:10046000001205ED22E543F4F590E542F4F5B022E3
:10047000E5435545F4F590E5425544F4F5B022E5E1


:1004800045F4F590E5441204AEF4F5B022E540558C
:1004900042F542E5415543F54322DF117FA0D3E504
:1004A0004333F543B4FF06D3E54233F54222E54436
:1004B000B4FD0574FE0204EDB4FB0574FD0204ED09
:1004C000B4F70574FB0204EDB4EF0574F70204ED14
:1004D000B4DF0574EF0204EDB4BF0574DF0204ED70
:1004E000B47F0574BF0204EDB4FF02747F22DE18EE
:1004F0007EC8DB147B02D3E57133F571B4FF09D3F9
:10050000E57033F570B4FF0022E5405542F542E551
:10051000415543F543E5405570F570857044E5411C
:100520005571F5718571457944E7B4000277FFB4E0
:10053000800277BFB4C00277DFB4E00277EFB4F097
:100540000277F7B4F80277FBB4FC0277FDB4FE0241
:1005500077FEB4FF0277FF09E9B446CD22DF117FB1
:100560008CD3E54213F542B4FF06D3E54313F543BC
:10057000DE157EDCDB117B02D3E57013F570B4FF72
:1005800006D3E57113F57122DF0E7F96D3E5421392
:10059000F542D3E54333F54322E548B40109D2A13E
:1005A000D2A2C2A00205ECB40209D2A0D2A2C2A17A
:1005B0000205ECB40309D2A1D2A0C2A20205ECB498
:1005C0000409D2A2C2A1C2A00205ECB40509D2A1BD
:1005D000C2A2C2A00205ECB40609D2A0C2A1C2A266


:1005E0000205ECB40706D2A0D2A1D2A2227A0479E5
:0F05F000FF78FFD8FED9FADAF6227850D8FE222B
:00000001FF

Các bạn có thể down về để tham khảo, học tập, nghiên cứu them nhé.
Một số hình ảnh có thể sáng tạo từ mạch này:





Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay

×

×