How can I design using Both Two Arduino nano 33 BLE boards and App?

Hi,
I want to design a system such as below design 1 or design 2.

Using Both Two Arduino nano 33 BLE boards and App.
App is a main controller which communicates two arduino nano 33 boards by Bluetooth.
and the two boards are also communicate with each other, exchanging information by Bluetooth.

Are these two designs feasible?
or
What is a feasible way?

Please comment on this.

Welcome to the forum

Why do you need to use 2 Arduinos ?

Bluetooth is a communication between 2 devices, not 3 or more. You pair two units to each other. No place for a third device.

each arduino works independently, and some results are communicated by bluethooth.

Yes, I think so. so I want to comment about this.
Is there any other good way for this?

That’s a nice thought, but WHY ?
Is it too far between the nodes for a cable?
Remember you need power at each node.

Sounds like a problem looking for a solution.

I have one idea, APP to one arduino use BLE, and two arduinos are communicated other RF board.

But I hope to do this by only three devices except other RF board.

Yes, two arduino are saperated and can't use the cable.

running on a pair of ESP32 NodeMCU devices using Bluetooth Classic
File>Examples>BluetoothSerial>SerialToSerialBT using different BT names, e.g. ESP32test and ESPtest2
can pair to both devices

then run the SerialBluetoothTerminal app connected to ESP32test

the ESP32 Serial Monitor displays

SerialToSerialBT
The device started, now you can pair it with bluetooth!
hello from android

can then close device and open terminal to ESP32test2

BLE test using File>Examples>ESP32 BLE Arduino>BLE_Uart
set up two ESP32 devices as BLE UART Service and BLE UART Service2, e.g.

could select device and transmit/receive text etc etc

you should therefore be able to program the Nano 33 BLE devices to communicate with a BLE app
your app will have to select the device to communicate with, exchange data then close
the other device can then be selected etc etc

is that what you require?

Thanks horace.
I'll try your comment.

and I have a question about ESP32 device, such as,
While the app and the two boards communicate with ble, can the two boards also communicate with each other?

I was just using ESP32 device because I don't have any Nano 33 BLE
your Nano 33 BLEs should be able to communicate with the app like the ESP32s in post # 9

I should think they could also communicate with each other over BLE - probably not at same time as with a app - you would require some protocol

I changed my question about your comment.

While the app and the two ESP32 boards communicate by bluetooth, can the two ESP32
boards also communicate with each other?

if you are thinking of using WiFi and BLE concurrently it is not possible either on the ESP32 or Nano 33 IOT
you can switch between the two
how often do the two Nanos need to communicate?
how often does the app communicate with the nanos?

I am not going to use WiFi, just use Bluetooth.

so, Using the method you suggested, I want to communicate with two ESP32 boards and an App using Bluetooth.

While the app and the two ESP32 boards communicate by Bluetooth, can the two ESP32 boards also communicate with each other at the same time?

ESP32_BLE_client_uart enables ESP32 to communicate with an ESP32 running BLE_Uart server
therefore

  1. an ESP32 can communicate with an ESP32 running BLE_uart
  2. an android app can communicate with an ESP32 running BLE_Uart

I have no idea if a BLE server (such as BLE_Uart) running on an ESP32 or Nano 33 BLE can concurrently handle multiple clients

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.