Based on ITEAD's library this library improves communication when using SoftwareSerial to communicate between the Arduino and the ESP8266.
We have modified the original library due to Software serial baudrate problems. Now, the init function, when using software serial only, will set the ESP8266 baudrate to 9600.
- Arduino Uno
- ESP8266
- Logic Level Converter
See example usage in Firmware.ino
- If you receive partial response from the esp8266 when using software serial -
go to
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.h
Change line 42:#define _SS_MAX_RX_BUFF 64 // RX buffer size
To:#define _SS_MAX_RX_BUFF 256 // RX buffer size
this will enlarge the software serial buffer. - Sometimes setting the baudrate on initialization fails, try resetting the Arduino, it should work fine.
- On some cases it might be necessary to flash the ESP's firmware. See Flashing the ESP
- Use a 3.3v FTDI board like this one
- Hookup the ESP to the FTDI
- Get the ESP8266Flasher
- Get the 1.1.1.1 Firmware
- Flash the ESP!
Released under GPLv3. View the license