Relaying / Receiving data between Raspberry Pi -> ESP32 S3 Wifi -> Arduino Nano ATMEGA328P (with HC05)?

I recently purchased an Arduino Nano ATMEGA328P and HC-05 to make a volume mixer. After some research however, I decided to purchase an ESP32 S3 as well in order to make use of USB HID functionalities.

That being said it is too late to cancel my initial order, and I'd like to try and find something else to do with my Arduino Nano. I have a server running on a Raspberry Pi that I'm giving to a friend, but would still like to monitor myself (they will run the server, however I'm technically still responsible for edits / making sure everything runs).

Would it be theoretically possible transmit simple text data from the Raspberry Pi via Wifi to the ESP32 S3, then relay that information via bluetooth to my Arduino Nano to then display on a screen? If so, any pointers on where to start looking would be greatly appreciated.

Set up a server (sample sketches) on the esp32 then send via Bluetooth. The example code is with the library, so you will need to pick a wifi library and a blue tooth library (classic and BLE)

The ESP32-S3 only supports BLE (Bluetooth Low Energy), while the HC-05 only supports Bluetooth Classic. Despite the presence of "Bluetooth" in the names of each radio technology, they are not intercompatible. So the ESP32-S3 board can't communicate with the Nano via the HC-05.

I see, thanks for letting me know. Is there another ESP or Arduino option that has both Wifi and Bluetooth classic, or would connecting a separate HC-05 to the ESP32-S3 work for this type of connection?

I haven't purchased the ESP32 yet and was considering the ESP32 C6 (which seems to be compatible w/ Bluetooth classic via Bluetooth 5), though I've been having some difficulties configuring an OLED display.

The original ESP32 microcontroller microcontroller has it.

However the ESP32 doesn't have the USB HID capability that was the reason for you selecting the ESP32-S3.

None of the other microcontrollers in the ESP32 family have Classic Bluetooth support.

Yes, that will work. However, it seems like you are doing a lot of work to make use of the Nano board. You might want to step back and consider whether it would make more sense to instead use a board that has Wi-Fi capabilities and thus can communicate with the Raspberry Pi directly. This will eliminate the complexity that would otherwise be introduced into the system by the inclusion of the two HC-05 modules.

I'm not an expert in the subject of Bluetooth, but it is my understanding that there is no compatibility between the BLE v5.3 of the ESP32-C6 and Bluetooth classic.

Did you read somewhere that these are compatible? If so, please provide a link to that reference as this might provide valuable context for the forum helpers.

I understand that you want to monitor and maintain a server from a different location. The far easier approach in my opinion is to remotely login over a secure connection to the remote server from e.g. a PC at your place as an unprivileged user and monitor it with that. Some stuff might require root access and the unprivileged user can gain root permissions (e.g. sudo).

Never remotely login as root and if a database is involved do not allow remote access to it as admin/root; again, the unprivileged user can login to the database with the correct root/admin credentials for the database.

My apologies, I appear to be mistaken in regards to the ESP32 C6 supporting Bluetooth classic. To be honest, you're probably right about attempting to make the original Arduino Nano work being somewhat unnecessary and I can probably just fit in the raspberry pi server relay onto the ESP32-S3 project itself. Thanks again for the heads up!

1 Like

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