Bluetooth LED Control App with MIT App Inventor - STEP By STEP
HTML-код
- Опубликовано: 2 окт 2024
- 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 Enjoy Mechatronics is 100% free. I believe that education should be freely available to everyone.
Thanks man, have learnt a lot from you. Be blessed
hey guys i used it on arduino it perfectly works with your own code
Amazing video! You helped me a lot on my homework! TYSM
Glad I could help!
Thanks for sharing. Clear and concise. Just what I needed
Glad it was helpful!
I am not getting the output...In final step the esp bluetooth is not showning in app...what to do ..please help me
● MIT App Inventor: appinventor.mit.edu/
● ESP32 Bluetooth: ruclips.net/video/EWxM8Ixnrqo/видео.html
How to makesure if the usb disconnect from the laptop...the bluetooth function still on?
Your video is very beautiful, I understood clearly, thank you very much.
You are welcome 😊
great video. It works! 😀 Thanks!
Glad it helped
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
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);
}
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!
Very helpful video! I enjoyed that you focused on the important points. Keep going on like this!
Glad you enjoyed it!
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
How to install bluetooth library. Please help...
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
How can i automatically connect to a Bluetooth Device?
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...
Kalo on off menggunakan waktu yang kita tentukan dimit app..ada ga videonya?
Please provide code
I have a problem, mine does not detect paired devices. List picker is empty
Add the "nearby devices" permission from the app settings
code pls
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
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
With micropython and ESP32?
"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
Hi ,may i know that why arduino nano 33 iot cannot conenct with the mit apps after following your tutorial?
ruclips.net/video/F3T0NSiQITM/видео.html
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...
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
Great tutorial, straight to the point, thanks. Keep it up :)
I appreciate it.
Thank you for your interest 😊
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
what about esp8266module?
in neeeeeeed help :/
je bien fait le code mais je n'arrive pas atrouver les elements dans le elementpick1
modifier la permission de l'application
Sir 4 channel will provide a remote control program and app made video I am waiting.
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
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.
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
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
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
Got this to work after failing with the Pico W. Even with new BT support things are still a bit rough.
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
CAN I GET THE CODING?
List of bluetooth devices is empty. I used Iphone 13 pro max.
first pair in your device.
mit can make ios app?
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:
ruclips.net/video/1PoRcb4_wsw/видео.html
Nice great Tutorial bruh! Clear and didactic! subscribed booo!!
I am so glad it was helpful for you.
Hi, how could this be done to control addressable led?
Yeah, It's possible and I am gonna talk about it soon.
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.
thanks! watched all of your videos.
I am so glad you like it 😊
it has to be connectet via cable to the computer, I can't get it to work with external powersupply WHY??
If I use the Serial Bluetooth Terminal, it is working fine. Thanks
👍
Thankful master wish you luck
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').....
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?
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
ruclips.net/video/1PoRcb4_wsw/видео.html
Me too,do you have any solutions to solve the problem? Can you show me.Thanks a lot
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.
@@EnjoyMechatronics how sir, i do not see name of bluetooth from esp to connect
Nice bro keep it up
Thanks 😊
Very simple and effective instruction! Thank you.
You're welcome!
super video mil gracias
Awesome...
Thanks 🤗
Great tutorial, well explained, please expend its part 2 , with analog read from esp , best of luck
Thank you, I will
Perfect - Thank you so much!!!
Glad it helped!
you help me a lot and i thank you from the bottom of my heart
دروس علم ؟🤔😄