苏杰
摘要:本设计是为中职学生在单片机课程学习中,加强理论知识的理解、提高动手操作能力、实现理论联系实际而开发的实习模块设计。本设计是利用最基本的51系列单片机为控制核心,以数字时钟DS1302为时钟芯片,以基础的字符型液晶LCD1602为终端显示,以最简单的洞洞板为载体,以面向客户的C语言程序为控制手段,来实现电子时钟的显示、调整和自动计时。
Abstract: This design is developed for strengthening the understanding of theoretical knowledge, improving the ability to practice and integrating theory with practice of the MCU learning of the secondary vocational school students. This design takes the most basic 51 series microcontroller as the control core, takes DS1302 of digital clock as the clock chip, takes the character LCD1602 as the terminal display, takes the most simple pegboard as the carrier and takes the customer oriented C language program as a means of control to achieve the display, adjustment and automatic timing of the electronic clock.
关键词:51单片机系统;洞洞板电路;C语言;电子时钟显示
Key words:51 SCM system;pegboard circuit;C program;electronic clock display
中圖分类号:TN141.9 文献标识码:A 文章编号:1006-4311(2017)12-0101-02
0 引言
近年来,单片机应用技术课程已经广泛进入到了我国中等职业教育的电气自动化、电工电子等相关专业的专业课程当中。但是由于这门课要求学生有较强的逻辑思维能力,以及课程本身设置了大量的、抽象的理论知识的学习,这就导致大多数中职院校在这门课的教学当中教学效果并不好。本设计就是为了让学生能在理论知识学习的同时,用动手操作完成实际的电路制作的方法,来加强学生对单片机系统的理解。为了增加学习的操作性和趣味性,本设计利用的元器件及辅助材料的成本非常低廉,不需要制作印制电路板;同时为了加强制作的可靠性,整个电路板的设计焊接时不需要跨接明线或杜邦线,所有元件管脚连接都是通过锡接过线来完成,制作完成后使用时间长、不易损坏。
1 系统设计方案
本文所设计的液晶时钟是由主控系统、按键控制、时钟模块和显示模块四个模块组成,如图1所示。……