Create your own App! Control an ESP32 (Arduino) via Bluetooth - Part 2

Описание к видео Create your own App! Control an ESP32 (Arduino) via Bluetooth - Part 2

IMPORTANT UPDATE (30.09.2022): MIT App Inventor updated their Bluetooth library without backward compatibility. Might you have downloaded this code from my Github page before 30.09.2022, please download the updated version. Changes only affect the general Bluetooth connection stuff discussed in Part 1.

Part 1 of this series focused on controlling an ESP32 via Bluetooth with your phone (using MIT app inventor). In part 2 I show you how to create bi-directional communication so that the ESP32 can send information back to the phone. Might you have missed part 1:
   • Create your own App! Control an ESP32...  

Please make sure your ESP32 has Bluetooth to make this work. I used the ESP32-WROOM-32D. For creation of the app I use the MIT app inventor in combination with the MIT AI2 Companion. Note that this code will only work on Android. The reason is that BluetoothSerial does not work on an Iphone. For an Iphone only BLE works. Code for this will follow shortly...

If you want to code along, this is the starting point:
https://github.com/mo-thunderz/Esp32B...

For the final code, please refer to:
https://github.com/mo-thunderz/Esp32B...

MIT App Inventor:
https://appinventor.mit.edu/

Might you have problems programming the ESP32, pls refer to:
   • Programming ESP32: how its done and i...  

Have fun with the code and let me know in the comments below what application you are working on :-)

Комментарии

Информация по комментариям в разработке