The utility model relates to a work and rest time controller, in particular to a work and rest time controller based on single chip microcomputer. Time schedule controller includes timer, input module, clock circuit, power supply module, controller, lighting module, display module, voice module, alarm clock module, wireless communication module and infrared sensor, the output of the power supply module is connected with the input end of the controller; the output end of the controller is connected with the input end of the display module; the output end of the controller connected with the input end of the voice module; the output end of the controller is connected with the input end of the alarm module; the output end of the controller is connected with the input end of the wireless communication module; the output of the infrared sensor is connected with the input end of the controller. The utility model has the advantages that the structure is simple, the infrared sensor is used to detect whether a person is in the vicinity, the time is set for a specific time, and the voice broadcast can be carried out.
【技术实现步骤摘要】
本技术主要涉及一种作息时间控制器,更具体地说,涉及一种基于单片机的作息时间控制器。
技术介绍
学生、白领等每天的生活不规律,长时间不休息的学习或工作,会对视力、身体健康等造成伤害,时间长了会诱发疾病。为了保障学生、白领等的视力、及身体健康,研究出一个作息时间控制器,使用者事先输入预设的作息时间,通过语音及响铃提示的方式,提示使用者工作或是休息,养成一种健康的生活习惯。
技术实现思路
本技术主要解决的技术问题是提供一种基于单片机的作息时间控制器,其结构简单,根据红外传感器检测是否有人在附近,设定特定时间进行定时,并能进行语音播报,光线暗时还能起到照明的作用。为解决上述技术问题,本技术一种基于单片机的作息时间控制器包括定时器、输入模块、时钟电路、电源模块、控制器、照明模块、显示模块、语音模块、闹钟模块、无线通信模块和红外线传感器,其结构简单,根据红外传感器检测是否有人在附近,设定特定时间进行定时,并能进行语音播报,光线暗时还能起到照明的作用。其中,所述定时器的输出端连接着控制器的输入端;所述输入模块的输出端连接着控制器的输入端;所述时钟电路的输出端连接着控制器的输入端;所述电源模块的输出端连接着控制器的输入端;所述控制器的输出端连接着照明模块的输入端;所述控制器的输出端连接着显示模块的输入端;所述控制器的输出端连接着语音模块的输入端;所述控制器的输出端连接着闹钟模块的输入端;所述控制器的输出端连接着无线通信模块的输入端;所述红外线传感器的输出端连接着控制器的输入端。作为本技术的进一步优化,本技术一种基于单片机的作息时间控制器所述控制器采用AT89C51单片机。作为本 ...
【技术保护点】
一种基于单片机的作息时间控制器,其特征在于,所述作息时间控制器包括定时器、输入模块、时钟电路、电源模块、控制器、照明模块、显示模块、语音模块、闹钟模块、无线通信模块和红外线传感器,所述定时器的输出端连接着控制器的输入端;所述输入模块的输出端连接着控制器的输入端;所述时钟电路的输出端连接着控制器的输入端;所述电源模块的输出端连接着控制器的输入端;所述控制器的输出端连接着照明模块的输入端;所述控制器的输出端连接着显示模块的输入端;所述控制器的输出端连接着语音模块的输入端;所述控制器的输出端连接着闹钟模块的输入端;所述控制器的输出端连接着无线通信模块的输入端;所述红外线传感器的输出端连接着控制器的输入端。
【技术特征摘要】
1.一种基于单片机的作息时间控制器,其特征在于,所述作息时间控制器包括定时器、输入模块、时钟电路、电源模块、控制器、照明模块、显示模块、语音模块、闹钟模块、无线通信模块和红外线传感器,所述定时器的输出端连接着控制器的输入端;所述输入模块的输出端连接着控制器的输入端;所述时钟电路的输出端连接着控制器的输入端;所述电源模块的输出端连接着控制器的输入端;所述控制器的输出端连接着照明模块的输入端;所述控制器的输出端连接着显示模块的输入端;所述控制器的输出端连接着语音模块的输入端;所述控制器的输出端连接着闹钟模块的输入端;所述控制器的输出端连接着无线通信模块的输入端;所述红外线传感器的输出端连接着控制器的输入端。2.根据权利要求1所述的一种基于单片机的作息时间控制器,其特征在于:所述控制器采用AT...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。