Answer the question
In order to leave comments, you need to log in
How to transfer information from \ to the microcontroller via wifi using the site?
Good day to all, gentlemen, after programming sites in jango, I want to do AVR microcontrollers. And in order to combine the old with the new one, I want to make a station on the microcontroller, which will take, for example, the results obtained from the thermistor, and send it via ESP-01 via wifi to the site .... If everything is with the site and programming the microcontroller in assembler roughly clear, then I don’t understand how to connect the ESP-01 and the microcontroller (my choice fell on atmega16, or another one is needed)
As I understand it, (very rudely) my atmega will send the value to the ESP-01 module, and the module will send a request via wifi request to my site, he will do everything himself ... So what to read? It turns out that I need to make a communication protocol between my atmega and ESP, does it still need to be reprogrammed ESP? Please answer to the point :-(
Answer the question
In order to leave comments, you need to log in
If you use ESP-01 as a wifi module, then you can send the most common http request to the server.
1. ESP8266 is much more powerful than atmega16. You can safely remove the extra link if you take NodeMCU.
ADC is already there
2. asm for this, IMHO, not very convenient, maybe too low-level.
3. You don’t need to implement the protocol for communicating atmega and esp01 yourself - usually the wifi module is already configured to work via serial/spi/i2c
4. Here is an example of how this can be done on arduino: https://techtutorialsx.com/2016/07 /21/esp8266-post...
+1 a separate microcontroller is an extra link here.
take the ESP8266 and connect the necessary sensors to it.
Just in case, a ready-made temperature sensor with Wi-Fi based on ESP8266 costs 300 rubles. https://aliexpress.ru/item/32971371815.html
If you want to connect anything different, it's convenient to take the module ready.
https://aliexpress.ru/item/4000160133215.html
https://aliexpress.ru/item/33015504632.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question