Skip to content

Commit

Permalink
README update to recommend WiFiEspAT and ESP_ATMod fw
Browse files Browse the repository at this point in the history
  • Loading branch information
JAndrassy committed Mar 29, 2023
1 parent b23cbdd commit 08429aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ Use for:

## UNO WiFi with Espressif AT firmware

This is now the best option for Uno WiFi Dev Ed.

### Prepare

Download the AT firmware from [Espressif download page](http://espressif.com/en/support/download/at?keys=&field_type_tid%5B%5D=14) and unzip it. Replace the esp_init_data_default.bin with [this one](https://github.com/jandrassy/UnoWiFiDevEdSerial1/wiki/files/esp_init_data_UnoWiFi.bin). It has the 40MHz crystal setting.
Download the AT firmware from [Espressif's repository]https://github.com/espressif/ESP8266_NONOS_SDK/releases) and unzip it. Replace the esp_init_data_default.bin with [this one](https://github.com/jandrassy/UnoWiFiDevEdSerial1/wiki/files/esp_init_data_UnoWiFi.bin). It has the 40MHz crystal setting.

1. Open in IDE the EspProxy.ino from UnoWiFiDevEdSerial1 examples tools subfolder.
2. Uncomment the `#define FLASHING` line (remove the `//` at the beginning of the line)
Expand Down Expand Up @@ -57,23 +59,17 @@ Set the CR/LF setting and send test command 'AT'. The ESP should replay with OK.
![Serial Monitor](doc/SerMonEspAT.JPG)

Next commands:
* AT+GMR - prints the version
* AT+CWMODE=1 sets tha STA mode
* AT+CWJAP="ssid","pass" connects to AP
* AT+CIUPDATE updates the firmware to the latest version
* AT+GMR - prints the version
* AT+UART_DEF=115200,8,1,0,0 - setting of the default baud rate

### Example sketch with WiFiEsp library

Install the [WiFiEsp library](https://github.com/bportaluri/WiFiEsp).
### Alternative AT firmware

Open the WiFiEspWebClient example. Change the WiFi credentials and upload the sketch.
Jiri Bilek created [an alternative AT 1.7 firmware implementation](https://github.com/JiriBilek/ESP_ATMod) over esp8266 Arduino core and WiFi library. This supports SSL TLS1.2 connection in passive mode with WiFiEspAT library.

WiFiEsp library has timeout issues. One of them causes buffer overflow with UNO WiFi Serial1. Instructions are in the example sketch.
### WiFiEspAT library

### New WiFiEspAT library

With AT firmware 1.7 (SDK 3), you can use the new [WFiEspAT library](https://github.com/jandrassy/WiFiEspAT).
With AT firmware 1.7.x (SDK 3), you can use my [WFiEspAT library](https://github.com/jandrassy/WiFiEspAT).

To test it, only add `#include <UnoWiFiDevEdSerial1.h>` at the beginning of the example sketches of the WiFiEspAT library.

Expand All @@ -90,10 +86,6 @@ instructions for generic board/module with ESP8266 are [here](https://github.com

The version of WiFi Link library modified for use with any serial implementation is [here](https://github.com/jandrassy/arduino-library-wifilink).

An example for UNO WiFi with Serial1 is in examples of the UnoWiFiDevEdSerial1 library.

For Blynk with UNO WiFi with Serial1 and WiFi Link library, see UnoWiFiBlynk example.

## Writing sketches for ESP8266

Firmata is a system for accessing pins and interfaces of a microcontroller (MCU) from a computer (or other MCU). Library [FirmataMaster](https://github.com/gmag11/FirmataMaster) is for esp8266 and enables control of an attached MCU with Firmata.
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Uno WiFi Developer Edition Serial1
version=1.0.4
version=1.0.5
author=Juraj Andrassy
maintainer=Juraj Andrassy <[email protected]>
sentence=Implements Serial1 of Arduino Uno WiFi Developer Edition board to access the on-board ESP8266
Expand Down

0 comments on commit 08429aa

Please sign in to comment.