ESP8266 Wifi Arduino (UART) Extension Shield

From ElectroDragon
Jump to: navigation, search
  • The default ESP-12F wifi board programmed with default AT Commands firmware
  • You can find more default programming info on this page ESP8266.
  • Arduino board and ESP extension board need to program seperately.

Setup

  • First solder Middle 3-pin CHPD-VCC-RST jumper on board, jumper can put either top or bottom. This will enter the module regular boot up.

Using as a standard alone wifi-extension board

ESP Extension shield standalone.jpg
  • Set the standalone/arduino switch to standalone
  • Connect the USB-TTL board with your extension board as below

Upload sketch for ESP-12F

ESP extension shield gpio demo.jpg
  • Turn switch on "flash" switch to left, flash LED will be ON
  • Upload sketch to ESP8266 only in standalone mode
  • Press "ESP-RST" to restart the module and enter into flash mode, remember to turnoff flash switch and restart after programming
  • Upload the arduino GPIO demo code, you can find it here ESP8266 Arduino
  • Blink sketch change pin to 12, will blink on board "12-sta" pin
Flash mode DIO
Size 4M & 3M SPIFFS
debug mode disabled
debug level none
reset method nodemcu
flash frequency 40M
CPU frequency 80M
upload speed 921600
void setup() {
  pinMode(12, OUTPUT);
}
 
void loop() {
  digitalWrite(12, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(12, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}

Serial Connection Between Extension Board and Arduino

  • Turn off "Flash" switch to right, "Standalone/Arduino" switch to "arduino side" right
  • "D2/D3-D1/D0" switch to right D1/D0 to use hardware serial port, or to left to use software serial port.
  • When use D1/D0, you can open arduino serial monitor to send AT commands