Загрузка страницы

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

Part 1 and 2 of this series focused on realization of a bi-directional Bluetooth communication channel between an ESP32 and your phone (using MIT app inventor). However, the length of the communication was limited to a single byte. In part 3 I will show you to send over values larger than 256 values and introduce a simple protocol to send over an ID with an associated value. This is practical for sending over control and/or sensor values. Might you have missed part 1 and 2:
Part 1: https://youtu.be/aM2ktMKAunw
Part 2: https://youtu.be/OvWd_xZ12E4

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/Esp32BluetoothAppPart2

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

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

Might you have problems programming the ESP32, pls refer to:
https://youtu.be/xQkE0eDImkE

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

Видео Create your own App! Control an ESP32 (Arduino) via Bluetooth - Part 3 канала mo_thunderz
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
12 августа 2021 г. 0:56:14
00:34:42
Яндекс.Метрика