logo elektroda
logo elektroda
X
logo elektroda

How to set up two-way WiFi communication between ESP32 and ESP8266?

1578 7
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17570844
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #2 17571525
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #3 17571630
    Anonymous
    Level 1  
  • #4 17571743
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #5 17572356
    ekrzychoooo
    Level 17  
    As for the ESP8266 malfunctioning, IMHO 99% of the problems are due to a bad power supply. Test on contact boards where the power has to "get through" e.g. 6 pins and each pin is e.g. 0.1R. In my experience if the stabiliser has the right capacity (see pdf) and is connected directly to the module pins then no problems. In addition I solder a LOWESR 470uF 8mohm capacitor on the modem and never any signs of malfunction.
  • #6 17573836
    Anonymous
    Level 1  
  • #7 17574046
    ekrzychoooo
    Level 17  
    khoam wrote:
    Well, let's count it. The ESP pulls a maximum at 240 MHZ clocking of almost 70ma.
    .
    70ma is average.
    I am not writing this to write just from practice.
    Here such an example:
    https://www.youtube.com/watch?v=wf_msvWv1jk
  • ADVERTISEMENT
  • #8 17574079
    Anonymous
    Level 1  

Topic summary

The discussion addresses establishing two-way WiFi communication between ESP32 and ESP8266 modules, specifically for transmitting sensor data from the ESP32 to an ESP8266-connected Nextion HMI display via UART. Concerns about packet loss in ESP-to-ESP WiFi communication were raised, with responses indicating that packet loss depends on multiple factors including antenna quality and power supply stability. Proper power supply design is critical for ESP8266 reliability, recommending direct connection of a suitable voltage regulator and a low ESR capacitor (e.g., 470µF, 8mΩ) near the module to prevent malfunctions. Alternatives such as I2C for display connection or HC-12 SI4463 modules for wireless communication were mentioned. The feasibility of using WiFi to emulate RS (serial) communication over a wall was acknowledged but noted to depend on environmental conditions and hardware setup.
Summary generated by the language model.
ADVERTISEMENT