Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to program on elclient? #46

Open
Bagunda opened this issue Oct 15, 2018 · 2 comments
Open

How to program on elclient? #46

Bagunda opened this issue Oct 15, 2018 · 2 comments

Comments

@Bagunda
Copy link

Bagunda commented Oct 15, 2018

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

@rtek1000
Copy link

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

@deadprogram
Copy link

@rtek1000 that is a great summary. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants