always know where your towel is

External Info:


AT Command Wiki

ESP-01 Pinout


Interfacing With AVR using Software Serial library:

Problem: software serial library does not recieve data well at baud rates above 9600.
The following procedure can be used to change the baud rate on each boot to a more suitable rate for software serial.

1 - Connect with 115200 baud
2 - Send "AT+UART_CUR=9600,8,1,0,0\r\n"
3 - Wait for "OK" response
4 - Change baud to 9600
5 - Wait some time (500ms?)
6 - Do not reset module as it will revert to defualt baud rate!

Once a reliable system has been established, change the default baud rate
Send "AT+UART_DEF=9600,8,1,0,0\r\n"

Using I2C:

It doesn't appear to matter which pins to use for I2C.
Include the Wire library and initiate using the Wire.begin(SDA, SCL) method.
Use Digital Pin syntax for the method.
eg.: Wire.begin(D1, D2);