How to Add WiFi Control to Any Project || ESP32 Beginner's Guide

About: Awesome Electronics Tutorials, Projects and How To´s

In this project I will show you how easy/difficult it is to use an ESP32 with the Arduino IDE in order to add WiFi control to any electronics project. Along the way I will show you how to use the ESP32 to create a simple WiFi server and how to create a fitting control app for your smartphone. Let's get started!

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Watch the Video!

The video gives you all information you need to add WiFi control to any of your electronics projects. In the next steps though, I will present you some additional information.

Step 2: Order Your ESP32!

Here you can find suppliers for the ESP32: (Mine is from the Ebay link)


Step 3: Upload the Code!

Here you can find the code/sketch that I created during the video. Feel free to download it and use it for your own projects.

Here are also useful reference sites for the ESP32 that I also partly used in the video:

Step 4: Install the App!

Here you can download the App that I created during the video for Android phones. But you can also easily create your own App with the MIT App Inventor:

Step 5: Success!

You did it! You just added a WiFi control to your electronics project!
Feel free to check out my YouTube channel for more awesome projects:

You can also follow me on Facebook, Twitter and Google+ for news about upcoming projects and behind the scenes information:

Be the First to Share


    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    7 Discussions


    Question 8 weeks ago

    I always end up with "server was not declared in this scope"


    Question 11 months ago on Introduction

    Can somebody please help me with my problem

    Mehrere Bibliotheken wurden für "WiFi.h" gefunden
    Benutzt: C:\Users\IDK\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi
    Nicht benutzt: C:\Users\IDK\Documents\Arduino\libraries\WiFiNINA
    Nicht benutzt: C:\Users\IDKl\Documents\Arduino\libraries\WiFi
    Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\WiFi
    exit status 1
    'server' was not declared in this scope


    Question 1 year ago

    can you make the data pin from the esp32/esp8266 any pin you want and could i have the 32x32 led matrix hooked up to a arduino pro mini to power the led matrix and have the esp8266 send images from my phone to the led matrix?


    1 year ago

    Excellent work-thanks for the guide!


    1 year ago

    Thank You for this video! I've loved it (as most of yours :-) )!

    I'm planning to make a room thermostat (heating controller) with it. It should measure the floor temp, the ceiling temperature, the room humidity and room temperature. Room temperature should be set on it via buttons or touch sensor.

    The question for me is that can it handle one digital temperature sensor, one digital temperature and humidity sensor, the buttons, oled screen and a relay at the same time? I want to use it standalone, without Nano, if possible. Relay is not sure, if the job can't done without a central unit. In that case thermostat must be able to ask for heating and for (ceiling) cooling at a central unit, so must be able to communicate with it on wire. Wireless is used to monitoring and setting temperature.

    Thank You!


    2 years ago

    Can you include the video link since the Android Instructable ap doesn't show videos otherwise?

    1 reply