Giter Site home page Giter Site logo

temperature_controller's Introduction

closed-box-heating

1. Technology used

  • Programming Language: C++
  • Cloud: AWS EC2 Free tier
  • Tools: Node-RED, nodejs, MQTT broker
  • Board: ESP8266

2. Project description

This is a small box that controls the temperature inside a box of 10cm^2 with an incandescent lamp, temperature sensor, and a fan through the web browser.

3. Detail

  • Create an MQTT broker on the EC2 machine also install Node-RED
  • Create a GUI by using Node-RED which shows the state (ON/OFF), current temperature, and the controller of the box
  • Connect the Node-RED GUI to each controller node (set temperature, get temperature, set status (on/off))
  • Apply the PID algorithm to control the temperature of the box. Using PWM to control the lamp voltage and the fan voltage. If the sensor gets the temperate higher than the set temp, then the fan will run, and the lamp bright darker. If the current temperate lower than the set temp then the lamp will be brighter and the fan turn off
  • Config the wifi and MQTT broker connection for the ESP8266 board
  • Update realtime the current status of the box (On/Off, temperature)

4. Result

The box works as expected. Error is less than 3 degrees Celcius.

temperature_controller's People

Contributors

tr1umphh avatar

Watchers

Thành Võ 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.