Arduino#ESP-WROOM-02 Startup


I bought the ESP-WROOM-02 Wifi Module before and just put it into my toolbox for more than half a year..and like to use this post to memo some steps while startup.


The TX0 and RX0 ESP-WROOM-02 pins are used to communicate between these modules and Arduino, but you can arrange the pins that you like.


Sorry that I am using Bread-board to build this small circuit.


#include <SoftwareSerial.h>

SoftwareSerial mySerial(2,3); // RX, TX

void setup()



  while (!Serial) {

  ; // wait for serial port to connect. Needed for Leonardo only




void loop()




  if (Serial.available())



AT Command

This module can use AT Command to configure it and it is not different.

Open your Serial Monitor in Arduino IDE, Choose Both NL&CR and set the communicate speed as 115200.

AT Command Link:

Check the communication status.

Good, OK is back.


00:21:42.630 -> AT

00:21:42.630 -> 

00:21:42.630 -> OK

Check the current Status.

..What is 5?

00:22:39.454 -> AT+CIPSTATUS

00:22:39.454 -> STATUS:5

00:22:39.454 -> 

00:22:39.454 -> OK

Operate a Factory Reset.

00:22:55.636 -> AT+RESTORE

00:22:55.804 -> 

00:22:55.804 -> OK

00:22:55.904 ->  ets Jan  8 2013,rst cause:1, boot mode:(3,7)

Check the IP.

00:25:54.528 -> AT+CIFSR

00:25:54.528 -> +CIGSR:APIP,”″

00:25:54.528 -> +CIFSR:APMAC,”de:4f:22:3f:73:ff”

Set the IP to

00:30:50.999 -> AT+CIPAP=”″

00:30:51.067 -> 

00:30:51.067 -> OK


Just using the terminal to ping the address.

It seems good because the reply is back.



  • このエントリーをはてなブックマークに追加