U
U
Urbansamurai2020-09-26 21:44:54
Arduino
Urbansamurai, 2020-09-26 21:44:54

How to work with ESP-01 (ESP8266) via Arduino Serial?

I shoveled a bunch of sites, found libraries, but apparently they are used for the espressif8266 platform, and I have a connection via Arduino Mega - Serial1. Through AT commands, everything works, connects to an access point, etc.
The main task is to communicate with the telegram bot, but constantly sending AT commands is some kind of hell.

Please tell me the libraries, or good practice for working with this module through Arduino (indicating the required Serial), in particular, can there be any libraries for connecting to WiFi and sending GET / POST requests?

Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shamanov, 2020-09-26
@SilenceOfWinter

https://github.com/esp8266/Arduino/ -> https://arduino-esp8266.readthedocs.io/en/2.7.2/es...

U
Urbansamurai, 2020-09-26
@Urbansamurai

Apparently, this bible can be used in my case. And the most popular solution is to run sketches directly on the ESP8266. It turns out that the easiest way is to flash the module and receive data to be sent from the mega via Serial and issue the result of sending back in the same way - via Serial.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question