Bluetooth LED Control App with MIT App Inventor - STEP By STEP
ฝัง
- เผยแพร่เมื่อ 6 ก.พ. 2025
- In this tutorial, you'll learn how to use MIT App Inventor to create a Bluetooth app that controls an LED on an ESP32. We'll walk you through the process step-by-step, from starting a new project to building the app and testing the final product. Whether you're new to IoT or an experienced maker, this video is a must-watch for anyone interested in using MIT App Inventor to create apps for your next smart project.
► Get your first ESP32 board today and start exploring the world of IoT:
👉 amzn.to/3oCu2Pz
● MIT App Inventor: appinventor.mi...
● ESP32 Bluetooth: • ESP32 Bluetooth Classi...
● ESP32 for Beginners: • Introduction to ESP32 ...
♥ Don't click this! bit.ly/3jvI8g6
--------------------------------------------------------------------
✅ My current Productivity Setup 👇:
● Gaming Headset: amzn.to/3HyXgp2
● Gaming Mouse: amzn.to/3ni4Ygp
● Best Webcam: amzn.to/44pVUqw
● Keyboard: amzn.to/3ALXB3M
● GPU: amzn.to/42mylNt
● CPU: amzn.to/44lOBjs
--------------------------------------------------------------------
FOLLOW ME:
● Github Projects: github.com/Enj...
● TikTok: / enjoy_mechatronics
● Facebook: / enjoymechatronics
--------------------------------------------------------------------
► All content by "DIY TechRush" is 100% free. I believe that education should be freely available to everyone.
● MIT App Inventor: appinventor.mit.edu/
● ESP32 Bluetooth: th-cam.com/video/EWxM8Ixnrqo/w-d-xo.html
Very helpful video! I enjoyed that you focused on the important points. Keep going on like this!
Glad you enjoyed it!
Thanks man, have learnt a lot from you. Be blessed
Amazing video! You helped me a lot on my homework! TYSM
Glad I could help!
I am not getting the output...In final step the esp bluetooth is not showning in app...what to do ..please help me
Very simple and effective instruction! Thank you.
You're welcome!
Thanks for sharing. Clear and concise. Just what I needed
Glad it was helpful!
nice tip! really a lots of interesting content you have produced!!!!
I appreciate that!
Great tutorial, straight to the point, thanks. Keep it up :)
I appreciate it.
Thank you for your interest 😊
Good! Very well explained!
I'm glad it was helpful!
hey guys i used it on arduino it perfectly works with your own code
Thanks brooo!!!🤟
No worries, enjoy!
thanks! watched all of your videos.
I am so glad you like it 😊
Got this to work after failing with the Pico W. Even with new BT support things are still a bit rough.
Nice great Tutorial bruh! Clear and didactic! subscribed booo!!
I am so glad it was helpful for you.
I have some error message: no matching function for call to 'BluetoothSerial::BluetoothSerial()', BluetoothSerial SerialBT; Can you help with it please?
Ok, the reason of this, is the wrong esp32, without Bluetooth serial 🤷♂️. On over board everything is fine 😁.
Have you solved the error? I'm getting the same message
Hi can you do tutorial to display multiple ir sensor and update to the apps using MIT App Inventor? Example parking slot. If slot 1 available the ir sensor send data to the apps and text on the saying slot available. And if slot 2 has been parked the apps will display slot 2 has been parked.
How to install bluetooth library. Please help...
If I use the Serial Bluetooth Terminal, it is working fine. Thanks
👍
Why don't I see any bluetooth devices when entering the app? Although I have already connected the HC-05.
Sometimes you have to give the app permission to access nearby devices (for Bluetooth) in the phones settings, find the app you made under app management
@@evanhewitt6847 i was find bug. when i build app on appinventor i will not found device to conect bluetooth. if i use app old a few years ago, i will find it
you help me a lot and i thank you from the bottom of my heart
great video. It works! 😀 Thanks!
Glad it helped
Thankful master wish you luck
How to makesure if the usb disconnect from the laptop...the bluetooth function still on?
Perfect - Thank you so much!!!
Glad it helped!
Your video is very beautiful, I understood clearly, thank you very much.
You are welcome 😊
you understood his jargon clearly? The fucking guy can;t speak English
Hi, why I can not see the list of BT devices on my Android smartphone after press a Devices List button?
did you discoverd why?
@@JavyVCI just found out cause we have not given the bluetooth permission to the app. It is because of android 12 + versions. Go to settings then app then go to the your app and then give it nearby devices permission on or give it all the permission then you will be able to see the device names
I have a bluetooth module HC 05 and when I open the application to connect to bluetooth I don't get the list of devices?
Make sure to pair your phone with the Bluetooth module and allow "nearby devices" permission from the app settings
Hi , i am creating a device that has esp32 and the other device is Pi5 which runs android os an app can be installed in this os . Now , i need to connect my esp32 with the pi5 only . Can you guide how i could do this ? In my mind .. it is giving characterstic id call from esp32 and the app would have the same the characterstic app . If the app detects the characterstic uuid , then connect directly to esp32 . Please let me know if this is right or show a video on how to do this as a refernce
Hi there, I have been working with esp32 display boards but now that I see what can you do with this app builder, I will completely switch over. As I am used to using esp-now,, can the app communicate with WiFi?
yes
Kalo on off menggunakan waktu yang kita tentukan dimit app..ada ga videonya?
The reason Bluetooth devices may not appear when I press the 'Devices List' button on my phone could be due to what? I urgently need it for my internship assignment
Add nearby devices permission from the app permissions
hey ive made an ultrasonic distance measure, and the output is on serial monitor of arduino ide how do i make the output of serial monior to be produced on the app
Check out in this video:
th-cam.com/video/1PoRcb4_wsw/w-d-xo.html
Hi, how could this be done to control addressable led?
Yeah, It's possible and I am gonna talk about it soon.
great vidio but how do i do it on iphone?
Mit app inventor isnt for iphone. they just say that it works but it never works
I see a blank screen when i try to select from device list, I gave the permission to nearby device from settings. still nothing shows up
sameee...
I have a problem, mine does not detect paired devices. List picker is empty
Add the "nearby devices" permission from the app settings
Nice bro keep it up
Thanks 😊
Hi ,may i know that why arduino nano 33 iot cannot conenct with the mit apps after following your tutorial?
th-cam.com/video/F3T0NSiQITM/w-d-xo.html
Great tutorial, well explained, please expend its part 2 , with analog read from esp , best of luck
Thank you, I will
why my bluetooth list not showing in listpicker , pls help
Blue tooth premmisne
I don't know why. I have the same problem...
Same problem I just fixed it. Go to settings >> manage apps >> then make sure the "nearby access" is allowed. Just check the app permissions and allow it.
Thank you so much i just fixed mine@@1-NIX
@@1-NIX you are a hero!
i've done this and when I tried to connect the following error happened: error 503 the specified address is not a valid bluetooth MAC adress
HC-06 Bluetooth device is paired with my mobile. However, no device is showing in the device list.
Maybe you have to add nearby devices' permission to the app from your smartphone
How can i automatically connect to a Bluetooth Device?
super video mil gracias
it has to be connectet via cable to the computer, I can't get it to work with external powersupply WHY??
Hi Sir. Great tutorial. But why is it that the mit app cannot detect my esp32 bluetooth device? Please help. Thank you very much.
You may need to add nearby devices permission from the settings of the app.
what about esp8266module?
in neeeeeeed help :/
Awesome...
Thanks 🤗
With micropython and ESP32?
je bien fait le code mais je n'arrive pas atrouver les elements dans le elementpick1
modifier la permission de l'application
hello, i do same with you but when i open app on phone and click ' Device List ' the phone can not detect bluetooth of ESP32 to connect. Can you help me
Before you open the app, pair your phone with the esp32.
@@DIYTechRush how sir, i do not see name of bluetooth from esp to connect
I have a problem trying to connect via bluetooth, I get error 507 and I don't understand why my devices are well connected, if anyone can help me I would really appreciate it...
in Arduino IDE code line 16, if i want to have 2 different variables how can i declare sir
You don't need to create another variable c. Just add more conditions like
if(c== '2').....
Sir 4 channel will provide a remote control program and app made video I am waiting.
Sir, when I click Device List no bluetooth device shown up,something is wrong but I cant find out. Could you please share your code and app?
I haven't saved the code, but I've created another project with all of the files included in the description
th-cam.com/video/1PoRcb4_wsw/w-d-xo.html
Me too,do you have any solutions to solve the problem? Can you show me.Thanks a lot
hello badly need help! i want to know to make this with light adjustment. pls help me!! i will pay
CAN I GET THE CODING?
i think since android 13 the permission changed and you have to add a lot more to scan and pair devices... :(
yes it does not connect even on android 12, it just pairs thats it, do u have any solution?
code pls
mit can make ios app?
Plz share .aia file link
"Wake up to reality! Nothing ever goes as planned in this world." is a quote by Madara Uchiha from the anime Naruto Shippuden1234. The quote suggests that no matter how much you plan ahead of things, there is still a possibility that everything’s going to come undone. You have to face reality and stand strong even when things don’t go according to y
Please provide code
Not working on Android12 or later.
AddressesAndNames:
Returns the list of paired Bluetooth devices. Each element of the returned list is a String consisting of the device’s address, a space, and the device’s name. On Android 12 or later, if the permissions BLUETOOTH_CONNECT and BLUETOOTH_SCAN have not been granted to the app, the block will raise an error via the Screen’s PermissionDenied event.
loving you mate, thank you
Thank you so so much, i was spending about an hour trying to figure out why the Bluetooth wont work. Thank you
List of bluetooth devices is empty. I used Iphone 13 pro max.
first pair in your device.
786 likes waaoo lucy number so I am not going to like but thanks it was very helpful.
دروس علم ؟🤔😄
thank you.
here is esp32 BT code
#include "BluetoothSerial.h";
BluetoothSerial serialBT;
char cmd;
void setup() {
// esp_core_dump_init();
// initialize digital pin LED_BUILTIN as an output.
pinMode(2, OUTPUT);
serialBT.begin("ESP32-BT");
Serial.begin(9600);
Serial.println("system esp32 bluetooth");
}
// the loop function runs over and over again forever
void loop() {
if (serialBT.available())
{
cmd = serialBT.read();
}
if (cmd == '1'){digitalWrite(2, HIGH);}
if (cmd == '0'){digitalWrite(2, LOW);}
delay(100);
}
i have paired my phone to the esp32, but its not showing up in list picker
I see a blank screen when i try to select from device list, I gave the permission to nearby device from settings. still nothing shows up....
Add the "nearby devices" permission from the app settings.... this helped me solve the problem