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! - Наука
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.
Stay tuned, I am working on a better BLE MIT video. Hopefully it will be out in a month or so.
@@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
Love that you're not super far ahead of where I'm at and can follow along
Okay, this video is a lot more involved. I was referencing some of your older videos.
Glad they are useful.
I have been looking for such video all night long!
Thank you for sharing knowledge!!
Glad it was helpful! I hope to make more videos like this one soon.
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.
Thanks for the tip! I think I found a site where I can start posting my code.
I have posted the source code here: sciencefuninnovation.gumroad.com/l/rklfr The small fee will help my channel grow.
Very informative video, thanks for sharing knowledge!
Glad it was helpful!
Also, if you have two or screens, you need to put the BLE extension on those pages too.
Only if both pages need BLE communication.
Cool vid man, keep it up
I will
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
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.
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..
I do not know. Sorry.
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
sciencefuninnovation.gumroad.com/
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.
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.
Use "select item from list" when getting your input value from the Arduino. List item will be 1
Thanks!
Hi! Great video! Can you share the Arduino IDE and MIT App Inventor code?
Send me an email and I will see what I can do.
please me too. I'm having such a hard time making our project that is kinda related to this.
I have posted the source code here: sciencefuninnovation.gumroad.com/l/rklfr The small fee will help my channel grow.