• 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

How to create a sensor network using ESP32 BLE

Q&A Forum › How to create a sensor network using ESP32 BLE
0 Vote Up Vote Down
lopsan-14 asked 6 years ago

Is it possible to create a network of several ESP32 sending each other information?

I want to design a system where there are 3 ESP32 devices sending information to a central ESP32 but I also need any ESP32 in the system to be able to send information to anyone else.

Is it possible via Bluetooth BLE?

Question Tags: BLE
1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi.

What you are looking for is a BLE mesh network.

At the moment, it is not implement for the ESP32 using Arduino IDE.

There is some support for IDF (beta version): https://github.com/espressif/esp-idf/tree/f1b8723996d299f40d28a34c458cf55a374384e1/components/bt/esp_ble_mesh

One of the best ways to exchange information is using MQTTT.

Alternatively, there is a protocol called ESP-NOW that allows you to create a network to communicate between ESP32 boards (we don’t have any tutorial about that). More information about ESP-NOW:

  • https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/network/esp_now.html
  • https://www.instructables.com/id/ESP32-With-ESP-Now-Protocol/

Examples with ESP-NOW: https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/ESPNow

I hope this helps.

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

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition 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.