Esp-link
From Eric
(Created page with "Esp-link uses a ESP8266 board to provide a wireless connection to the serial link or the ISP port of an Arduino / Atmega. The project can be found [https://github.com/jeelabs/es...")
Newer edit →
Revision as of 16:38, 18 April 2021
Esp-link uses a ESP8266 board to provide a wireless connection to the serial link or the ISP port of an Arduino / Atmega.
The project can be found here.
The documentation is clear.
The ESP is connected to the target Arduino via its TX/RX (serial) and reset port.
The ESP-Link device is accessible thanks to a web page located at http://192.168.4.1 when the device has just been flashed (and is operating in STA+AP mode), otherwise, it is accessible at the address allocated to it by the DHCP server.
I have not been able to make the Arduino IDE directly flash the target through the Esp-link (even though some people seem to have succedeed).
To flash the Arduino target Over the Air, I have to use the "avrflash" script provided by Esp-link authors.
For instance, to flash the "blink" program, I have to go to the directly where the products of the compilation are placed. In my case:
cd /tmp/arduino_build_129174/
and type
avrflash 192.168.1.102 Blink.ino.hex
To find the target directory, activate the verbose output of the Arduino IDE: file/preferences, Show verbose output during compilation.