Create your own App! Control an ESP32 (Arduino) via Bluetooth - Part 1
MoThunderz
@mothunderzAbout
Music, programming, Arduino, ESP32, analog synths (Roland, Arp, etc) and other fun stuff Have fun! Sander
Latest Posts
Video Description
IMPORTANT UPDATE 30.09.2022: MIT App inventor updated the BluetoothClient without backward compatibility. As a result, the .aia file gave an error when loaded into MIT app inventor: "A problem occurred while loading this project. No upgrade strategy exists for BluetoothClient from version 6 to 7". I updated to the new BluetoothClient, but then I got the following error "need android.permission.BLUETOOTH_CONNECT permission". It turned out that the code now needs to ask for permission to use Bluetooth. Both problems are now fixed on my Github page. Please download the source code from my Github page to see how this is done. The rest of the video with the communication to the ESP32 is still accurate: https://github.com/mo-thunderz/Esp32BluetoothApp Summary: In this video I show you how to create your own Android App to control an ESP32 (Arduino platform) through Bluetooth (not suitable for IOS). 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: https://youtu.be/RvbWl8rZOoQ Source code on Github: https://github.com/mo-thunderz/Esp32BluetoothApp MIT App Inventor: https://appinventor.mit.edu/ Might you have problems programming the ESP32, pls refer to: https://youtu.be/xQkE0eDImkE Check out part 2 and 3 as well: Part 2: Bi-directional communication (send info from ESP32 to phone https://youtu.be/OvWd_xZ12E4 Part 3: How to make communication reliable https://youtu.be/eP35zgZnQY4 Have fun with the code and let me know in the comments below what application you are working on :-) Correction: 09:33 NOTE that MIT App inventor updated the BluetoothClient without backward compatibility. As a result, the blocks will look slightly different in the current implementation. See the top of the comments of this video for more details.
Master ESP32 Projects Today
AI-recommended products based on this video

USB C Cable 3Pack USB C to USB C Cable 10FT 60W Type C Charger Nylon Braided Compatible with iPhone 17 16 Pro/15 Pro/Plus/Max/iPad/MacBook and More

Syntech Link Cable 16FT for PCVR Compatible with Oculus/Quest 3/Meta Quest 3S, Quest2/Pro/Pico 4/Ultra Accessories and PC/SteamVR, High Speed PC Data Transfer, USB 3.0 to USB C Cable for VR Headset
![USB to USB C Cable for iPhone 16/15 [MFi Certified] Carplay Cable Car Charger Cord 6FT/4Pack Compatible with iPhone 16/16 Plus/16 Pro/16 Pro Max, iPhone 15/15 Plus/15 Pro/15 Pro Max,iPad Air/Mini](https://m.media-amazon.com/images/I/61Z0Sl54sYL._AC_UL960_FMwebp_QL65_.jpg)
USB to USB C Cable for iPhone 16/15 [MFi Certified] Carplay Cable Car Charger Cord 6FT/4Pack Compatible with iPhone 16/16 Plus/16 Pro/16 Pro Max, iPhone 15/15 Plus/15 Pro/15 Pro Max,iPad Air/Mini

Car Carplay Cable for iPhone 16/16 Pro Max/16 Plus/15 Pro Max Plus, 3.3ft USB to USB C Cable Compatible with Apple Car Play iPhone 16 15 Cord, USB A to USB C Car Charger Cable Cord (Black)

Digital Multimeter Voltmeter Battery Voltage Multi Tester AC DC Volt OHM Amp Current Meter Circuit Continuity Resistance Diode Electrical Tester with Test Leads Backlight LCD Display

AstroAl Digital Multimeter 2000, Multimeter Tester with Volt Amp Ohm, Multi Meter Measures Voltage, Current, Resistance, Continuity and Diode, Electrical Tester with Test Leads, Backlight LCD Display

Asus ROG Azoth Wireless Mechanical Gaming Keyboard – 75% TKL, Tri-Mode Connectivity, Hot Swappable Pre-lubed ROG NX Snow Linear Switches, PBT Keycaps, RGB, OLED Display, PC/Mac Support - Black

OVERTURE PLA Filament 1.75mm PLA 3D Printer Filament, 1kg Cardboard Spool (2.2lbs), Dimensional Accuracy +/- 0.02mm, Fit Most FDM Printer (White 1-Pack)









