ESP8266 WiFi Relay Module sketch
Upload to module using the Arduino IDE
The sketch is currently set for AP mode
elac / esp8266-wifi-relay-module Goto Github PK
View Code? Open in Web Editor NEWESP8266 WiFi Relay Module sketch
ESP8266 WiFi Relay Module sketch
plz help me everything is working fine but the relay is not turning on or off plz reply fast
Elac - found your post on Amazon. Want to do something similar, but having some trouble understanding your procedure, mainly about getting it into flashing mode. Any chance you could connect with me via email?
cgmckeever at gmail --- appreciate it
By Elac on January 2, 2018
This is a great module for a quick easy way to control a device through WiFi. If you love making your own WiFi projects and need to control some power then this module is for you (and me).
Out of the box it runs fine with the EasyTCP app on Play Store. Just takes a few minutes to set up and your ready to control something. Easy to follow instructions can be found here: hackster.io/makerrelay/esp8266-wifi-5v-1-channel-relay-delay-module-iot-smart-home-e8a437 .
BUT where this module really shines is in the ability to flash your own program on the ESP-01 using the Arduino IDE. Then you can access this module from any browser through a simple web address 192.168.4.1(YAY!!!). Giving lots of possibilities for a project.
The relay is controlled by a secondary chip on the module which is sent instructions(in hex format) from the ESP-01 through the TX /RX lines. This also gives you the ability to still use the IO2 pin for your project. To program the ESP-01 with the Arduino IDE you need to have a wire attached from the ESP-01 IO0 pin to common ground to enter flashing mode. I soldered a header pin on the top of the ESP-01 for easy access and also soldered a 90 degree angled header pin on the ground pin of the serial connection pins. Add a jumper wire and connect a USB to TTL module to RX, TX & GND pins of ESP8266 relay module. Then power up the module and you can flash your program through the Arduino IDE.
I put together a simple sketch for this module you can grab it on GitHub search ESP8266-WiFi-Relay-Module it's listed under my name.
I've also attached some photos. see less
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.