Arduino Bluetooth Motor Controller // Bluetooth Low Energy BLE and MIT App Inventor for Android

Поделиться
HTML-код
  • Опубликовано: 8 авг 2024
  • In this video I use an Arduino with Bluetooth Low Energy BLE and a smart phone app created with MIT App Inventor to control the speed and direction of a gearmotor. The Arduino also reads the motor encoder and send the motor rpm to the Android application. The Arduino version is the Bluno Nano BLE, which is essentially a miniature Arduino Uno with built-in Bluetooth (BLE). In this tutorial, I will explain both the Arduino code and the smart phone application using MIT App Inventor 2.
    I have posted the source code here: sciencefuninnovation.gumroad.com
    The small minimum cost will help my channel grow. Your donations are greatly appreciated!
    Find Science Fun Innovations, LLC on Facebook @sciencefun4u.
    Thanks for watching!
  • НаукаНаука

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

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

    I have spent a couple of weeks trying to get to grips with BLE. There are plenty of examples sending data to the phone but this is the first simple example I have found using MIT app to send BLE messages to the Arduino. Many thanks.

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

      Stay tuned, I am working on a better BLE MIT video. Hopefully it will be out in a month or so.

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

      @@ScienceFunInnovations Excellent. Can you also look into increasing the MTU please? (which may only be possible with WriteBytes instead of WriteString?). I want to be able to save user defined positions for the motor and I have run up against the 23 byte payload limit. Many thanks

  • @JohnDuthie
    @JohnDuthie 2 года назад

    Love that you're not super far ahead of where I'm at and can follow along

    • @JohnDuthie
      @JohnDuthie 2 года назад

      Okay, this video is a lot more involved. I was referencing some of your older videos.

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      Glad they are useful.

  • @filipjahn1832
    @filipjahn1832 2 года назад

    I have been looking for such video all night long!
    Thank you for sharing knowledge!!

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад +1

      Glad it was helpful! I hope to make more videos like this one soon.

  • @josepalacid
    @josepalacid 2 года назад

    It's the first time I landed on one of your videos. I've just liked and subscribed. The only advice, you should open your code to the maker community as long as you don't keep a hidden agenda for your channel.
    Please take it just as a very humble opinion.

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      Thanks for the tip! I think I found a site where I can start posting my code.

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад

      I have posted the source code here: sciencefuninnovation.gumroad.com/l/rklfr The small fee will help my channel grow.

  • @olinuxx
    @olinuxx 2 года назад

    Very informative video, thanks for sharing knowledge!

  • @markhoferitza7663
    @markhoferitza7663 11 месяцев назад

    Also, if you have two or screens, you need to put the BLE extension on those pages too.

  • @Venak_Soliq
    @Venak_Soliq 2 года назад

    Cool vid man, keep it up

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

    Hii .. i am using hm10 modules for my product . My question is : will the service uuid and characterstic uuid same for all hm10 modules or is it different from one hm10 module to another hm10 module

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

      Since that last video, I have learned more about SSID and UUID. I hope to put out a better video in the next month that will explain it better.

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

    Does anyone know how to find out the UUID characteristics and server of my device? I have an M5Stack Core 2, I thought I had found it but I don't think so, because Write doesn't work, if I try in a ble scanner app any one works, but not in the mit app inventor..

  • @paolodecaro3741
    @paolodecaro3741 2 года назад

    Good evening, kindly could you post the photo of the hardware assembly and the appinventor and arduino code. From the video I can't see as well as you suggest. Thank you . a greeting from Italy

  • @divers_gens943
    @divers_gens943 2 года назад

    Great vidéo love it im starting up on a project this is all New to me* im working on a project for vidéo équipement. I want to make a slider with whell and i want to make it go slow or fast but also make it move one rotation stop for 30 seconde or mor and go again for a set duration.

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад +1

      Use the interrupt pin and the encoder output to keep track of motor rotation. That way you can make it turn exactly 1 turn and stop.

  • @Seabass_E
    @Seabass_E 2 года назад

    Use "select item from list" when getting your input value from the Arduino. List item will be 1

  • @mariamoraru3431
    @mariamoraru3431 2 года назад

    Hi! Great video! Can you share the Arduino IDE and MIT App Inventor code?

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад +1

      Send me an email and I will see what I can do.

    • @abigailrosillon5754
      @abigailrosillon5754 2 года назад

      please me too. I'm having such a hard time making our project that is kinda related to this.

    • @ScienceFunInnovations
      @ScienceFunInnovations  2 года назад +1

      I have posted the source code here: sciencefuninnovation.gumroad.com/l/rklfr The small fee will help my channel grow.