Using ESP-WROOM-02 Wifi Module As Arduino MCU


Using ESP-WROOM-02 Wifi module as Arduino MCU

In this tutorial, we will write Arduino program to ESP-WROOM-02 so we can use the wifi module as an Arduino MCU. From this time on, we will be using ESP-WROOM-02 development board which we can easily try ESP – WROOM – 02 we introduced in the previous installment.


Today’s Electronic Recipe

Estimated time to complete: 60 minutes

Parts needed:


Download Arduino IDE

First, in order to use ESP-WROOM-02 as Arduino, we need to make sure we’re using the proper version of Arduino IDE. In the past, Arduino IDE used to be released from two separate websites: and To use ESP-WROOM-02, please install the Arduino IDE released from (Now the two websites are sort of merged so when you go to, you will be redirected to


Figure 1. Arduino IDE download screen from

Add ESP-WROOM-02 to Arduino

To use ESP-WROOM-02 as Arduino, you need to add the ESP-WROOM-02 board to  Arduino IDE. Follow the steps below to add ESP-WROOM-02 to Arduino.

  1. Start the Arduino IDE.
  2. Open “File” → “Preferences”
  3. Under “Preferences,” enter the following URL in “Additional Boards Manager URLs:”

URL: http: //

Distributor: https: //

This is an administration manager function that you can use to easily add new boards to Arduino by entering the URL describing the board information.



Figure 2. Arduino IDE preference screen


  1. After entering the URL, click “OK” at the bottom right corner of the “Preferences” screen and close it. Next, select “Tools” → “Board” → “Boards Manager”.



Figure 3. “Tools” → “Board” → “Boards Manager”


  1. Once the board manager screen is displayed, enter “ESP 82” in the search field. It will be displayed as ESP8266. Since this ESP8266 is a board corresponding to ESP-WROOM-02, press “Install” to add a board.



Figure 4. Boards Manager Screen


  1. After the installation is completed, restart Arduino, and open “Tools” → “Board” once again. If you see a set of boards related to ESP8266 added, then it’s done!

Figure 5. Adding ESP8266

Now that the preparation is complete, let’s write an Arduino program!