ESP8266 and Relay Control Using Smartphone


Similar projects worth following
ESP8266 microcontroller start-up to control by smartphone a relay connected to the ESP. In a separate project I will try to present a similar case, but instead of the ESP8266 microcontroller we will use Raspberry PI version B+.

WiFi Socket prototype based on SUPLA and ESP8266

  • 1 × ESP8266-12
  • 1 × FT232RL FTDI 3.3V 5.5V USB to TTL Serial Adapter
  • 1 × ESP8266 PCB Adapter
  • 1 × 3.3/5V powering unit
  • 1 × YwRobot relay module

View all 13 components

  • 1
    Step 1

    What will we need?

    1. A smartphone, Android (3.1.x Version or higher) or iPhone iOS 6.1 (or higher).
    2. An ESP8266 module version 512KB flash (or higher). This article will cover the ESP8266-12 version
    3. A USB-Serial converter to program ESP. I have used the “FT232RL FTDI 3.3V 5.5V USB to TTL Serial Adapter”
    4. PCB adapter for ESP
    5. 3.3/5V powering unit. I have used the YwRobot module
    6. A relay module. For this article I have used version I had close at hand i.e. YwRobot 4 relay.
    7. 12V charger.
    8. Two (2) LED diodes, one of which must be RGB
    9. Two (2) micro-switches
    10. One (1) transistor. I have used BC547.
    11. Three (3) 100R resistors.
    12. Two (2) 10K resistors.
    13. One (1) breadboard.
    14. Connecting wiring.
    15. Piece of a thin wire.

    Do not forget to connect the ESP module TXD pin to the USB-Serial converter RXD pin, and the ESP module RXD pin to the USB-Serial converter TXD pin. “IN1” must be connected to the relay module.

  • 2
    Step 2

    Solder the ESP8266-12 module to the PCB adapter

  • 3
    Step 3

    With a thin wire make hookups for easier module pin connections.

View all 9 instructions

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates