1、重庆大学 毕业 设计 专用 纸 共 2 页 第 1 页 装 订 线 1 电子时钟 摘要 本设计是基于 STC 单片机的电子时钟技术,由 STC12C5A16S2 芯片和LCD1602 液晶显示屏 , DS18B20 进行温度测量 ,辅以必要的的电路,构成一个单片机定时闹钟。电子钟可采用数字电路实现,也可以采用单片机来完成。 LCD显示“时”,“分”, LED 闪动来做秒计数,定时时间到能发出警报声或者启动继电器,从而控制电器的启停。现在是自动化高度发达的时代,特别是电子类产品都是靠内部的控制电路来实现对产品的控制,达到自动运行的目的,这就需要我们这里要做的设计中的电器元件及电路的支持。 在这次
2、设计 中主要是用STC12C5A16S2 来进行定时,也结合着其他辅助电路实施控制,在定时的时候,按一下控制小时的键对小时加一;按一下控制分钟的键对分钟加一;到达预设的时间,此电路就会发出报警声音提示已经到点。 关键词 定时闹钟 STC12C5A16S2 LCD1602 重庆大学 毕业 设计 专用 纸 共 2 页 第 2 页 装 订 线 Time clock Abstract The regular alarm clock designers design, by the microcontroller STC12C5A16S2 chip and LCD1602 display、 DS18B2
3、0 , combined with the necessary circuitry to form a single-chip timer alarm clock. Clock can be digital circuit, the microcontroller can also be used to complete. LCD display when, sub, LED flash to do the second count, regular time to be able to sound an alarm or start relay to control the electric
4、al start and stop. Now is the era of highly developed automation, especially electronic products are relying on the internal control circuitry to achieve control of the product to achieve the purpose of automatic operation, which requires us to do the design of electrical components and circuits to
5、support . In this design it is mainly used to carry out regular AT89S51, but also combined with other auxiliary circuit implementation of the control, in time, when you click a control button on the hour plus one hour; click the button on the control minutes plus one minute; reach preset time, this will sound an alarm circuit has prompted the point Key Words time clock STC12C5A16S2 LCD1602