Giter Club home page Giter Club logo

satyamozar / home-automation-using-esp8266-01 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 196 KB

This repository contains code for DHT11 sensor connected to ESP8266 in standalone mode, please read README.md to get started with procedure involved to flash sketch using arduino-uno to ESP8266-01 module

C++ 100.00%
arduino-uno arduino-ide iot blynk-iot-platform home-automation temperature-sensor dht11 esp8266 humidity-sensor email-alert notification-alert

home-automation-using-esp8266-01's Introduction

Home-Automation-using-ESP8266-01

This repository contains code for DHT11 sensor connected to ESP8266 in standalone mode, where it is connected to blynk app to read sensor data and send email notification after certain cutoff temperature is reached, please read README.md to get started with procedure involved to flash sketch using arduino-uno to ESP8266-01 module

Output at blynk app:-

Email Alert:-

To configure a new ESP8266-01 using arduino-IDE and arduino-uno

  1. Download the latest version of arduino-IDE from "https://www.arduino.cc/en/Main/Software"
  2. Connect arduino-uno to system,
  3. Now make sure there is no other code running on the arduino, Navigate to "File->Examples->01.Basics->BareMinimum" then upload this to the arduino-uno board
  4. Open the preferences window from the Arduino IDE. Go to "File > Preferences"
  5. Enter "http://arduino.esp8266.com/stable/package_esp8266com_index.json" into Additional Board Manager URLs field and click the “OK” button
  6. Open boards manager. Go to Tools > Board > Boards Manager…
  7. select the ESP8266 board menu and install “ESP8266 platform”
  8. Choose your ESP8266 board from Tools > Board > Generic ESP8266 Module
  9. Get your code ready check https://github.com/SatyamOzaR/Home-Automation-using-ESP8266-01/blob/main/blynk_temp/blynk_temp.ino to see code structure

Connections to dump code on ESP8266-01 using arduino uno

esp8266 --> arduino-uno
Rx --> Rx
Tx --> Tx
VCC --> 3.3v
CP_HD --> 3.3v
GPIO 0 --> GND
GND --> GND
GPIO 2 --> unwired
RST --> unwired

Connections to run on standalone mode (here no arduino required, esp8266 get powered by external source like battery (make sure 3.3v exact or else module get damaged))

wifi should be at 2.4GHz
esp8266 --> arduino-uno //only if serial monitor required
Rx --> Rx //only if serial monitor required
Tx --> Tx //only if serial monitor required
VCC --> 3.3v
CP_HD --> 3.3v
GPIO 0 --> To sensor output (may be unwired if required)
GND --> GND
GPIO 2 --> unwired (or sensor output)
RST --> unwired

In my case I used DHT11 sensor connected to standalone ESP8266-01

Later user can create blynk setup to monitor sensor info...

home-automation-using-esp8266-01's People

Contributors

satyamozar avatar

Stargazers

 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.