Create your own App! Control an ESP32 (Arduino) via Bluetooth - Part 1
MoThunderz
View ChannelAbout
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
![LISEN USB C to USB C Cable 240W, [6.6ft 2Pack]Nylon Braided Type C Cable Fast Charge for iPhone 17 Pro Max USBC Fast Charging Cord for iPhone 17 16 Pro Air Samsung Macbook iPad Air 4/5 Xbox, Midnight](https://m.media-amazon.com/images/I/811vlwRArKL._AC_UL960_FMwebp_QL65_.jpg)
LISEN USB C to USB C Cable 240W, [6.6ft 2Pack]Nylon Braided Type C Cable Fast Charge for iPhone 17 Pro Max USBC Fast Charging Cord for iPhone 17 16 Pro Air Samsung Macbook iPad Air 4/5 Xbox, Midnight

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)

Demon Mechanic Elite X Ski Tuning Kit & Snowboard Tuning Kit with Ski Wax Iron, Ski and Snowboard Wax & Demon Elite X Ski and Snowboard Edge Tuner w/Diamond Files

17 in 1 Complete Drinking Water Testing Kit - 100 Strips + 4 Bacteria Tests - Tap and Well Water Test Kit, Easy to Test and Read for Hardness, Lead, Iron, Fluoride, pH, Copper, Bacteria and More

Water Testing Kits for Drinking Water: 125 Strips 16 in 1 Drinking Water Test Kit, TESPERT Water Test Strips with Hardness, PH, Mercury, Lead, Iron, Copper, Chlorine, Cyanuric Acid

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

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)






















