• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » ESP WROOM 32 : How To Setup ESP32 NodeMCU With Arduino IDE

By Abhishek Ghosh February 21, 2019 5:58 pm Updated on February 21, 2019

ESP WROOM 32 : How To Setup ESP32 NodeMCU With Arduino IDE

Advertisement

Here is Step by Step Guide to Setup on How to Setup ESP32 NodeMCU with Arduino IDE on Windows 10 PC. In our previous article, we recomanded ESP WROOM 32 dev board over Adafruit Feather as cost effective option. In this guide, we will help to setup ESP WROOM 32 dev board with Arduino IDE. We are using clone of DOIT ESP-WROOM-32 Devkit V1 and for the most boards, these are “ESP32 Dev Module” to Arduino IDE.

First, you will attach the to Windows 10 PC with any USB data cable (used with almost any Android Smartphone of these days). Open Device Manager and expand the COM. In the below webpages, you’ll get the resources for installing the USB driver for the board :

Vim
1
2
https://docs.espressif.com/projects/esp-idf/en/latest/get-started/establish-serial-connection.html
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

The above steps are required to make sure that the board you got is not a faulty board. You may omit the above steps but omit may invite random trial and error. The board we are using looks like the below photo (except, it lacks DO IT logo on backside) :

Advertisement

---

ESP WROOM 32 How To Setup ESP32 NodeMCU With Arduino IDE

 

How To Setup ESP32 NodeMCU With Arduino IDE

 

Turn off any real-time anti-virus software. The packages we will install will fail to compile sketch from Arduino IDE with running real-time anti-virus software. You should remember it for everytime working with this dev board. Else you’ll get peculiar core/core/a copying error on Arduino IDE. Real-time anti-virus software probably lock some files & provoke the error.

You need Git for Windows to be installed. We have guides on how to setup Git on Windows 10 PC. We expect that the reader already have Ubuntu Bash configured for Windows 10 PC like our guide.

The above configaration on Windows 10 may take time but the PC can be easily handled like UNIX/Linux for dev works.

What exactly we need is cloning this repo inside Arduino’s one specific directory :

Vim
1
https://github.com/espressif/arduino-esp32

Arduino IDE commonly get installed in this path :

Vim
1
C:\Users\<username>\Documents\Arduino

For me, it is :

Vim
1
C:\Users\abhishekghosh\Documents\Arduino

Open Git Bash command line tool there from right click context menu or change directory to that path :

Vim
1
cd ~/Documents/Arduino

Make directory structure and change directory like we have shown below :

Vim
1
2
3
cd ~/Documents/Arduino
mkdir -p hardware/espressif
cd hardware/espressif

Now, clone that repo inside a directory named esp32 so that the path becomes ~/Documents/Arduino/hardware/espressif/esp32 :

Vim
1
2
cd ~/Documents/Arduino/hardware/espressif
git clone https://github.com/espressif/arduino-esp32.git esp32

It will take a while. It is around 200 mb download. After download is complete, change directory to esp32 :

Vim
1
2
cd esp32
ls -al

Run an update to download some third party repositories inside the current repo :

Vim
1
git submodule update --init --recursive

You will notice :

Vim
1
https://github.com/espressif/arduino-esp32/tree/master/libraries

AzureIoT and BLE has third party repo. Unless you do the above steps, you’ll face compilation error with AzureIoT and BLE on Arduino IDE.

Next, open the following location on Windows Explorer :

Vim
1
C:\Users\<username>\Documents\Arduino\hardware\espressif\esp32\tools

You’ll notice an application named get inside that Arduino\hardware\espressif\esp32\tools directory. Double click to run it. It will open a command line window and download the required tools for compilation on Arduino IDE. It will do the job and automatically will get closed. Unless you do these steps, you’ll get core/core/a copying error on Arduino IDE. In case this step is not completed, double click to run the get application.

The above steps will complete installation of all the required software for ESP32 NodeMCU (ESP WROOM 32) dev board.

Now, open Arduino IDE. Connect the ESP32 NodeMCU (ESP WROOM 32) dev board. Do these changes :

Tools > Boards > ESP32 Dev Module

Tools > Flash Frequency > 40 MHz

Tools > Upload Speed > 115200

Tools > Port > (select the active COM port ESP32 NodeMCU (ESP WROOM 32) dev board is attached)

Now, to test, load from example :

File > Examples > WiFi > Wifi Scan

Which is like this :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "WiFi.h"
 
void setup()
{
    Serial.begin(115200);
 
    // Set WiFi to station mode and disconnect from an AP if it was previously connected
    WiFi.mode(WIFI_STA);
    WiFi.disconnect();
    delay(100);
 
    Serial.println("Setup done");
}
 
void loop()
{
    Serial.println("scan start");
 
    // WiFi.scanNetworks will return the number of networks found
    int n = WiFi.scanNetworks();
    Serial.println("scan done");
    if (n == 0) {
        Serial.println("no networks found");
    } else {
        Serial.print(n);
        Serial.println(" networks found");
        for (int i = 0; i < n; ++i) {
            // Print SSID and RSSI for each network found
            Serial.print(i + 1);
            Serial.print(": ");
            Serial.print(WiFi.SSID(i));
            Serial.print(" (");
            Serial.print(WiFi.RSSI(i));
            Serial.print(")");
            Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*");
            delay(10);
        }
    }
    Serial.println("");
 
    // Wait a bit before scanning again
    delay(500);
}

Switch on some WiFi devices, hotspots. Open Arduino serial monitor (Tools > Serial Monitor). You’ll get WiFi scan result on Arduino serial monitor like I got :

Vim
1
2
3
4
5
6
7
8
9
10
11
Setup done
scan start
scan done
3 networks found
1: DIRECT-HnDESKTOP-J81L8BRmskL (-49)*
2: SamsungGalaxy (-63)*
3: amartya (-86)*
 
scan start
scan done
...

The above sketch proves that the setup and board is correct.

Tagged With esp wroom 32 arduino , nodemcu esp32 arduino , esp32 arduino , esp32 wroom arduino ide installation , nodemcu 32s in arduino ide , esp32 nodemcu , esp wroom 32 , arduino esp wroom32 , esp32 arduino usb driver , esp32 arduino setup

This Article Has Been Shared 942 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to ESP WROOM 32 : How To Setup ESP32 NodeMCU With Arduino IDE

  • WiFi With Arduino For IoT : ESP8266, ESP32, NodeMCU, Adafruit Feather

    ESP8266 has wider range of models and ESP 01 commonly seen as cheapest. ESP32 has Bluetooth too. NodeMCU, Adafruit Feather has WiFi and Bluetooth.

  • WROOM ESP32 Example Codes For IBM Watson IoT Platform

    Here Are Few WROOM ESP32 Example Codes For IBM Watson IoT Platform So That Anyone Can Get Started With Both of Them Without Huge Experience.

  • Send Basic Push Message from Arduino ESP32 using Blynk

    How to Send Basic Push Message from Arduino ESP32 using Blynk? With Blynk like web service & library, it is easy to create such basic project.

  • Connecting Arduino With M029 JoyStick : Getting Started

    Here is a Getting Started Guide Around Connecting Arduino With M029 JoyStick and Testing With Basic Code. It is a useful thing for robotics.

  • Create an Arduino LDR Module With Transistor

    We Can Create an Arduino LDR Module With Transistor in Easy Way to Print Response as Either Zero or One.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "ESP WROOM 32 : How To Setup ESP32 NodeMCU With Arduino IDE," in The Customize Windows, February 21, 2019, January 28, 2023, https://thecustomizewindows.com/2019/02/esp-wroom-32-how-to-setup-esp32-nodemcu-with-arduino-ide/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT