Giter VIP home page Giter VIP logo

temperature-control-fan-design-based-on-51-microcontroller's Introduction

温控风扇

能够完成的要求: 1、 温度控制机制: 用户可以通过键盘设置高、低温度值,为系统提供控制参数; 风扇转速根据测得的外界温度实时调整。 2、 风扇运行模式: 当测得的温度位于用户设置的高低温度值之间时,系统将风扇切换至弱风挡运行; 如果温度升高超过设定的最高温度,系统将自动切换到风扇的强风档,以有效降温; 当温度低于设定的最低温度时,系统将自动关闭风扇,避免不必要的能耗。 3、 温度设置保存: 用户通过键盘输入的温度设置将被保存在外扩存储芯片中,以确保即使在断电情况下,系统能够保留用户的设定值。 4、 信息显示功能: 风扇档位、用户设置的温度、实际测得的温度等信息将通过显示屏进行展示,使用户能够实时了解系统状态。 5、 红外遥控 能够用红外遥控器来实现对温度阈值的控制,可以切换模式来直接对电机转速控制。 下面是整个程序的流程图:

image

简要介绍: 一上电时完成了定时器0、1的初始化、LCD液晶屏显示的初始化、红外接收器的程序初始化、DS18B20的初始化。上电后LCD不显示信息,按下遥控器的Power键,此时LCD显示信息:此时环境的温度值、温度的阈值和当前风扇的档位。风扇根据当前的温度有三个档位可以选择,温度高于阈值为“HIGH”档,温度在阈值范围内为“LOW”档,温度小于温度阈值为“NO档”,可以通过单片机的按键或者是遥控器按键来控制温度的阈值范围,此外遥控器可以切换到IR模式,此时可以直接通过遥控器来完成对风扇档位的控制。

temperature-control-fan-design-based-on-51-microcontroller's People

Contributors

wwycj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.