色哟哟视频在线观看-色哟哟视频在线-色哟哟欧美15最新在线-色哟哟免费在线观看-国产l精品国产亚洲区在线观看-国产l精品国产亚洲区久久

0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
會員中心
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示

制作一個8X8X8光立方的詳細資料和程序概述

Wildesbeast ? 來源:未知 ? 2019-08-31 09:51 ? 次閱讀

這一陣剛休息閑著無聊制作8X8X8光立方,應為是初學者有什么問題請見諒啊!~~~

一、光立方的基本原理

利用人眼的暫留效應,利用單片機控制LED燈泡快速的閃爍,顯示出一個完整的圖案!

二、使用工具和材料

(一)、使用工具:1、焊槍(不用這么好的,隨便哪種便宜的也行)2、剝線鉗3、鋸子(要是相信自己的手工能力,就挑戰手鋸吧,手鋸便宜啊!)4、鋼尺5、電鉆6、電流表(主要用來測是否焊錯的)7、鑷子8、熱熔膠槍(可有可無)

(二)使用材料:1、單片機X1個2、最小系統X1個(帶寫入功能的,我這個是不帶的,應為我有實驗板)3、74hc136X9個4、74hc573X1個5、LED燈X516個(顏色無所謂)6、排插、排針多個(排插至少要兩排,做底盤需要64個點)7、實驗板(看大小購買,夠用就行)8、熱縮管(不用太多,夠用就好)9、電線(這個要不少,看著來吧)10、20針插座1個、16針插座9個

(三)原件原理

1、74hc138:作用是用三位二進制數,來輸出只有一位為零的八位二進制數

2、74hc573:鎖存器,在這次中沒用的什么功能,主要用來電流放大的,

OE、GNG直接地線,Vcc、LE直接接電源就行了。

三、--》電路圖

應為是一個8X8X8的立體結構,用三軸坐標系就可以分別控制單一一盞燈

74hc573(Y)控制Y軸

74hc138(Z)控制Z軸

74hc138(X1~X8)控制X軸

四、制作流程

現在開始正式制作了,前面全是準備。

1、 彎LED燈的針腳,注意正負極不要搞錯了,一共彎512個,多彎上幾個,作為備用的。

2、 制作定位板,井字形的間隔為20mm,8行8列共計64個點,可以用紙張劃線代替。(我這個其實只有7*8個實在是沒大板子了!~~)

3、 用定位板焊接單一一排8個,正極正極項鏈焊接,中間間隔20mm,一共焊64條。

4、 64個單條焊好后,用8個單條組成一個面,這時是負極與負極相連,每條之間的間距是20mm,焊接時順便調整陣腳,不要短路了。一共8面。

5、 焊好8面以后,就是測試環節了,負極串聯起來,給每一行的正極單獨供一次電觀察有沒有短路、沒亮、亮度暗等問題的,及時更換,修理。

6、 制作插座,將排插剪開只留下中間的銅質圓柱插座,直接焊接在實驗板上,橫豎各8排,其中間隔20mm,共計64個點。焊好后背面每個點連出一條線,用以連接74hc138(X1~X8)。線路簡單的梳理一下用東西暫時固定一下。然后在線的另一端用剪開的排針焊上一個插頭,以備后面連接使用,焊好后套上熱縮管(這些圖片都不是當時照的,這是已經鋸掉一半了,另一半和這一半一樣)

7、 將8個面插到低上,將橫向相鄰的正極彎好后直接焊道一起,注意之間的間隔是20mm,使每一層所有燈的正極是串聯在一起的,然后每一層單獨引出一條線(圖中的紅線),分別插在74Hc573(Y)的O0~O7口上。

8、 焊好后就可以放到一邊了,接下來就是焊控制電路了。

我們不用將芯片直接焊在實驗板上,先焊插座,讓后將芯片插進去,這樣就不會出現燒壞芯片的情況了。

74hc138(X1~X8)焊接在一塊將這8塊芯片的Vcc、E3全部串聯到一起用來輸入電壓,GND,E2串聯到一起直接接地,然后是A、B、C、分別串聯一塊,分別連接單片機的P1.0口、P1.1口、P1.2口,Y0~Y7分別單獨的向正面引出排插每一個口單獨焊接不是串聯,用來連接底座上的64個點,E1向正面單獨引出一個排針,用來連接74Hc138(Z)的(Y0~Y7)。焊接完成后用萬用電流表檢查是否有虛焊,焊錯的。

74hc138(Z)和74HC573(Y)的焊接方法都是每個針單獨連接一個排針。

9、74hc138(X1~X8)焊接在一塊將這8塊芯片的Vcc、E3全部串聯到一起用來輸入電壓,GND,E2串聯到一起直接接地,然后是A、B、C、分別串聯一塊,分別連接單片機的P1.0口、P1.1口、P1.2口,Y0~Y7分別單獨的向正面引出排插每一個口單獨焊接不是串聯,用來連接底座上的64個點,E1向正面單獨引出一個排針,用來連接74Hc138(Z)的(Y0~Y7)

74hc138(Z)A、B、C口分別連接單片機的P1.3口、P1.4口、P1.2口

74hc73(Y)D0~D7八個口連接單片機的P0的八個口,OE、GNG直接地線,Vcc、LE直接接電源就行了。剩下的O0~O7口分別連接Y軸的每一層。

直接算是徹底的安裝好了。

裝飾用的自選項:

1、 剪裁出180mmX180mm正方形,在背面畫井字形方格,間距20mm,然后再交錯點處打孔。

2、 將底板鋸開,接頭一一對應的插入鉆好的孔,用膠水固定,全部粘好后,梳理線路用熱熔膠將線路粘牢,再將每一列的八條線用熱縮管捆到一起。

這就算是徹底的完成了!~~~

五、程序

#include《reg52.h》

#define uint unsigned int

#define uchar unsigned char

uchar a,b,c;

uchar code TAB[]={

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x7F,0x41,0x7F,0x3E,0x00,

0x00,0x00,0x3E,0x7F,0x41,0x7F,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x42,0x7F,0x7F,0x40,0x00,0x00,

0x00,0x00,0x42,0x7F,0x7F,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x62,0x73,0x59,0x4F,0x46,0x00,

0x00,0x00,0x62,0x73,0x59,0x4F,0x46,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x22,0x6B,0x49,0x7F,0x36,0x00,

0x00,0x00,0x22,0x6B,0x49,0x7F,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x3E,0x7F,0x7F,0x20,0x00,

0x00,0x00,0x38,0x3E,0x7F,0x7F,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4F,0x4F,0x49,0x79,0x31,0x00,

0x00,0x00,0x4F,0x4F,0x49,0x79,0x31,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x7F,0x49,0x7B,0x32,0x00,

0x00,0x00,0x3E,0x7F,0x49,0x7B,0x32,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x73,0x79,0x0F,0x07,0x00,

0x00,0x00,0x03,0x73,0x79,0x0F,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x7F,0x49,0x7F,0x36,0x00,

0x00,0x00,0x36,0x7F,0x49,0x7F,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x6F,0x49,0x7F,0x3E,0x00,0x00,

0x00,0x26,0x6F,0x49,0x7F,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7E,0x7F,0x11,0x7F,0x7E,0x00,0x00,

0x00,0x7E,0x7F,0x11,0x7F,0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x49,0x7F,0x36,0x00,0x00,

0x00,0x7F,0x7F,0x49,0x7F,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x7F,0x41,0x63,0x22,0x00,0x00,

0x00,0x3E,0x7F,0x41,0x63,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x41,0x7F,0x3E,0x00,0x00,

0x00,0x7F,0x7F,0x41,0x7F,0x3E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x49,0x49,0x41,0x00,0x00,

0x00,0x7F,0x7F,0x49,0x49,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x09,0x09,0x01,0x00,0x00,

0x00,0x7F,0x7F,0x09,0x09,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x7F,0x49,0x7B,0x3A,0x00,0x00,

0x00,0x3E,0x7F,0x49,0x7B,0x3A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x08,0x7F,0x7F,0x00,0x00,

0x00,0x7F,0x7F,0x08,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x41,0x7F,0x7F,0x41,0x00,0x00,0x00,

0x00,0x41,0x7F,0x7F,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x70,0x40,0x7F,0x3F,0x00,0x00,

0x00,0x30,0x70,0x40,0x7F,0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x1C,0x77,0x63,0x00,0x00,

0x00,0x7F,0x7F,0x1C,0x77,0x63,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x40,0x40,0x40,0x00,0x00,

0x00,0x7F,0x7F,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x06,0x7F,0x7F,0x00,0x00,

0x00,0x7F,0x7F,0x06,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x1E,0x7F,0x7F,0x00,0x00,

0x00,0x7F,0x7F,0x1E,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x41,0x7F,0x7F,0x00,0x00,

0x00,0x7F,0x7F,0x41,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x09,0x0F,0x06,0x00,0x00,

0x00,0x7F,0x7F,0x09,0x0F,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x7F,0x71,0x7F,0x7E,0x00,0x00,

0x00,0x3E,0x7F,0x71,0x7F,0x7E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x39,0x6F,0x46,0x00,0x00,

0x00,0x7F,0x7F,0x39,0x6F,0x46,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x6F,0x49,0x7B,0x32,0x00,0x00,

0x00,0x26,0x6F,0x49,0x7B,0x32,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x7F,0x7F,0x01,0x01,0x00,0x00,

0x00,0x01,0x7F,0x7F,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0x7F,0x40,0x7F,0x3F,0x00,0x00,

0x00,0x3F,0x7F,0x40,0x7F,0x3F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x7F,0x70,0x7F,0x0F,0x00,0x00,

0x00,0x0F,0x7F,0x70,0x7F,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x30,0x7F,0x7F,0x00,0x00,

0x00,0x7F,0x7F,0x30,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x7F,0x1C,0x7F,0x63,0x00,0x00,

0x00,0x63,0x7F,0x1C,0x7F,0x63,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x07,0x7C,0x7C,0x07,0x03,0x00,0x00,

0x03,0x07,0x7C,0x7C,0x07,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x61,0x79,0x5D,0x4F,0x43,0x00,0x00,

0x00,0x61,0x79,0x5D,0x4F,0x43,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,

};

void delay(uint z) //延時程序

{

uint x,y;

for(x=z;x》0;x--)

for(y=10;y》0;y--);

}

void xianshi1(uchar d) //顯示程序

{

for(a=0;a《64;a++)

{

P0=TAB[64*d+a];

P1=a;

delay(1);

}

}

void init() //定時器初始化程序

{

TMOD=0x01;

TH0=(65536-50000)/256;

TL0=(65536-50000)%6;

EA=1;

ET0=1;

TR0=1;

a=b=c=0;

P1=0;

P0=0;

}

void main()

{

init();

while(1)

{

if(c》=50)

{

c=0;

b++;

}

xianshi1(b);

if(b》=36)

b=0;

}

}

void timer0() interrupt 1

{

TH0=(65536-50000)/256;

TL0=(65536-50000)%6;

c++;

}

程序用來顯示的圖案應為暫時沒有時間去編了,只能靠大家來整了!~~

圖案的編輯規則是:應為是每一次給Y軸一個8位的圖案,所以只要64次就可以循環過來了,如圖示,第一面顯示完成后第二面開始顯示,來回八次,直到第八面顯示完成,再次轉到第一面,再次循環以上步奏,因為速度哦夠快,就可形成完整的圖案安了。

所以如果要形成一個完整的圖案就要有64個數據。

這就算是徹底的制作完成了!~~

聲明:本文內容及配圖由入駐作者撰寫或者入駐合作網站授權轉載。文章觀點僅代表作者本人,不代表電子發燒友網立場。文章及其配圖僅供工程師學習之用,如有內容侵權或者其他違規問題,請聯系本站處理。 舉報投訴
  • led
    led
    +關注

    關注

    242

    文章

    23252

    瀏覽量

    660559
  • 單片機
    +關注

    關注

    6035

    文章

    44554

    瀏覽量

    634632
  • 光立方
    +關注

    關注

    23

    文章

    164

    瀏覽量

    60554
收藏 人收藏

    評論

    相關推薦

    8x8x8立方間距多大比較好

    8x8x8立方間距多大比較好?
    發表于 05-12 22:58

    【六歲孩子實驗屋(上)】8x8x8 LED 立方

    大家好, 我是張柏巒, 我今年 6 歲了, 在今天的電子實驗中, 我們使用 512 綠色發光二極管, 組成8x8x8 的燈光立方體,
    發表于 02-24 18:39

    【六歲神奇孩子】電子實驗屋8x8x8 LED 立方(中集)效果演示篇

    `我是張柏巒, 我今年 6 歲了, 今天,我們準備用 512 綠色發光二極管, 組成8x8x8 LED
    發表于 02-26 20:08

    8x8x8立方原理圖下載

    8X8X8立方,有用的拿去原理圖.pdf
    發表于 07-13 03:47

    8x8x8立方原理圖和PCB下載

    立方原理圖和PCB 希望對大家都有幫助8X8X8原理圖和PCB.rar 2015-5-10 21:34 上傳 點擊文件名下載附件 349.51 KB, 下載次數: 62
    發表于 07-19 05:26

    基于STC89C52單片機8x8x8的LED立方設計資料分享

    1.簡介本設計是以STC89C52單片機的8x8x8的LED立方。本設計將LED立方分成8
    發表于 11-18 07:27

    3D立方的設計與制作

    本篇文章介紹了8x8x8立方制作的整個過程以及設計
    發表于 02-24 16:00 ?9次下載

    8X8X8立方原理圖

    8X8X8立方原理圖,感興趣的小伙伴們可以看看。
    發表于 07-26 14:09 ?7次下載

    如何設計立方8x8x8立方的完整原理圖及PCB資料

    很早以前,就有相關的視頻資料,在國內各大視頻網站出現,樣式絢麗,也直有很多玩家想放置,對于這個東西來說,本身技術不是很復雜,也不是很簡單,更多 的是需要耐心下面我就來詳解如何打造
    發表于 06-05 08:00 ?0次下載
    如何設計<b class='flag-5'>一</b><b class='flag-5'>個</b><b class='flag-5'>光</b><b class='flag-5'>立方</b>和<b class='flag-5'>8x8x8</b><b class='flag-5'>光</b><b class='flag-5'>立方</b>的完整原理圖及PCB<b class='flag-5'>資料</b>

    立方制作教程之3D8立方詳細制作資料免費下載

    本文檔的主要內容詳細介紹的是立方制作教程之3D8立方
    發表于 08-29 15:23 ?228次下載
    <b class='flag-5'>光</b><b class='flag-5'>立方</b><b class='flag-5'>制作</b>教程之3D<b class='flag-5'>8</b><b class='flag-5'>光</b><b class='flag-5'>立方</b><b class='flag-5'>詳細</b><b class='flag-5'>制作</b><b class='flag-5'>資料</b>免費下載

    如何使用STC單片機進行8X8X8的LED立方系統設計

    為解決二維 LED顯示屏顯示單調和立體性差的問題,以STC系列單片機為核心,采用鎖存器74HC573和ULN2803芯片實現大功率LED的驅動,提出了軟硬件系統設計方案,并完成了8X8X8的LED
    發表于 07-31 16:40 ?24次下載
    如何使用STC單片機進行<b class='flag-5'>8X8X8</b>的LED<b class='flag-5'>光</b><b class='flag-5'>立方</b>系統設計

    8x8x8立方的C語言程序和工程文件免費下載

    本文檔的主要內容詳細介紹的是8x8x8立方的C語言程序和工程文件免費下載
    發表于 12-20 08:00 ?102次下載
    <b class='flag-5'>8x8x8</b><b class='flag-5'>光</b><b class='flag-5'>立方</b>的C語言<b class='flag-5'>程序</b>和工程文件免費下載

    制作4X4X4立方詳細資料說明

    本文檔的主要內容詳細介紹的是制作4X4X4立方詳細資料說明包括了:圖文教程,原理圖,源代碼
    發表于 12-23 15:24 ?21次下載
    <b class='flag-5'>制作</b>4<b class='flag-5'>X4X</b>4<b class='flag-5'>立方</b><b class='flag-5'>光</b>的<b class='flag-5'>詳細資料</b>說明

    8x8x8 RGB LED立方體開源分享

    電子發燒友網站提供《8x8x8 RGB LED立方體開源分享.zip》資料免費下載
    發表于 10-19 14:53 ?4次下載
    <b class='flag-5'>8x8x8</b> RGB LED<b class='flag-5'>立方</b>體開源分享

    8x8x8 LED立方體的制作

    今天,我們就來介紹如何做一個我們自己的8x8x8 LED立方體,希望入門級愛好者能夠順利完成它。
    的頭像 發表于 11-25 17:00 ?8419次閱讀
    主站蜘蛛池模板: 捆绑白丝粉色JK震动捧喷白浆| 视频成人永久免费下载| 穿着丝袜被男生强行啪啪| 亚洲精品九色在线网站| 男女做爽爽爽视频免费软件 | 久久精品手机观看| 公主纯肉高H文| 92午夜免费福利757| 亚洲AVAV天堂AV在线网爱情| 免费精品一区二区三区在线观看| 国产精品亚洲欧美| music radio在线收听| 在线观看视频国产| 午夜伦理 第1页| 热久久2018亚洲欧美| 久久青青热| 韩国黄色影院| 国产精品高清m3u8在线播放| 好男人在线高清WWW免费观看| 啊好深啊别拔就射在里面| 有码 亚洲 制服 国产 在线| 午夜勾魂曲| 少妇的肉体AA片免费| 欧美极限变态扩张video| 老师的玉足高跟鞋满足我| 国产在线视频分类精品| 国产精自产拍久久久久久蜜| 第九色区av天堂| 不良网站进入窗口软件下载免费| 91精品国产色综合久久不| 在教室伦流澡到高潮H女攻视频 | 一本之道加勒比在线观看| 乌克兰xxxxx| 少妇系列之白嫩人妻| 日韩 无码 手机 在线| 青柠在线观看免费全集| 欧美性最猛xxxx在线观看视频| 免费观看视频成人国产| 美国z0069| 男女后进式猛烈xx00动态图片| 美女扒开屁股让男人桶|