Best way to transmit data between ESP32 boards.

tommis15
Posts: 1
Joined: Thu Aug 03, 2017 10:07 am

Best way to transmit data between ESP32 boards.

Postby tommis15 » Thu Aug 03, 2017 10:10 am

Hello all,

I was wondering what the best way to transmit data between ESP boards. The distance would be 10+ metres.

I would need to transmit very small quantities of data (about 10 bytes) about every second.

Thank you for your suggestions.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Best way to transmit data between ESP32 boards.

Postby kolban » Mon Aug 07, 2017 4:49 am

Your two primary choices are Bluetooth and WiFi. Both can transmit/receive data, both will work at the 10m range, both support small amounts of data.

Your request for a "best" choice is open to discuss however. It would depend on concepts such as assured delivery, latency, point to point vs broadcast, retry logic and much more.

Are they "peers" of each other? Is one some kind of master and the other a slave? Do they require to transmit data bi-directionally? Are there more than two participants?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

vishnudev
Posts: 2
Joined: Wed May 30, 2018 6:43 am

Re: Best way to transmit data between ESP32 boards.

Postby vishnudev » Wed May 30, 2018 7:23 am

I too need help. I need to transfer a file(sometimes text or image) between two Esp's. Esp will get data from STM boards .
Am new to wifi. All i see is web server things. Please help

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Best way to transmit data between ESP32 boards.

Postby kolban » Wed May 30, 2018 11:49 pm

Do you wish to use TCP/IP sockets, MQTT, COAP or something else? Your first puzzle will be to determine what network protocol you want to use for the exchange and work from there.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 87 guests