el-client icon indicating copy to clipboard operation
el-client copied to clipboard

How to program on elclient?

Open Bagunda opened this issue 7 years ago • 2 comments
trafficstars

I don't understand. How to program on elclient? I write firmware, web interface is work. If I write 'blink' sketch from Arduino IDE, then nothin works. I have search over 300 sites. And nothing

Bagunda avatar Oct 15 '18 08:10 Bagunda

I'm just starting with the el-client software, but from what I understand:

1- You need to leave esp8266 running with esp-link, esp-link https://github.com/jeelabs/esp-link

2- You need to enable the SLIP function (on the tab below the services called "REST & MQTT"): "[x] Enable SLIP on serial port". Available on the esp-link settings page. enable slip

3- The speed (Baud) of the port of the "uC console" must be with the same speed of the program el-client. baud

4- So you can to program the Arduino with the el-client example code. examples https://github.com/jeelabs/el-client/tree/master/ELClient/examples

5- The communication functions are similar to the Arduino programs for esp8266, the difference is that an intermediate is being used between the Arduino and esp8266, which is the esp-link firmware.

ELClient: is a Wifi library for arduino that uses the SLIP protocol to communicate via serial with an ESP8266 module running the esp-link firmware. slip

https://github.com/jeelabs/el-client

features

6- I believe it would be advisable to first learn to use esp8266 directly with the Arduino. arduino-esp8266

Getting Started with ESP8266 and Arduino: ESP8266 Arduino Interface: https://www.electronicshub.org/esp8266-arduino-interface/

If the Atmega328 (like an Arduino Pro Mini) has the UNO bootloader, the IDE can work with the "Arduino WiFi" option, to program the Atmega328 using the esp-link as a bridge. You need to configure the mDNS service with the name "arduino", details in: https://github.com/jeelabs/esp-link/issues/394

mdns

rtek1000 avatar Nov 17 '18 21:11 rtek1000

@rtek1000 that is a great summary. Thank you.

deadprogram avatar Jan 14 '19 10:01 deadprogram