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.

ความคิดเห็น • 123

  • @DIYTechRush
    @DIYTechRush  2 ปีที่แล้ว +7

    ● MIT App Inventor: appinventor.mit.edu/
    ● ESP32 Bluetooth: th-cam.com/video/EWxM8Ixnrqo/w-d-xo.html

  • @Agrarforst
    @Agrarforst ปีที่แล้ว +2

    Very helpful video! I enjoyed that you focused on the important points. Keep going on like this!

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      Glad you enjoyed it!

  • @edsonkumenya5626
    @edsonkumenya5626 ปีที่แล้ว +7

    Thanks man, have learnt a lot from you. Be blessed

  • @patriciavidal1109
    @patriciavidal1109 11 หลายเดือนก่อน +2

    Amazing video! You helped me a lot on my homework! TYSM

    • @DIYTechRush
      @DIYTechRush  11 หลายเดือนก่อน +1

      Glad I could help!

  • @j.anishkumar8321
    @j.anishkumar8321 11 หลายเดือนก่อน +6

    I am not getting the output...In final step the esp bluetooth is not showning in app...what to do ..please help me

  • @thomasleftwite
    @thomasleftwite ปีที่แล้ว +1

    Very simple and effective instruction! Thank you.

  • @ArtKrenzer
    @ArtKrenzer ปีที่แล้ว +4

    Thanks for sharing. Clear and concise. Just what I needed

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      Glad it was helpful!

  • @fablapp
    @fablapp 2 หลายเดือนก่อน +1

    nice tip! really a lots of interesting content you have produced!!!!

    • @DIYTechRush
      @DIYTechRush  2 หลายเดือนก่อน +1

      I appreciate that!

  • @FrancoisSchnell
    @FrancoisSchnell 2 ปีที่แล้ว +5

    Great tutorial, straight to the point, thanks. Keep it up :)

    • @DIYTechRush
      @DIYTechRush  2 ปีที่แล้ว +2

      I appreciate it.
      Thank you for your interest 😊

  • @globuglobulin-r2t
    @globuglobulin-r2t 2 หลายเดือนก่อน +1

    Good! Very well explained!

    • @DIYTechRush
      @DIYTechRush  2 หลายเดือนก่อน +2

      I'm glad it was helpful!

  • @Enderparth
    @Enderparth 5 หลายเดือนก่อน +1

    hey guys i used it on arduino it perfectly works with your own code

  • @brotherhood4627
    @brotherhood4627 13 วันที่ผ่านมา +1

    Thanks brooo!!!🤟

    • @DIYTechRush
      @DIYTechRush  13 วันที่ผ่านมา +1

      No worries, enjoy!

  • @username_6948
    @username_6948 ปีที่แล้ว +2

    thanks! watched all of your videos.

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +2

      I am so glad you like it 😊

  • @linuxrobotgeek
    @linuxrobotgeek ปีที่แล้ว +1

    Got this to work after failing with the Pico W. Even with new BT support things are still a bit rough.

  • @jesus_malik
    @jesus_malik ปีที่แล้ว +1

    Nice great Tutorial bruh! Clear and didactic! subscribed booo!!

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      I am so glad it was helpful for you.

  • @Ivan-Ko
    @Ivan-Ko 10 หลายเดือนก่อน +3

    I have some error message: no matching function for call to 'BluetoothSerial::BluetoothSerial()', BluetoothSerial SerialBT; Can you help with it please?

    • @Ivan-Ko
      @Ivan-Ko 10 หลายเดือนก่อน

      Ok, the reason of this, is the wrong esp32, without Bluetooth serial 🤷‍♂️. On over board everything is fine 😁.

    • @MassimilianoBellugoogle
      @MassimilianoBellugoogle 6 หลายเดือนก่อน

      Have you solved the error? I'm getting the same message

  • @irzfanfarizan3001
    @irzfanfarizan3001 ปีที่แล้ว +1

    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.

  • @edsonkumenya5626
    @edsonkumenya5626 ปีที่แล้ว +3

    How to install bluetooth library. Please help...

  • @gerrygalman1660
    @gerrygalman1660 ปีที่แล้ว +1

    If I use the Serial Bluetooth Terminal, it is working fine. Thanks

  • @aohmix
    @aohmix ปีที่แล้ว +2

    Why don't I see any bluetooth devices when entering the app? Although I have already connected the HC-05.

    • @evanhewitt6847
      @evanhewitt6847 ปีที่แล้ว +2

      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

    • @aohmix
      @aohmix ปีที่แล้ว

      @@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

  • @diego.alienigena
    @diego.alienigena ปีที่แล้ว +1

    great video. It works! 😀 Thanks!

  • @hambaallahygpenyayang5802
    @hambaallahygpenyayang5802 ปีที่แล้ว +1

    Thankful master wish you luck

  • @farzyyyy8269
    @farzyyyy8269 4 หลายเดือนก่อน +1

    How to makesure if the usb disconnect from the laptop...the bluetooth function still on?

  • @dbmetters
    @dbmetters ปีที่แล้ว +1

    Perfect - Thank you so much!!!

  • @circuitideas1981
    @circuitideas1981 ปีที่แล้ว +1

    Your video is very beautiful, I understood clearly, thank you very much.

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      You are welcome 😊

    • @clobel55
      @clobel55 3 หลายเดือนก่อน

      you understood his jargon clearly? The fucking guy can;t speak English

  • @bachger4289
    @bachger4289 ปีที่แล้ว +3

    Hi, why I can not see the list of BT devices on my Android smartphone after press a Devices List button?

    • @JavyVC
      @JavyVC 7 หลายเดือนก่อน

      did you discoverd why?

    • @unknown-ro4vr
      @unknown-ro4vr 6 หลายเดือนก่อน

      @@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

  • @brunodragas8661
    @brunodragas8661 ปีที่แล้ว +1

    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?

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว

      Make sure to pair your phone with the Bluetooth module and allow "nearby devices" permission from the app settings

  • @Alvaelectronics
    @Alvaelectronics 7 หลายเดือนก่อน +1

    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

  • @JacquesdeBruyn-nl5vu
    @JacquesdeBruyn-nl5vu 8 หลายเดือนก่อน +2

    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?

    • @Enderparth
      @Enderparth 5 หลายเดือนก่อน

      yes

  • @share_dakwah_21
    @share_dakwah_21 7 หลายเดือนก่อน +1

    Kalo on off menggunakan waktu yang kita tentukan dimit app..ada ga videonya?

  • @mellifluousphilosophers3817
    @mellifluousphilosophers3817 7 หลายเดือนก่อน +1

    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

    • @DIYTechRush
      @DIYTechRush  7 หลายเดือนก่อน +1

      Add nearby devices permission from the app permissions

  • @SpringOnion993
    @SpringOnion993 ปีที่แล้ว +1

    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

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      Check out in this video:
      th-cam.com/video/1PoRcb4_wsw/w-d-xo.html

  • @JorgeVega-b9l
    @JorgeVega-b9l 9 หลายเดือนก่อน +1

    Hi, how could this be done to control addressable led?

    • @DIYTechRush
      @DIYTechRush  9 หลายเดือนก่อน +1

      Yeah, It's possible and I am gonna talk about it soon.

  • @jmoses9905
    @jmoses9905 6 หลายเดือนก่อน +1

    great vidio but how do i do it on iphone?

    • @Enderparth
      @Enderparth 5 หลายเดือนก่อน

      Mit app inventor isnt for iphone. they just say that it works but it never works

  • @RavenTech1
    @RavenTech1 ปีที่แล้ว +1

    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

  • @VINInvents
    @VINInvents ปีที่แล้ว +1

    I have a problem, mine does not detect paired devices. List picker is empty

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      Add the "nearby devices" permission from the app settings

  • @J_Creative
    @J_Creative 2 ปีที่แล้ว +2

    Nice bro keep it up

  • @gohyanqing6171
    @gohyanqing6171 ปีที่แล้ว +1

    Hi ,may i know that why arduino nano 33 iot cannot conenct with the mit apps after following your tutorial?

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      th-cam.com/video/F3T0NSiQITM/w-d-xo.html

  • @jakariasbulldozer9086
    @jakariasbulldozer9086 ปีที่แล้ว

    Great tutorial, well explained, please expend its part 2 , with analog read from esp , best of luck

  • @raffazmi_8604
    @raffazmi_8604 8 หลายเดือนก่อน +7

    why my bluetooth list not showing in listpicker , pls help

    • @Bugged_games
      @Bugged_games 8 หลายเดือนก่อน

      Blue tooth premmisne

    • @marcoxp1690
      @marcoxp1690 7 หลายเดือนก่อน

      I don't know why. I have the same problem...

    • @1-NIX
      @1-NIX 7 หลายเดือนก่อน +3

      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.

    • @acceptmycook13s
      @acceptmycook13s 6 หลายเดือนก่อน

      Thank you so much i just fixed mine​@@1-NIX

    • @Casperdroid5
      @Casperdroid5 5 หลายเดือนก่อน

      @@1-NIX you are a hero!

  • @BrunoHenrique-jp8ue
    @BrunoHenrique-jp8ue ปีที่แล้ว +1

    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

  • @debabratabej4573
    @debabratabej4573 ปีที่แล้ว +1

    HC-06 Bluetooth device is paired with my mobile. However, no device is showing in the device list.

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      Maybe you have to add nearby devices' permission to the app from your smartphone

  • @LearningToFly77
    @LearningToFly77 ปีที่แล้ว +1

    How can i automatically connect to a Bluetooth Device?

  • @josemartinezflorez5230
    @josemartinezflorez5230 ปีที่แล้ว +1

    super video mil gracias

  • @slein55
    @slein55 ปีที่แล้ว

    it has to be connectet via cable to the computer, I can't get it to work with external powersupply WHY??

  • @gerrygalman1660
    @gerrygalman1660 ปีที่แล้ว +1

    Hi Sir. Great tutorial. But why is it that the mit app cannot detect my esp32 bluetooth device? Please help. Thank you very much.

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +2

      You may need to add nearby devices permission from the settings of the app.

  • @OrangIsHealthy
    @OrangIsHealthy 8 หลายเดือนก่อน +1

    what about esp8266module?

    • @OrangIsHealthy
      @OrangIsHealthy 8 หลายเดือนก่อน +1

      in neeeeeeed help :/

  • @weerobot
    @weerobot ปีที่แล้ว +1

    Awesome...

  • @dcsalg79
    @dcsalg79 ปีที่แล้ว +1

    With micropython and ESP32?

  • @isaacbwahya6804
    @isaacbwahya6804 7 หลายเดือนก่อน +1

    je bien fait le code mais je n'arrive pas atrouver les elements dans le elementpick1

    • @DIYTechRush
      @DIYTechRush  7 หลายเดือนก่อน +1

      modifier la permission de l'application

  • @GIANGOLONG
    @GIANGOLONG ปีที่แล้ว +1

    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

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      Before you open the app, pair your phone with the esp32.

    • @GIANGOLONG
      @GIANGOLONG ปีที่แล้ว

      @@DIYTechRush how sir, i do not see name of bluetooth from esp to connect

  • @JoseMartinez-hg9zu
    @JoseMartinez-hg9zu ปีที่แล้ว +2

    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...

  • @GIANGOLONG
    @GIANGOLONG ปีที่แล้ว +1

    in Arduino IDE code line 16, if i want to have 2 different variables how can i declare sir

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +1

      You don't need to create another variable c. Just add more conditions like
      if(c== '2').....

  • @circuitideas1981
    @circuitideas1981 ปีที่แล้ว +1

    Sir 4 channel will provide a remote control program and app made video I am waiting.

  • @gurtdereli3499
    @gurtdereli3499 ปีที่แล้ว +1

    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?

    • @DIYTechRush
      @DIYTechRush  ปีที่แล้ว +2

      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

    • @hanhnguyenvan5492
      @hanhnguyenvan5492 ปีที่แล้ว +1

      Me too,do you have any solutions to solve the problem? Can you show me.Thanks a lot

  • @ventv4170
    @ventv4170 2 หลายเดือนก่อน

    hello badly need help! i want to know to make this with light adjustment. pls help me!! i will pay

  • @thulasi1234-tn5xn
    @thulasi1234-tn5xn ปีที่แล้ว +1

    CAN I GET THE CODING?

  • @thekikaz
    @thekikaz ปีที่แล้ว +1

    i think since android 13 the permission changed and you have to add a lot more to scan and pair devices... :(

    • @malhardeadshot6118
      @malhardeadshot6118 ปีที่แล้ว

      yes it does not connect even on android 12, it just pairs thats it, do u have any solution?

  • @HyperZettoN050
    @HyperZettoN050 6 หลายเดือนก่อน +1

    code pls

  • @Hervelee1011
    @Hervelee1011 ปีที่แล้ว +1

    mit can make ios app?

  • @tehseen24
    @tehseen24 หลายเดือนก่อน +1

    Plz share .aia file link

  • @sansanjasthinepaguio384
    @sansanjasthinepaguio384 ปีที่แล้ว +1

    "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

  • @mahendrasharma2619
    @mahendrasharma2619 7 หลายเดือนก่อน +1

    Please provide code

  • @michaelfecke9850
    @michaelfecke9850 ปีที่แล้ว +8

    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.

    • @maddisonwashere10
      @maddisonwashere10 ปีที่แล้ว

      loving you mate, thank you

    • @Hog-n
      @Hog-n ปีที่แล้ว

      Thank you so so much, i was spending about an hour trying to figure out why the Bluetooth wont work. Thank you

  • @TheChhis
    @TheChhis ปีที่แล้ว +1

    List of bluetooth devices is empty. I used Iphone 13 pro max.

  • @zeeshankhan-gw2lv
    @zeeshankhan-gw2lv 11 หลายเดือนก่อน +1

    786 likes waaoo lucy number so I am not going to like but thanks it was very helpful.

  • @Pouri1103
    @Pouri1103 ปีที่แล้ว

    دروس علم ؟🤔😄

  • @aisoft1891
    @aisoft1891 6 หลายเดือนก่อน +2

    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);

    }

  • @Zerophil_
    @Zerophil_ 13 วันที่ผ่านมา +1

    i have paired my phone to the esp32, but its not showing up in list picker

  • @farihaarif2973
    @farihaarif2973 ปีที่แล้ว +1

    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....

    • @farihaarif2973
      @farihaarif2973 ปีที่แล้ว +1

      Add the "nearby devices" permission from the app settings.... this helped me solve the problem