Reeta
Published

HVAC Temperature And Status Monitoring With Arduino

Arduino enabled indoor room temperature and Air Conditioner compressor status monitoring. Android app enabled to remotely monitor the data.

IntermediateShowcase (no instructions)Over 4 days4,427
HVAC Temperature And Status Monitoring With Arduino

Things used in this project

Story

Read more

Code

Untitled file

Arduino
#include <SoftwareSerial.h>
    #define DEBUG true
    SoftwareSerial esp8266(2,3); 
       
       const int buttonPin = 4; 
       const int buttonPin1 = 5;
       const int buttonPin2 = 6;
       const int buttonPin3 = 7;
       const int buttonPin4 = 8;
       const int buttonPin5 = 9;
       int b1,b2,b3,b4,b5,b6 = 0,aa=0,bb=0; 
       float vout;int sens;  
                              
    void setup()
    {
      Serial.begin(9600);
      esp8266.begin(115200); // your esp's baud rate might be different
    
        pinMode(buttonPin, INPUT);
        pinMode(buttonPin1, INPUT);
        pinMode(buttonPin2, INPUT);
        pinMode(buttonPin3, INPUT);
        pinMode(buttonPin4, INPUT);
        pinMode(buttonPin5, INPUT);         
        
        sendData("AT+RST\r\n",2000,DEBUG); // reset module
        delay(1000);
        sendData("AT+CWMODE=1\r\n",1000,DEBUG); // configure as access point
        delay(1000);

Credits

Reeta

Reeta

1 project • 1 follower
BE, 10+ years experience

Comments