Send Data From Arduino Nano 33 BLE Sense to ESP32 via Bluetooth

Dear All
I plan to send accelerometer data through Bluetooth from **Arduino Nano 33 Ble sense **to ESP32 (ESP-EYE) via Bluetooth.

  • Is this possible?
  • Is there any documentation that can help me to start this project?

Thanks for your help.

Welcome to the forum.

The best thing is to play with the examples first. Install the ArduinoBLE libraries using the Library Manager.

Tools -> Manage Libraries

Then you will find the examples in the IDE.

File -> Examples -> ArduinoBLE -> Central
File -> Examples -> ArduinoBLE -> Peripheral

Start with a peripheral example. In BLE the peripheral device is the server that provides the data. It is usually a small battery power device e.g., a sensor. Use:

File -> Examples -> ArduinoBLE -> Peripheral -> BatteryMonitor.

For the central side, the best option is to use a generic BLE app on a smartphone to get started. I use BLE Scanner on iOS. There are many others for iOS and Android. Try to connect to the Arduino and compare the source code with the data shown in the app.

There are a few specific sub forums for the Arduino Nano 33 BLE and Nano 33 IoT.

Nano Boards (NEW types)

You can find examples for what you would like to do and discussions about specific issues for your case in these and possibly in the current sub forum. I had a few similar questions with other users, but I am not which sub forums they are. For instance, here

The ArduinoBLE library reference documentation is worth having a look at as well.

https://www.arduino.cc/en/Reference/ArduinoBLE

Regarding the ESP32. The board package and library come with a large collection of samples. I would recommend you start with the Arduino Nano 33 BLE because the library is more abstract and easier to understand. Once you know this it will be easier to understand what is going on in the ESP32 BLE library.

If you have any specific question, please feel free to ask.

Why do people just assume that the ESP32 cannot do accelerometer data? ESP32 MPU-6050 Accelerometer and Gyroscope (Arduino) | Random Nerd Tutorials

.

ieee488:
Why do people just assume that the ESP32 cannot do accelerometer data? ESP32 MPU-6050 Accelerometer and Gyroscope (Arduino) | Random Nerd Tutorials

.

In this case I'm focus on making those esp32 as a fog layer before sending the data to cloud. I'm just starting experimenting about fog layer. So it doesn't matter about the accelerometer on ESP32. The passed data could be anything.

mctosima:
In this case I'm focus on making those esp32 as a fog layer before sending the data to cloud. I'm just starting experimenting about fog layer. So it doesn't matter about the accelerometer on ESP32. The passed data could be anything.

You seem to know it all, so I leave it to it.

.