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,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FC,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,0xB7,0xB7,0xB5,0xB6,0xB7,0xB7,0xB7,0xB0,0xBF,0xBF,0xFF,0xFF,

0xFF,0xFD,0xBD,0xDD,0xE5,0xFD,0xFD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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
    +关注

    关注

    242

    文章

    23256

    浏览量

    660620
  • 显示器
    +关注

    关注

    21

    文章

    4971

    浏览量

    139938
  • 51单片机
    +关注

    关注

    274

    文章

    5702

    浏览量

    123529

原文标题:基于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 503次下载

    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源程序免费下载