ESP8266: Using a seeeduino to talk to the ESP8266 module directly

ESP32 Development Board WiFi+Bluetooth Ultra-Low Power Consumption Dual Cores ESP-32 ESP-32S Board
Integrated antenna and RF balun, power amplifier, low-noise amplifiers, filters, and power management module. The entire solution takes up the least amount of printed circuit board area. This board is used with 2.4 GHz dual-mode Wi-Fi and Bluetooth chips by TSMC 40nm low power technology, power and RF properties best, which is safe, reliable, and scalable to a variety of applications.
I recently received two of these shiny new Wifi modules from China and had to test them out. In many posts around the web they say you should use a serial-to-usb adapter to send some AT commands to the module and set it up with your local access point. My problem was: I didn’t have such an adapter, or so I thought. It turns out you can use some types of Arduino’s for the job just fine. I had a Seeeduino V3.0 laying around and that piece of hardware really has a few features built in that I wasn’t aware of before. This is a short explanation on how to setup the Seeeduino to talk to the ESP8266:

  1. Upload the following sketch to your Seeeduino:
    void setup()
    void loop()
  2. Open the serial console of the Arduino IDE and set the baudrate to 115200
  3. Now wire the ESP to your arduino:

    ESP8266 Seeeduino
    VCC+CH_PD V3.3
    URXD RX (pin 1)
    UTXD TX (pin 2)
  4. Now send some AT commands for testing (bold is the request, light comments and response):
    AT+RST         // resets the module
     ets Jan  8 2013,rst cause:4, boot mode:(3,6)
    wdt reset
    csum 0xbd
    AT+CWLAP       // lists all access points     
    AT+CWJAP="ap1","mypwd"     // join access point ap1 with password mypwd
    AT+CWJAP?     // show connected access point

Posted by squix78

Leave a Reply