设计了基于GPS集成模块和单片机最小系统的自动校时打铃控制器。单片机通过对GPS集成模块E531的串行口进行数据采集,得到实时格林威治时间,然后经过时区调整转换为标准北京时间。将其作为打铃控制器的时间基准对系统本地时钟DS1302进行校准。在GPS有效捕获卫星信号时可以及时得到标准时间,当GPS模块捕获卫星信号失效时可以通过本地时钟继续工作,这样既保持了时间的准确性又保证了控制器工作的连续性。
Abstract:
Auto-timing ringing controller is designed based on GPS OEM module and SCM minimal system.MCU got the Greenwich time from E531 module.Then converted the time to Beijing time by adjusting the time zone. And the Beijing time calibrated the local chip DS1302. The controller based on the time of satellite when the GPS satellite signals received or the time of local chip when the GPS module can not receive satellite signals. In this way,it maintaines the accuracy of the controller’s time and ensures the continuity of it’s work.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !