My previous ESP boards (8266) are great but it comes with one limitation – the number of usable pins. It was time to upgrade! And what an upgrade it is. 2 core processing, Bluetooth 4.2 and virtually all the space you will ever need for your sketches.

The boards are less and less expensive and you can order yours from Aliexpress. Here is the link for the one I got:

Support NotEnoughTech

ESP32 – getting started guide will help you to get your Windows PC ready to push files to the board.

ESP32 – getting started

Before we go to the meat of things, there are few downloads to do. I will put them in a nice list so you could get your machine ready:

Now that everything is installed we can start the set up of our toolchain. Open Git GUI. We will use Clone Existing Repository:

https://github.com/espressif/arduino-esp32.git

esp32 - getting startedDownload it to a folder /espressif/esp32 anywhere on your drive. Once the operation is completed, open the directory and find tools/get.exe. Run the file and wait until an additional library is downloaded and extracted.

esp32 - getting startedCopy the entire ‘espressif’ folder into the Program Files (x84)/Arduino/hardware directory. Plug in the ESP32 and wait for the Windows to update the drivers. A COM port should be assigned to the ESP32 board. Make a note of the port (using the device manager).

Open up Arduino IDE and go to the board manager. This time you should see the ESP32 board. Select the board and upload the test sketch:

Arduino Sketch - WIFI
#include 
const char* ssid     = "SSID";
const char* password = "PASSWORD";

void setup()
{
    Serial.begin(115200);
    delay(10);

    // We start by connecting to a WiFi network

    Serial.println();
    Serial.println();
    Serial.print("Connecting to ");
    Serial.println(ssid);

    WiFi.begin(ssid, password);

    while (WiFi.status() != WL_CONNECTED) {
        delay(500);
        Serial.print(".");
    }

    Serial.println("");
    Serial.println("WiFi connected");
    Serial.println("IP address: ");
    Serial.println(WiFi.localIP());
}

void loop()
{}

Open up the serial monitor (baud 115200) to see if the board has connected successfully to the WIFI. You should be ready to rock!

I hope that this ESP32 – getting started guide made things short, sweet and easy for you. If you prefer to download the ready Arduino file here is the sketch for you:

Support NotEnoughTech
A lot of time and effort goes into keeping NotEnoughTech alive! If my work helped you out, consider buying me a coffee or check out exclusive rewards available to Patreon supporters.
SHARE