Does anyone know how to get the XIAO-ESP32C3 board working with APP inventor using BLE? I have written a test arduino code for controlling a WS2812B LED Strip and the program works fine on the XIAO-ESP32C3 board. For testing I have used the nRF Connect APP and sending "01" or "02" etcetera to select different colors. All fine, now I want to make a simple app also just for testing to get myself familiar with APP inventor. Can anyone help me realize this? Just a very simple app too connect to the BLE on the XIAO-ESP32C3 and some buttons to send the "01" or "02" etcetera to select the different colors.
Dear @Kampje ,
In addition to all that @ABG has already suggested, please take a look also here:
In my answer #6 you'll find an example containing a couple of codes: the .ino of an ESP32 connecetd via BLE to an app made by AI2 and its .aia.
You can take a sight and elaborate then for your needs.
Hoping it can help.
Cheers.
Thanks for the info but the XIAO-ESP32C3 uses only BLE not standard Bluetooth therefore BluetoothSerial.h library wil not work on this board.
Connecting to the XIAO-ESP32C3 will probably not be much different from connecting to other ESP32 boards, for which there are several examples, for example this one: BLE RC control with ESP32-C3 Super Mini or Zero. Discover UUID and connect
Just try it out, be sure to use the latest extensions, as in ABG's list. And if you have problems, post your .aia and .ino files here so we can help you.
Yes I got it working! I slightly changed the recommended BLE_TEST_ONLY_03 app from ABG.
Thank you all for your support .
Ooops! Please accept my apologies, I referred to the wrong example !
Anyway I'm happy you solved with @ABG's hints.
Great!
PS the correct example was:
BLETestAI2_uart.ino (5.9 KB)
BLE_Test.aia (254.7 KB)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.