LED电子时钟的设计与制作

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

目录

摘要……………………………………………………………………………

第一章绪论……………………………………………………………………1.1设计的目的和意义………………………………………………………

1.2设计项目的发展情况简介………………………………………………

第二章电路的设计(原理图)………………………………………………2.1电路设计分析……………………………………………………………

2.2主要元器件简介…………………………………………………………

2.3电路原理图………………………………………………………………

第三章 PCB设计………………………………………………………………… 3.1电路的PCB…………………………………………………………………

3.2元器件的购买及焊接………………………………………………………

第四章程序分析………………………………………………………………… 4.1定时器误差分析…………………………………………………………… 4.2按键消除抖动的设计分析…………………………………………………

4.3主要程序分析………………………………………………………………结束语……………………………………………………………………………

参考文献…………………………………………………………………………

LED电子时钟的设计与制作

摘要

本次设计中的LED数码管电子时钟电路采用24小时制记时方式。本次设计采用AT89C51单片机的扩展芯片和6个三极管做驱动,由六块LED数码管构成的显示系统,与传统的基于8/16位普通单片机的LED显示系统相比较,本系统在不显著地增加系统成本的情况下,可支持更多的LED数码管稳定显示。设计采用AT89C51单片机,配备11.0592MHz晶振,复位电路为上电复位。采用软件译码动态显示,考虑直接用单片机I/O口作为位选时可能驱动功率不够,可采用三极管作驱动共阳极数码管显示。6位8段LED数码管作正常、调时和节电显示,时间按时分秒排列,时钟误差:24小时误差3~5秒,并且在按键的作用下可以进行调时,调分,复位功能。本电路采用直流5V电源供电,可用一般带电源线的MP3充电器稍微改造而成。同时为了限流保护电路也用了若干个阻值不等的电阻。

在本文一开始做了一些概述主要说明此设计的目的和意义,并会对这类设计项目发展情况做个简介。这是对这次设计很重要的一个认识是前提和设计者必须明确和了解的。

然后本文对此设计做了一些简要分析,这对理清设计思想很重要。然后还对设计中用到的元器件进行比较全面的介绍。如AT89C51、74HC164、LED 等。只有真正了解了元器件的特性和功能才能让这些元器件在设计中起到作用。电子整个设计第一步是电路原理图,它直接关系着后续的工作。

接着当原理图完成好后就要为后面的刻板做准备了,这就是PCB印制电路板的制作。它影响了整个设计的布局是能不能成功的条件。

紧接着就是程序了,如果只有硬件电路而没有程序,那么这个设计将一文不值,也就是说是一堆破铜烂铁。所以这部分也是非常重要的。

最后结合整个设计总结了一些心得体会为这次的设计画上完满的句号。也为以后更好的设计提供经验。

关键词:AT89C51,LED,时钟,电路的原理图和PCB图

Abstract

In this design LED nixie tubeelectronclock electric circuitselects 24 hour systemtime methods. This designuses at89C51 monolithic integrated circuit the expansion chip and 6 triodes makes the actuation,by six LEDnixie tubeconstitutiondisplay system, compares withthetradition based on 8/16ordinary monolithic integratedcircuitLEDdisplay system,this systeminnot obviously increases thesystem cost in the situation, may supportthe more LEDnixie tube stable demonstration.The de signuses at89C51 monolithicintegratedcircuit,provides the 11.0592MHzcrystal oscillator, repositionsthe electric circuit foronelectricity replacement. Uses thesoftware decoding dynamic demonstration,considered directly elects as the position when possibly actuatesthe power with themonolithic integratedcircuit I/O mouth tobe insufficient,may usethe triode to make theactuation altogether anode nixie tubedemonstration.6 8section of LED nixietubes make normal,the timing andthe electricity saving demonstrated,time on time minutes and seconds arrangement, clock error:24hourerroneous 3~5 seconds,and maycarry on the timingunder the pressedkey function, moves the minute, the replacement function.This electric circuit uses directscurrent the5Vpower source power supply,theavailablecommon belt power line MP3battery charger transformsslightlybecomes. Simultaneouslyin order to limit flows the protection circuit also to use certainresistanc enumberdifferent resistance.

Made some outlines in this article mainlyto explainfrom the very beginningthis designs the goal andthe significance, and could make a synopsisto thiskindof design project development situation.This is the premise and thedesigner must beclear aboutto this design veryimportant understandin gand understand.

Thenthis article designed regarding this hasmade somebrief analyses, this toclear offthe design concept to beveryimportant.Then also todesigns the primarydevice which uses to carry on the quite comprehensiveintroduction. As AT89C51, 74HC164, LEDand so on. Onlythenhad understood truly the primarydevice characteristic and the function can l et these primary devices playthe role inthedesign.Theelectron entire designs first step istheelectric circuit schematicdiagram;it is relating the following workdirectly.

Afterthen the schematicdiagram completed needs topreparemechanically for behind, thiswas thePCB printed

相关文档
最新文档