Create a BLE app for your mobile phone! Control an ESP32 with BLE
MoThunderz
@mothunderzAbout
Music, programming, Arduino, ESP32, analog synths (Roland, Arp, etc) and other fun stuff Have fun! Sander
Video Description
Summary: In this video I show you how to create your own Bluetooth Low Energy (BLE) App to control an ESP32 (Arduino platform). For creation of the app I use the MIT app inventor in combination with the MIT AI2 Companion. I have tested this on an Android phone. I have heard in the meantime that unfortunately MIT App Inventor does not support BLE for the Iphone yet. Please make sure your ESP32 has Bluetooth to make this work. Note that some older ESP32 will not work with MIT App Inventor. Confirmed to work on: ESP32-WROOM-32D ESP32-WROOM-32 (Mini D1 ESP32) Does not work on (will not connect): ESP32-WROOM-32 (some of the older versions) NOTE: In order for the App to work as compiled .apk file, the "BluetoothClient" element needs to be added to the MIT App Inventor project (can be found in the "Connectivity" section). I forgot to mention this in the video. Starting point for coding along for the Arduino is: https://github.com/mo-thunderz/Esp32BlePart1 Final code: https://github.com/mo-thunderz/BleMobileAppMitAppInventor MIT App Inventor: https://appinventor.mit.edu/ MIT App Inventor BLE extension: https://mit-cml.github.io/extensions/ BLE on ESP32 Tutorial: https://youtu.be/0Yvd_k0hbVs https://youtu.be/s3yoZa6kzus 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 :-) Correction: 6:36 Under "Connectivity" add also the "BluetoothClient" to the project. This is needed so that the app can ask for the appropriate permissions when compiled. 32:06 I mis-spoke here. The correct number to multiply the third byte with is 65536 (2^16).
ESPs & Accessories: Your BLE Project Starter Kit
AI-recommended products based on this video

DUEDUE Lenovo Tab M10 HD Case-Kickstand Heavy Duty Cover Shockproof Full Body Protective Tablet Case for Lenovo Tab M10 HD 2nd Gen 10.1 Inch 2020(TB-X306X/TB-X306F), Black

Magnetic Nasal Strips Starter Kit: Comfortable Nasal Breathing Support for Sleep, Helps Reduce Snoring Noise, Includes 60 Tabs (30 Uses) with 4 Sizes

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

Bonsai Starter Kit – 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters – Gardening Gifts for Women & Men

HAUSOURCE Full Bed Frame with 4 Storage Drawers Bed Frame Full Size with Headboard LED Lights Charging Station Metal Slats Platform Heavy-Duty Support No Box Spring Needed White

VASAGLE LED Bed Frame Full Size, Storage Headboard and Charging Station, Full Bed Frame with 2 AC Outlets, 1 USB Port, 1 Type-C Port, No Box Spring Needed, Dove Gray and Camel Brown URMB842G01

VASAGLE LED Bed Frame Full Size with Headboard and 4 Drawers, 1 USB Port and 1 Type C Port, Adjustable Upholstered Headboard, No Box Spring Needed, Dark Grey URMB822G71









