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.

Комментарии • 113

  • @edsonkumenya5626
    @edsonkumenya5626 Год назад +6

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

  • @Enderparth
    @Enderparth Месяц назад +1

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

  • @patriciavidal1109
    @patriciavidal1109 6 месяцев назад +2

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

  • @ArtKrenzer
    @ArtKrenzer Год назад +4

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

  • @j.anishkumar8321
    @j.anishkumar8321 7 месяцев назад +6

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

  • @EnjoyMechatronics
    @EnjoyMechatronics  Год назад +7

    ● MIT App Inventor: appinventor.mit.edu/
    ● ESP32 Bluetooth: ruclips.net/video/EWxM8Ixnrqo/видео.html

  • @farzyyyy8269
    @farzyyyy8269 8 дней назад +1

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

  • @circuitideas1981
    @circuitideas1981 Год назад +1

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

  • @diego.alienigena
    @diego.alienigena Год назад +1

    great video. It works! 😀 Thanks!

  • @mellifluousphilosophers3817
    @mellifluousphilosophers3817 3 месяца назад +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

    • @EnjoyMechatronics
      @EnjoyMechatronics  3 месяца назад +1

      Add nearby devices permission from the app permissions

  • @zeeshankhan-gw2lv
    @zeeshankhan-gw2lv 7 месяцев назад +1

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

  • @aisoft1891
    @aisoft1891 2 месяца назад +1

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

    }

  • @raffazmi_8604
    @raffazmi_8604 4 месяца назад +6

    why my bluetooth list not showing in listpicker , pls help

    • @Bugged_games
      @Bugged_games 4 месяца назад

      Blue tooth premmisne

    • @marcoxp1690
      @marcoxp1690 3 месяца назад

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

    • @1-NIX
      @1-NIX 3 месяца назад +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 2 месяца назад

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

    • @Casperdroid5
      @Casperdroid5 Месяц назад

      @@1-NIX you are a hero!

  • @Agrarforst
    @Agrarforst 8 месяцев назад +2

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

  • @bachger4289
    @bachger4289 8 месяцев назад +3

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

    • @JavyVC
      @JavyVC 3 месяца назад

      did you discoverd why?

    • @unknown-ro4vr
      @unknown-ro4vr 2 месяца назад

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

  • @edsonkumenya5626
    @edsonkumenya5626 Год назад +3

    How to install bluetooth library. Please help...

  • @Ivan-Ko
    @Ivan-Ko 6 месяцев назад +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 5 месяцев назад

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

    • @MassimilianoBellugoogle
      @MassimilianoBellugoogle 2 месяца назад

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

  • @LearningToFly77
    @LearningToFly77 9 месяцев назад +1

    How can i automatically connect to a Bluetooth Device?

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

  • @share_dakwah_21
    @share_dakwah_21 3 месяца назад +1

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

  • @mahendrasharma2619
    @mahendrasharma2619 2 месяца назад +1

    Please provide code

  • @VINInvents
    @VINInvents 10 месяцев назад +1

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

    • @EnjoyMechatronics
      @EnjoyMechatronics  10 месяцев назад +1

      Add the "nearby devices" permission from the app settings

  • @HyperZettoN050
    @HyperZettoN050 2 месяца назад +1

    code pls

  • @Alvaelectronics
    @Alvaelectronics 3 месяца назад +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

  • @brunodragas8661
    @brunodragas8661 9 месяцев назад +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?

    • @EnjoyMechatronics
      @EnjoyMechatronics  9 месяцев назад

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

  • @dcsalg79
    @dcsalg79 Год назад +1

    With micropython and ESP32?

  • @sansanjasthinepaguio384
    @sansanjasthinepaguio384 10 месяцев назад +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

  • @gohyanqing6171
    @gohyanqing6171 10 месяцев назад +1

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

    • @EnjoyMechatronics
      @EnjoyMechatronics  10 месяцев назад +1

      ruclips.net/video/F3T0NSiQITM/видео.html

  • @RavenTech1
    @RavenTech1 8 месяцев назад +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

  • @aohmix
    @aohmix 8 месяцев назад +2

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

    • @evanhewitt6847
      @evanhewitt6847 8 месяцев назад +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 8 месяцев назад

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

  • @FrancoisSchnell
    @FrancoisSchnell Год назад +5

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

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

  • @OrangIsHealthy
    @OrangIsHealthy 4 месяца назад +1

    what about esp8266module?

  • @isaacbwahya6804
    @isaacbwahya6804 3 месяца назад +1

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

  • @circuitideas1981
    @circuitideas1981 Год назад +1

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

  • @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 10 месяцев назад

      loving you mate, thank you

    • @Hog-n
      @Hog-n 9 месяцев назад

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

  • @irzfanfarizan3001
    @irzfanfarizan3001 10 месяцев назад +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.

  • @jmoses9905
    @jmoses9905 2 месяца назад +1

    great vidio but how do i do it on iphone?

    • @Enderparth
      @Enderparth Месяц назад

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

  • @JacquesdeBruyn-nl5vu
    @JacquesdeBruyn-nl5vu 4 месяца назад +1

    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?

  • @farihaarif2973
    @farihaarif2973 8 месяцев назад +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 8 месяцев назад +1

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

  • @linuxrobotgeek
    @linuxrobotgeek Год назад +1

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

  • @debabratabej4573
    @debabratabej4573 Год назад +1

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

    • @EnjoyMechatronics
      @EnjoyMechatronics  Год назад +1

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

  • @thulasi1234-tn5xn
    @thulasi1234-tn5xn 10 месяцев назад +1

    CAN I GET THE CODING?

  • @TheChhis
    @TheChhis 11 месяцев назад +1

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

  • @Hervelee1011
    @Hervelee1011 Год назад +1

    mit can make ios app?

  • @RyouscxreD
    @RyouscxreD 10 месяцев назад +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

    • @EnjoyMechatronics
      @EnjoyMechatronics  10 месяцев назад +1

      Check out in this video:
      ruclips.net/video/1PoRcb4_wsw/видео.html

  • @jesus_malik
    @jesus_malik Год назад +2

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

  • @JorgeVega-b9l
    @JorgeVega-b9l 5 месяцев назад +1

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

    • @EnjoyMechatronics
      @EnjoyMechatronics  5 месяцев назад +1

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

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

    • @EnjoyMechatronics
      @EnjoyMechatronics  Год назад +2

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

  • @username_6948
    @username_6948 Год назад +2

    thanks! watched all of your videos.

  • @slein55
    @slein55 10 месяцев назад

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

  • @gerrygalman1660
    @gerrygalman1660 Год назад +1

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

  • @hambaallahygpenyayang5802
    @hambaallahygpenyayang5802 Год назад +1

    Thankful master wish you luck

  • @GIANGOLONG
    @GIANGOLONG Год назад +1

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

    • @EnjoyMechatronics
      @EnjoyMechatronics  Год назад +1

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

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

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

    • @EnjoyMechatronics
      @EnjoyMechatronics  Год назад +2

      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

    • @hanhnguyenvan5492
      @hanhnguyenvan5492 Год назад +1

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

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

    • @EnjoyMechatronics
      @EnjoyMechatronics  Год назад +1

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

    • @GIANGOLONG
      @GIANGOLONG Год назад

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

  • @J_Creative
    @J_Creative Год назад +2

    Nice bro keep it up

  • @thomasleftwite
    @thomasleftwite 8 месяцев назад +1

    Very simple and effective instruction! Thank you.

  • @josemartinezflorez5230
    @josemartinezflorez5230 Год назад +1

    super video mil gracias

  • @weerobot
    @weerobot 10 месяцев назад +1

    Awesome...

  • @jakariasbulldozer9086
    @jakariasbulldozer9086 Год назад

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

  • @dbmetters
    @dbmetters Год назад +1

    Perfect - Thank you so much!!!

  • @在水裡奔跑的蜻蜓
    @在水裡奔跑的蜻蜓 Год назад

    you help me a lot and i thank you from the bottom of my heart

  • @Pouri1103
    @Pouri1103 7 месяцев назад

    دروس علم ؟🤔😄