Тёмный

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

Science Fun
Подписаться 6 тыс.
Просмотров 12 тыс.
50% 1

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!

Наука

Опубликовано:

 

27 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@filipjahn1832
@filipjahn1832 2 года назад
I have been looking for such video all night long! Thank you for sharing knowledge!!
@ScienceFunInnovations
@ScienceFunInnovations 2 года назад
Glad it was helpful! I hope to make more videos like this one soon.
@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 Год назад
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.
@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!
@ScienceFunInnovations
@ScienceFunInnovations 2 года назад
Glad it was helpful!
@Venak_Soliq
@Venak_Soliq 2 года назад
Cool vid man, keep it up
@ScienceFunInnovations
@ScienceFunInnovations 2 года назад
I will
@markhoferitza7663
@markhoferitza7663 11 месяцев назад
Also, if you have two or screens, you need to put the BLE extension on those pages too.
@ScienceFunInnovations
@ScienceFunInnovations 11 месяцев назад
Only if both pages need BLE communication.
@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 года назад
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.
@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 Год назад
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 2 месяца назад
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..
@ScienceFunInnovations
@ScienceFunInnovations 2 месяца назад
I do not know. Sorry.
@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
@ScienceFunInnovations
@ScienceFunInnovations Год назад
sciencefuninnovation.gumroad.com/
@Seabass_E
@Seabass_E 2 года назад
Use "select item from list" when getting your input value from the Arduino. List item will be 1
@ScienceFunInnovations
@ScienceFunInnovations 2 года назад
Thanks!
@mariamoraru3431
@mariamoraru3431 2 года назад
Hi! Great video! Can you share the Arduino IDE and MIT App Inventor code?
@ScienceFunInnovations
@ScienceFunInnovations 2 года назад
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 года назад
I have posted the source code here: sciencefuninnovation.gumroad.com/l/rklfr The small fee will help my channel grow.
Далее
HYDRAULIC PRESS VS ARMOR, USA AND RUSSIA
10:16
Просмотров 102 тыс.
Here is the proof that AMD hates you
15:36
Просмотров 29 тыс.
БАТЯ И ТЁЩА😂#shorts
00:58
Просмотров 2,6 млн
🎙СТРИМ на 4 МИЛЛИОНА🍋
3:12:45
Просмотров 1,3 млн
HC-05 Bluetooth Module with Arduino-MIT App Inventor
27:57
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Просмотров 2 млн
Копия iPhone с WildBerries
1:00
Просмотров 7 млн
ЗАБЫТЫЙ IPHONE 😳
0:31
Просмотров 18 тыс.