1、 本科学生毕业论文(设计)本科学生毕业论文(设计) 题题 目目 基于单片机的温控风扇转速的设计基于单片机的温控风扇转速的设计 姓姓 名名 学学 号号 论文编号论文编号 院(系)院(系) 物理与信息技术学院物理与信息技术学院 专专 业业 电子科学与技术电子科学与技术 指导教师指导教师 职称(学历)职称(学历) 完成时间完成时间 I 摘 要 本设计为一种基于单片机的温控风扇转速系统,具有灵敏的温度感测、显示功能和电 机稳定换挡停机功能;系统采用51系列单片机AT89C51作为控制平台对风扇的转速进行控 制,利用DS18B20数字温度传感器采集实时温度,经单片机处理后通过两个三极管驱动直 流风扇的电
2、机。 另外可由用户设置高、 低温度值, 所设高低温值保存在温度传感器DS18B20 内部E2ROM中,掉电后仍然能保存上次设定值。风扇档位控制状态随外界温度而定,当温 度升高超过所设定的温度时自动切换到全速运转档位;当温度小于所设定的温度时自动关 闭风扇,当测得温度值在高低温度之间时打开风扇的相应风档。 关键词: 自动控制;单片机 AT89C51;温控;风扇;温度感测 II Abstract This design for a fan speed control system based on single chip microcomputer, a smart temperature sen
3、sors, display and motor steady shift stop function; System USES 51 series microcontroller AT89C51 as the control platform to control the speed of the fan, using DS18B20 digital temperature sensor to collect real-time temperature and treated with single chip microcomputer through two triode driven dc fan motor. Another high and low temperature can be set by the user, set high and low temperature values stored in internal temperature sensor DS18B20