We have an ESPE32 Bluetooth Module that we are trying to program our Wireless/Bluetooth game controller to so that we can run our UNO3 board to drive our robot but we cannot seem to find the right code to make it all work. Any suggestions?
Thank you.
You could start with one of the many ESP32 Bluetooth examples and modify it to suit your needs.
-
It's found between your ears.

-
You will never find the right code as code is specific to your requirements.

-
Time to learn the basics and progress from there.

We do have one of the Bluetooth examples but we cannot get past the first part as it errors out.
Thanks.
Toby
![]()
- As mentioned, start with proven code examples that come with the library.
which example? where from? post the error report (as text not a screen image)
set Tools>Board to ESP32 Dev module
examples:
- for Bluetooth Classic have a look at File>Examples>BluetoothSerial
- for BLE have a look at File>Examples>ESP32 BLE Arduino
draw up a requirements specification!
Well that was a rude comment. I am a STEM teacher trying to help students learn and this is all very new to me as well. I thought this was a kind forum but I guess not.
![]()
![]()
Follow the forum rules, post the details, and you can expect enthusiastic, expert help figuring out how to fix it. See the "How to get the best out of this forum" post.
-
Being a teacher (great profession), you probably know you need to be forth coming with enough information for us to review so we can help you with your problem.
-
There is a Forum guide line post at the top of each forum.
You need to read these guidelines before asking questions. -
Always show us your schematic and good images of the actual wiring for your project. Give Links to components.
-
Always show us your program sketch using code tags.
What type of Bluetooth are you using? Many ESP32 module do not support Bluetooth Classic only BLE.
We have a ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA
the ESP32-S3 supports BLE not Bluetooth Classic
using a ESP32-S3-DevKitC-1 running File>Examples>ESP32 BLE Arduino>BLE_uart
creates BLE device "UART Service"
I run Serial Bluetooth Terminal on an Android phone and connect to "UART Service" it displays
if I enter text on the phone the serial monitor displays
Waiting a BLE client connection to notify...
*********
Received Value: hello
*********
*********
Received Value: from smartphone
*********
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
