• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP8266 BiDirectional IOT WiFi Data Transfer

Q&A Forum › Category: ESP8266 › ESP8266 BiDirectional IOT WiFi Data Transfer
0 Vote Up Vote Down
Ron Gal-Ezer asked 5 years ago

I have a couple (or more) IOT modules that I want to connect via an ESP8266 WiFi link.

The modules are separate and do not allow wired connectivity.  Both modules control sister processes that are related and interact, so I need to transfer measured data and status from each module to the other.  The modules are configured as a Master-Slave, so that the master always initiates a communication session. Each module will have its own ESP8266. The IOT CPU will interact with the ESP8266 via a serial port (this part is solved).  The data itself and the messages transferred are essentially binary.

I want to design and program the system using Arduino IDE, preferring a client-server WiFi configuration and  possibly (but not necessarily) sending the info by means of http message strings.
Can you recommend a tutorial or example that provides a solution to this problem statement?

Question Tags: BiDirectional WiFi IOT Link
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Hi Ron.
We have this tutorial about wi-fi communication between ESP8266 boards via HTTP that might be useful(however only one board sends data to the other): 
https://randomnerdtutorials.com/esp8266-nodemcu-client-server-wi-fi/
Alternatively, you can use ESP-NOW to transfer data (it’s relatively easy to implement): https://randomnerdtutorials.com/esp-now-esp8266-nodemcu-arduino-ide/
Let me know if you need further help.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.