ESP8266 5V Wi-Fi relay switch modules

ESP8266 5V Wi-Fi Relay Switch Modules

As the the name implies, ESP8266 5V Wi-Fi relay switch modules are Wi-Fi enabled, relay power switches. The module also includes a detachable ESP8266 micro-controller board. The main function of these boards are to be used as wireless power switches accessible from Smartphones.

The ESP8266 5V Wi-Fi relay switch modules are small, inexpensive modules measuring in at 45 x 28 x 20 mm. It needs 5V DC to operate. Similar to other 5V relay switch modules, the on-board relay can tolerate 110 – 250V AC or up to 30 V DC at 10A. The module is also equipped with serial port debugging pins and has a build in flyback diode to protect the circuit from voltage spikes.

ESP8266 5V Wi-Fi Relay switch module specifications

DC Pins: 3. IN, VCC, GND / S, +, – (marked).
AC Sockets: 3. NO (normal open), COM, NC (normal closed) (marked)
Working voltage: 5 V DC (connected via screw terminal connectors) – 12V DC modules also available
Serial port debugging pins: Tx, Rx, Vcc, GND (marked)
On-board LED: module dependent
Size: 45 x 28 x 20 mm (L,W,H). Might be module dependent.
Pin size: male, 5 x 2.54 mm

The ESP8266

The ESP8266 5V Wi-Fi relay switch module is shipped with a detachable ESP8266 micro-controller board. The module is manufactured to use serial commands between the ESP8266 and the relay (i.e. it does not function via traditional digital pin triggering). The module automatically reduces the input voltage of the ESP8266 to 3.3V DC.

Setting up the ESP8266 5V Wi-Fi relay switch module

Out of the box, ESP8266 5V Wi-Fi relay switch modules need to be ‘programmed’. Depending on its purpose/desired mode (see below), serial commands need to be send to the module using serial debugging software (see below) via the serial debugging pins. The pins are connected to a FTDI programmer (USB-TTL UART module) which connects to a PC via an USB port.

FTDI Programmer
FTDI programmer with a 5/3.3V DC voltage regulator, a mini-B USB port and 6 I/O pins.

ESP8266 5V Wi-Fi relay switch modules can be used as stand-alone Wi-Fi connected devices (AP mode) or can be connected (on)to a local area network (STA mode). With AP mode up to 5 connections can be made at the same time and it is said that a connection can be made from as far as 400 meters away. Either way, connection and communication to the module is made by using a TCP connection App (such as EasyTCP for Android). Baud rates of 115200 or 9600 can be used. The mode settings are not stored and needs to be re-‘programmed’ after power is disconnected.

To get started with the ESP8266 5V Wi-Fi relay switch modules you will need

Summary

Although proper instructions might be hard to come by, ESP8266 5V Wi-Fi relay switch modules are still inexpensive and small enough to incorporate into DIY projects. They are great to be used as Smartphone operated trigger switches for high voltage units like lights in Home automation projects.

More microelectronics related posts

Try one of Lynda.com’s online software and skills learning courses
Improve your knowledge on anything from programming to business skills with Lynda.com’s huge range of professional video courses.
13 December 2017 | 5 401 reader(s) found this helpful so far.
Reviewing a 10 Watt LED integrated tube light
Reviewing a 10 Watt LED integrated tube light
See my #review on a 10Watt #LED integrated tube light
11 October 2017 | | 1 reader(s) found this helpful so far.
Using the Autodesk EAGLE free version for electronic hobbyists
Using the Autodesk EAGLE free version for electronic hobbyists
Read more about the #Autodesk EAGLE #free version for #electronichobbyists...
2 October 2017 | | 1 reader(s) found this helpful so far.
Connecting the ESP8266 to a breadboard and FTDI programmer
Connecting the ESP8266 to a breadboard and FTDI programmer
See #howto connect the #ESP8266 to a breadboard and FTDI programmer...
12 September 2017 | Updated 14 September 2017 | | 1 reader(s) found this helpful so far.
Understanding the digital read pin on a microcontroller
Understanding the digital read pin on a microcontroller
Read more about the digital read pin on a #microcontroller... #Arduino #ESP32 #DIY
6 July 2017 | | 5 reader(s) found this helpful so far.
Installing the Arduino IDE on a Raspberry Pi 3
Installing the Arduino IDE on a Raspberry Pi 3
See #howto install the #Arduino IDE on a #RaspberryPi 3...
1 July 2017 | | 3 reader(s) found this helpful so far.

Save, share, comment & Disqus

Use the buttons below, on the left or the bottom of this page to share this post. Your comment is important, but don't be a shit. Keep it constructive and polite.
Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInPin on PinterestShare on StumbleUponShare on Tumblr

Comment via Facebook

Disqus

About the author

Renier finds himself busy with creative web design and his websites, motorcycling, photoshopping, micro electronics, non-commercialised music, superhero movies, badass series and many other things that are not interesting to most people.