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.
Estimated time to complete: 60 minutes
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: arduino.cc and arduino.org. To use ESP-WROOM-02, please install the Arduino IDE released from arduino.cc. (Now the two websites are sort of merged so when you go to arduino.org, you will be redirected to arduino.cc.)
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.
URL: http: //arduino.esp8266.com/stable/package_esp8266com_index.json
Distributor: https: //github.com/esp8266/Arduino
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.
Now that the preparation is complete, let’s write an Arduino program!