• 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

Connection multiple BLE servers (sensors) to one BLE client

Q&A Forum › Category: ESP32 › Connection multiple BLE servers (sensors) to one BLE client
0 Vote Up Vote Down
Bukasa Tshilombo asked 2 years ago

Hi,
Do you know how I can connect multiple BLE sensors (each with unique MAC addresses) to one client?
I am using the ESP32, but I can use nRF52 or Arduino BLE devices if necessary.
The idea is that the ESP32 will connect to several temperature sensors and accelerometer/motion sensors and collect/log the incoming data.
Thanks for your help.

Question Tags: #Bluetooth #BLE #Sensors
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
If I’m not wrong, the ESP32 can only connect to one BLE device at a time.
So, if you want multiple devices, you’ll need to connect and disconnect from each node at a time.
Regards,
Sara

0 Vote Up Vote Down
Ian McNeilly answered 2 years ago

It should be no problem to connect multiple BLE sensors to an ESP32 :
https://github.com/esphome/feature-requests/issues/552
 I have connection to 3 BLE sensors in the (ESPhome) log on an ESP32 ,they are seen as devices by HA just not advertising their values.

0 Vote Up Vote Down
Bukasa Tshilombo answered 2 years ago

Thank you both for your responses. I will follow up on both approaches.

0 Vote Up Vote Down
Ian McNeilly answered 2 years ago

I now have 5 Xiaomi BLE temp/humidity sensors working properly on an ESP32 using the Telink Flasher and Esphome , maybe change the sensor type and try your luck
see video https://www.youtube.com/watch?v=K-HG7qs9hK0
 

0 Vote Up Vote Down
Bukasa Tshilombo answered 2 years ago

Thanks, I’ll check it out.

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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

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

Copyright © 2013-2023 · 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.