2025 年小学期单片机设计实验报告题目:基于 PIC16F877 单片机的 LED 旋转时钟班 级: 学 号: 班内序号: 实验组号: 学生姓名: 指导老师: 期中检查老师评语指导老师签字: 年 月 日基于 PIC16F877 单片机的 LED 旋转时钟―― 班实验摘要 本次我们制作的基于 PIC16F877 单片机的 LED 旋转时钟是能够输入、显示时间的时钟。结构新颖,效果奇特。加入了现代科技的元素,利用人眼的视觉暂留特性,解决了传统时钟结构单一,显示效果固定的缺陷,更好了满足了人们对美的追求。整个系统中,微控制器采纳了 Microchip 公司的 PIC16F877,软件设计中涉及 PORTA用作普通数字 I/O 脚控制按键输入,PORTB、PORTC 控制灯的亮灭,PORTD 向时钟芯片DS1302 写入和读出时间。概括来说,本实验就是用人眼的视觉暂留特性,用 PIC16F877 单片机作为主控芯片,采纳电机带动发光二极管高速旋转,利用频闪显示原理呈现时钟画面。AbstractAbstractIn this experiment, we made a LED rotating clock base on PIC16F877 MCU. It can input and show time. Its structure is novel and its effect is amazing. It’s full of modern technology element. With human eyes’ persistence of vision, it solves traditional clock’s structure and effect’s disadvantage, fits human pursue for beauty better.The system uses the production of the Microchip cord--PIC16F877. The design includes the drive of PORTA as general digital ports to input time, the drive of PORTB and PORTC to control the LED’s on, the drive of PORTD to write and read time on DS1302. In conclusion, with human eyes’ persistence of vision, this experiment uses PIC16F877 MCU as master chip, uses motor to drive LED rotate at high speed, uses strobe display principle to show the clock.关键字单片机——microcontroller 芯片——CMOS chip LED 旋转时钟-- LED rotating clock一一..实验论证与比较实验论证与比较1.LED 显示模块LED 的特点非常明显,寿命长、光效高、无辐射与低功耗。LED 的光谱几乎全部集中于可见光频段,其发光效率可达 80~90%。将 LED 与普通白炽...