Code Monkey home page Code Monkey logo

esp8266-wifi-relay's Introduction

ESP8266 WiFi Relay

Control a relay with an ESP8266 - purpose built module

(Direct link to video: https://youtu.be/NbQN7sOpbLU )

So you want to control some mains electrical (or lower voltage) item using your phone, perhaps? This single ESP8266 plug-in controls a relay that is built in to the module.

An Android app (.apk) allows you to configure the relay to switch on and off (toggle) or have a momentary action. All well and good then. Well, not really. Watch the video to find out what they did wrong and how a small Arduino (eg Nano or even an ATTiney85) comes to the rescue!

The Arduino sketch is right here in the Github repository (simple would be too complex a word to describe it!).

Where I bought my device (Banggood)
https://www.aliexpress.com/item/ESP8266-5V-WiFi-relay-module-Things-smart-home-remote-control-switch-phone-APP/32812243370.html

Manufacturer's Webpages
http://www.chinalctech.com/index.php?_m=mod_product&_a=view&p_id=1253 (this 5v relay)
http://www.chinalctech.com/index.php?_m=mod_product&_a=prdlist&cap_id=181 (all their WiFI relays)

Hackster.io page that walks you through the steps to configure it (thanks Graham Wise)
https://www.hackster.io/makerrelay/esp8266-wifi-5v-1-channel-relay-delay-module-iot-smart-home-e8a437

Excellent wepages on ESP8266 and AT commands
https://medium.com/@andrewlr/getting-started-with-esp8266-875fb54441d6
http://room-15.github.io/blog/2015/03/26/esp8266-at-command-reference
https://medium.com/@andrewlr/getting-started-with-esp8266-875fb54441d6 (incl. replacement for the baud rate command)

Link to the ORIGINAL AT command firmware (from Espressif) with instructions
http://www.electrodragon.com/w/ESP8266_AT-Command_firmware

If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so :)

My channel and blog are here:

esp8266-wifi-relay's People

Contributors

ralphbacon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  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.