精品国产人成在线_亚洲高清无码在线观看_国产在线视频国产永久2021_国产AV综合第一页一个的一区免费影院黑人_最近中文字幕MV高清在线视频

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

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

3天內不再提示

如何使用51單片機制作LED旋轉顯示器

2oON_changxuemc ? 來源:未知 ? 2018-12-23 09:15 ? 次閱讀

下面分享一下我的制作過程。這里有關于本制作的更詳細的圖片展示:

首先是制作效果圖:

電路圖:

電路采用的是無限供電模塊給單片機供電的。采用無限供電。無摩擦,震動小。LED與單片機引腳之間的連接采用的是細小的漆包線。省去了限流電阻。省去復位電路制作起來更簡單方便。

準備主要材料:因很多人不知材料哪里買,先將地址鏈接在材料名稱,點擊就進去了

1.51單片機1片

2.單片機插槽和萬能電路板(洞洞板)

3.貼片LED0603(顏色自定,如果焊接技術不夠可以用大點的,如1206,多買一些,備用)

4.紅外接收、發送

5.電阻R4-R6

6.細小漆包線

7.排針下載接口用)

8.24兆晶振

9.電容

10.12v電源(充電用)

11.電動馬達

12.7.4v鋰電池(也可用兩顆廢舊手機電池)

13.無線供電模塊

14.stc下載程序器

下面開始動手了。

1無線供電模塊

喜之郎果凍外殼

程序:

/*********旋轉顯示***************/

#include

#define uint unsigned int

#define uchar unsigned char

sbit D1=P3^2;

sbit D2=P3^4;

sbit D3=P1^0;

sbit D4=P0^7;

void delay();

void xing();

void zhunbei();

uchar code hanzi1[];

uchar code hanzi2[];

uchar code hanzi3[];

uchar code hanzi4[];

uchar code hanzi5[];

uchar code hanzi6[];

uchar code hanzi7[];

uchar code hanzi8[];

uchar code hanzi9[];

uchar code hanzi10[];

uchar code hanzi11[];

uchar code hanzi12[];

uchar code hanzi13[];

uchar code hanzi14[];

uchar code hanzi15[2][64];

uchar code hanzi16[2][64];

uchar code hanzi17[];

uchar code hanzi18[];

uchar code hanzi19[];

uchar code hanzi20[];

uchar code hanzi21[];

uchar code hanzi22[];

uchar cc,bb,mm,dd,tt,kk,kk1,kk2;kk4;

uint kk3,jj,aa;

void main()

{

zhunbei();

while(1)

{

if(D1==0)

{

if(kk==11)

{

if(cc>112)

{

if(kk4<7)

{

kk4++;

kk2++;

}

if(kk4==7)

{

kk4=6;

kk2=14;

}

}

for(aa=kk4;aa

{

P0=hanzi19[aa];

P1=hanzi20[aa];

D3=D4=0;

delay();

}

/////////////////////////////////////////////////////////////

xing();

/////////////////////////////////////////////////////////

if(kk==1)

{

mm=cc=0;

bb=bb+1;

if(bb==95)

{

bb=94;

dd++

if(dd==97)

dd=96;

}

for(aa=dd;aa<=bb;aa++) //////////////無論何時何地

{

P0=hanzi3[aa];

P1=hanzi4[aa];

delay();

P0=0xff;

P1=0xff;

}

}

/////////////////////////////////////////////////////

if(kk==2)

{

dd=bb=0;

cc++;

if(cc==95)

{

cc=94;

mm++;

if(mm==97)

mm=96;

}

for(aa=mm;aa<=cc;aa++) //////////////無論身在何方

{

P0=hanzi5[aa];

P1=hanzi6[aa];

delay();

P0=0xff;

P1=0xff;

}

}

/////////////////////////////////////////////////

if(kk==3)

{

mm=cc=0;

bb++;

if(bb==127)

{

bb=126;

dd++;

if(dd==129)

dd=128;

}

for(aa=dd;aa<=bb;aa++) /////我愿把無數的思念

{

P0=hanzi7[aa];

P1=hanzi8[aa];

delay();

P0=0xff;

P1=0xff;

}

}

//////////////////////////////////////////////

if(kk==4)

{

dd=bb=0;

cc++;

if(cc==111)

{

cc=110;

mm++;

if(mm==113)

mm=112;

}

for(aa=mm;aa<=cc;aa++)

{

P0=hanzi9[aa]; ///////////////////////化作無限的祝福

P1=hanzi10[aa];

delay();

P0=0xff;

P1=0xff;

}

}

///////////////////////////////////////

if(kk==5)

{

mm=cc=0;

bb++;

if(bb==111)

{

bb=110;

dd++;

if(dd==113)

dd=112;

}

for(aa=dd;aa<=bb;aa++) ////////祝你健康快樂!

{

P0=hanzi11[aa];

P1=hanzi12[aa]

delay();

P0=0xff;

P1=0xff

}

}

/////////////////////////////////////////////

if(kk==6)

{

dd=bb=0;

cc++;

if(cc==40)

{

cc=39;

}

for(aa=0;aa<=cc;aa++)

{

P0=hanzi13[aa]; ///////////////////////(*^__^*) 嘻嘻……

P1=hanzi14[aa];

delay();

P0=0xff;

P1=0xff;

}

}

////////////////////////////////////////////

if(kk==7)

cc=0;

bb++

if(bb==59)

{

bb=58;

dd++;

if(dd==7)

{

dd=0;

mm++;

if(mm==2)

mm=0;

}

}

for(aa=0;aa<=bb;aa++) ////////↖(^ω^)↗

{

P0=hanzi15[mm][aa];

P1=hanzi16[mm][aa]

delay();

P0=0xff;

P1=0xff;

}

/////////////////////////////////////

if((kk==8)||(kk==9)||(kk==10))

{

dd=bb=0;

kk3++;

if(kk3==383)

{

kk3=382;

}

if(kk3>176)

jj++;

for(aa=jj;aa<=kk3;aa++)

{

P0=hanzi21[aa]; ///////////////////////每當...........

P1=hanzi22[aa];

delay();

P0=0xff

P1=0xff;

}

}

//////////////////////

xing();

//////////////////////////////////

if(kk==11)

{

kk3=kk1=0;

mm=0;

cc++;

if(cc==120)

{

cc=119;

}

for(aa=cc;aa<=128;aa++)

P0=hanzi17[aa]; ///////////////////////箭頭

P1=hanzi18[aa];

delay();

P0=0xff;

P1=0xff;

}

}

////////////////////////////////////

D3=D4=0;

//////////////////////////////////////////////////

}

}

}

void zhunbei()

{

TMOD=0x11;//設置定時器0為工作方式1

TH0=0;

TL0=0

EA=1;//開總中斷

ET0=1;//開定時器0中斷

TR0=1;//啟動定時器

kk2=8;

kk1=0;

dd=0;

bb=0;

kk=1;

}

void xing()

{

for(aa=16;aa>0;aa--)

{

P0=hanzi1[aa];

P1=hanzi2[aa]; ////心型

delay();

P0=0xff;

P1=0xff;

}

}

void delay()//延時

{

uint x;

for(x=15;x>1;x--);

}

void time0() interrupt 1

{

TH0=0;

TL0=0;

tt++;

if(tt==255)

{

tt=0;

kk++;

if(kk==12)

{

kk=1;

kk2=8;

cc=0;

mm=0;

kk1=0;

dd=0;

bb=0;

kk4=0;

cc=0;

jj=0;

}

}

}

uchar code hanzi1[]={0xFF,0xF1,0xE0,0xE0,0xE0,0xF0,0xF0,0xF8,0xFC,0xF8,0xF0,0xF0,0xE0,0xE0,0xE0,0xF1};

uchar code hanzi2[]={0xFF,0xFF,0x7F,0x3F,0x1F,0x0F,0x07,0x03,0x01,0x03,0x07,0x0F,0x1F,0x3F,0x7F,0xFF};

//////////////////////////////////////////////

uchar code hanzi3[]={0xFF,0xFD,0xBD,0xBD,0xBD,0xBC,0x81,0xBD,0xBC,0xBD,0xBD,0xBD,0xFD,0xFD,0xFF,0xFF,

0xFD,0xFD,0xBD,0xCC,0xFF,0xFD,0xFB,0xF6,0xCF,0x3F,0xCF,0xF6,0xFB,0xFD,0xFD,0xFF,

0xFF,0xFE,0xF9,0xE0,0x1F,0xDF,0xD8,0xDB,0xDB,0xD8,0xDF,0xDF,0xC0,0xDF,0xDF,0xFF,

0xFF,0xC0,0xDE,0xDE,0xDE,0xC0,0xFF,0xF7,0xF7,0xF7,0xF7,0xF7,0x00,0xF7,0xF7,0xFF,

0xFF,0xFE,0xF9,0xE0,0x1F,0xDF,0xD8,0xDB,0xDB,0xD8,0xDF,0xDF,0xC0,0xDF,0xDF,0xFF,

0xFB,0xFB,0xFB,0x00,0xFB,0xFB,0xFE,0xE0,0xFE,0xFD,0x00,0xFB,0xF7,0xF0,0xFF,0xFF};

uchar code hanzi4[]={0xFE,0xFD,0xFB,0xF7,0xCF,0x3F,0xFF,0xFF,0x03,0xFD,0xFD,0xFD,0xFD,0xF1,0xFF,0xFF,

0xFF,0xFF,0xFF,0x01,0xFB,0xF7,0xFF,0x03,0xDD,0xBD,0x7D,0xFD,0xFD,0xF1,0xFF,0xFF,

0x7F,0xFF,0xFF,0x00,0xFF,0xFF,0x0F,0xDF,0xDF,0x0F,0xFD,0xFE,0x01,0xFF,0xFF,0xFF,

0xFF,0x03,0xF7,0xF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FE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,

0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFE,0xFC,0xFC,0xFC,0xFC,0xFE};

uchar code hanzi18[]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0x7F,0x7F,0xBF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,

0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x7F,0x7F,0x7F,0x7F,0xFF};

/////////////////////////////////////////////////

uchar code hanzi19[]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE,0xFC,0xFC,0xFA,0xFE,0xFE,0xFE,0xFE};

uchar code hanzi20[]={0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x7F,0x7F,0xBF,0xFF,0xFF,0xFF,0xFF}

/////////////////////////////////////////////////

uchar code hanzi21[]={0xFB,0xF7,0xCF,0x30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FF,0xFF,

0xDF,0xDF,0x81,0x7F,0xFE,0xFD,0x83,0xFF,0xFF,0x80,0xFF,0xFF,0x81,0xFE,0xF8,0xFF,

0xFF,0xDD,0xBD,0x6D,0x6D,0x6D,0x6D,0x01,0x6D,0x6D,0x6D,0x6D,0x7D,0xFD,0xFF,0xFF,

0xFD,0xFD,0xFB,0x37,0xCF,0xD7,0xBB,0x7D,0xE0,0xFF,0x0F,0xFD,0xFE,0x01,0xFF,0xFF,

0xFF,0xFD,0xFB,0x07,0xFB,0xFD,0xFD,0x7D,0xFD,0xED,0xF5,0x0D,0xFD,0xFD,0xFD,0xFF,

0xFB,0xF9,0x03,0x5B,0x57,0x57,0x00,0xF6,0x1D,0x6B,0x77,0x4B,0x3D,0xFE,0xFE,0xFF,

0xFF,0xFD,0xFB,0x07,0xFB,0xF5,0xCD,0x3D,0xFD,0xFD,0xFD,0x05,0xFD,0xFD,0xFD,0xFF,

0xFF,0x01,0x7B,0x7B,0x7B,0x7B,0x01,0xFF,0xFF,0xFF,0x3D,0xFE,0xFD,0x03,0xFF,0xFF,

0xFE,0xFE,0xFD,0xFB,0xF7,0xCF,0x3F,0xFF,0x3F,0xCF,0xF7,0xFB,0xFD,0xFE,0xFE,0xFF,

0xFF,0xFD,0xFB,0x07,0xFB,0xF5,0xED,0x9D,0x7D,0xF

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

    關注

    240

    文章

    23134

    瀏覽量

    658410
  • 顯示器
    +關注

    關注

    21

    文章

    4944

    瀏覽量

    139818
  • 51單片機
    +關注

    關注

    273

    文章

    5697

    瀏覽量

    123186

原文標題:基于51單片機的LED旋轉顯示器制作

文章出處:【微信號:changxuemcu,微信公眾號:暢學單片機】歡迎添加關注!文章轉載請注明出處。

收藏 人收藏

    評論

    相關推薦

    51單片機制作LED點陣顯示模塊

    設計內容利用51單片機LED點陣顯示模塊,來設計點陣顯示的硬件電路,并編制相應程序,實現中英文字符的
    發表于 11-22 17:11

    51單片機制作動畫,為什么顯示的動畫閃現?

    我用51單片機制作動畫,為什么顯示的動畫感覺是一幅一幅圖在一閃一閃的出現,如何解決,謝謝!
    發表于 05-07 15:09

    單片機制作多頻顯示器信號源有程序

    單片機制作多頻顯示器信號源
    發表于 10-27 09:16

    如何利用51單片機制作液晶顯示的電子琴?

    如何利用51單片機制作液晶顯示的電子琴?
    發表于 10-28 07:47

    51單片機+LCD顯示器資料 C源代碼+proteus仿真

    51單片機+LCD顯示器資料 C源代碼+proteus仿真
    發表于 04-02 11:43 ?502次下載

    MCS-51單片機與鍵盤、顯示器、微型打印機的接口

    MCS-51單片機與鍵盤、顯示器、微型打印機的接口
    發表于 09-13 08:07 ?150次下載

    51單片機制作計算程序

    51單片機制作計算程序,可以實現加減乘除開根號的計算功能
    發表于 11-19 11:34 ?70次下載

    單片機制作繼電器 【匯編版】

    單片機制作繼電器 【匯編版】單片機制作繼電器 【匯編版】單片機制作繼電器 【匯編版】
    發表于 12-29 13:50 ?0次下載

    單片機制作譯碼實驗程序+文檔

    單片機制作譯碼實驗程序+文檔 單片機制作譯碼實驗程序+文檔 單片機制作譯碼實驗程序+文
    發表于 12-29 15:51 ?3次下載

    單片機控制LED點陣顯示器

    單片機控制LED點陣顯示器,有興趣的同學可以下載學習
    發表于 04-28 17:05 ?40次下載

    單片機控制LED點陣顯示器

    單片機控制LED點陣顯示器,很好的設計資料,快來下載學習吧。
    發表于 05-09 17:35 ?28次下載

    led旋轉顯示器

    led旋轉顯示器
    發表于 02-07 21:06 ?0次下載

    如何使用AT89S51單片機來設計一個旋轉LED顯示

    單片機的應用十分廣泛,在工業控制領域、家電產品、智能化儀器儀表、計算機外部設備等方面都有重要的用途。該文以89C51 單片機旋轉LED
    發表于 10-24 15:52 ?67次下載
    如何使用AT89S<b class='flag-5'>51</b><b class='flag-5'>單片機</b>來設計一個<b class='flag-5'>旋轉</b><b class='flag-5'>LED</b><b class='flag-5'>顯示</b>屏

    使用51單片機制作簡易仿真的教程說明

    由于市場上現有的單片機仿真非常昂貴,為了減少在開發單片機時的成本,故提出利用SST公司的SST89E564RD系列單片機制作簡單的51
    發表于 10-14 17:13 ?22次下載
    使用<b class='flag-5'>51</b><b class='flag-5'>單片機制作</b>簡易仿真<b class='flag-5'>器</b>的教程說明

    使用51單片機制作數碼管顯示數字時鐘的可調C源程序免費下載

    本文檔的主要內容詳細介紹的是使用51單片機制作數碼管顯示數字時鐘的可調C源程序免費下載。
    發表于 11-19 17:48 ?22次下載
    使用<b class='flag-5'>51</b><b class='flag-5'>單片機制作</b>數碼管<b class='flag-5'>顯示</b>數字時鐘的可調C源程序免費下載