Getting started with the HM-10: Easy Arduino Bluetooth integration for iOS and Android!

  Переглядів 42,196

Anyone Can Build Robots!

Anyone Can Build Robots!

4 роки тому

Back in the day, before BLE 4.0, finding a Bluetooth solution to control your Arduino projects that was..
1. Free
2. Available for iOS and Android
3. Feature Rich
4. Stable with 20+ robots running around
was tricky to find! That is, until recently. Thanks to recent updates in BLE hardware, and smartphone based software, getting started using Bluetooth for your Arduino projects has never been easier. In this video I'll walk you through all of the steps you'll need to take to get you started controlling your Arduino projects with Bluetooth using the app "dabble", then we'll look at how to take our Bluetooth data and put it to work by programming the ACBR Rover robot with the dabble Gamepad module.
Full Tutorial with Example code:
www.anyonecanbuildrobots.com/...
Dabble Library:
github.com/STEMpedia/Dabble
HM-10:
ACBR Rover Robotics Kit:
www.anyonecanbuildrobots.com/...

КОМЕНТАРІ: 58
@Michael-zn4oq
@Michael-zn4oq 4 роки тому
Great tutorial, thanks man 👍
@Itsmellsfishy
@Itsmellsfishy 2 роки тому
Thanks so much for this man!
@ruinrauf1455
@ruinrauf1455 3 роки тому
Thanks!!! Great tutorial!
@jumpingPeter
@jumpingPeter Рік тому
awesome tutorial mate
@jimbo6890
@jimbo6890 3 роки тому
hi, great video! you are using the phone to control the rover. can you do it the other way round, meaning using say a button/sensor on the arduino side to control the phone instead, like taking a photo by triggering the phone camera.
@aymannabil3044
@aymannabil3044 2 роки тому
Finally an application that can connect to hm module
@ElPolloPolloPollo
@ElPolloPolloPollo 6 місяців тому
Thanks for this video! stopped keeps printing from the else statement, but the the serial monitor printing "forward" doesn't happen when I press the forward button on the graphical controller. The Arduino Uno and Dabble are connected with an hm-10 bluetooth module. Could you point me in the right direction to troubleshoot this? Thanks!
@Skys2005
@Skys2005 2 роки тому
Hey man! I want to make car with one back motor and front stering with servo. Can i make the "analog" stering for this vehicle with this app and bt module?
@harshitparoha6650
@harshitparoha6650 3 роки тому
Hey first of all great video, I AM USING ARDUINO MEGA, it was only showing stopped in the serial monitor in every command(or cammands are not being getted by arduino) what can I do, please help me
@elihaugh4162
@elihaugh4162 3 роки тому
Great video! I have done this same thing but when I press the buttons on the dabble app(on iPhone) it doesn’t print it out on the serial monitor. The baud rate is 250000. Can someone help me please??
@jlgibson79
@jlgibson79 2 роки тому
If we dont want to use an app can we just pair with a BLE sending sensor?
@jameslamont6640
@jameslamont6640 3 роки тому
awesome thanks
@mdmasidulhasan27
@mdmasidulhasan27 2 роки тому
Thanks a lot
@vinayjosepha1164
@vinayjosepha1164 3 роки тому
Does hm10 support audio
@chrisrichards2638
@chrisrichards2638 2 роки тому
How to controll an eletric scooter with the bluetooth which app because dabble connects but doesnt have jolt scooter or any scooter
@jappie-fpv1809
@jappie-fpv1809 3 роки тому
dable is not available anymore on apple do you have a other app that works the same way?
@anilsonlino7036
@anilsonlino7036 2 роки тому
Heey. i tried to update my cc41 and it didnt come out of a wait screen. it was showing up on the scanners but now it doesn't show up but the led blinks. What do I do? I can't find you with any app
@garymelander
@garymelander 3 роки тому
Does anyone know how to pair a PS4 controller to the Arduino friendly HM--10 BLE module/? Share+Logo doesnt work
@pw3111
@pw3111 Рік тому
Your website shows you connecting a HC-05 straight to the Arduino pins. I thought the RX TX were only 3.3v tolerant? On UKposts you are showing a HC-10 where the RX TX are 5v tolerant.
@amardeepbanga9383
@amardeepbanga9383 3 роки тому
why do you set the BAUD_RATE to 250000 instead of 9600?
@scottcole1423
@scottcole1423 3 роки тому
Where in your code do you make the digital pins assigned to TX and RX?
@floridaman964
@floridaman964 Рік тому
The full code is on his website, in the description.
@snouzz-gaming917
@snouzz-gaming917 Рік тому
nice but i need help, becouse it didnt even blin an led , i do something wrong... can you show the code for it? thx!
@TheC130navigator
@TheC130navigator Рік тому
What if bt05 isn’t there. Mine says dsd tech
@horamflyers3839
@horamflyers3839 3 роки тому
Hi. Thanks for the tutorial. I have a problem with the Dabble app. The LED brightness program and the Terminal program work perfectly but opening the gamepad I just get a blank pad,(no buttons). I am using an iPhone6 with iOS14 software. Anyone else having this problem?
@pedrobenevenutovaladares9734
@pedrobenevenutovaladares9734 2 роки тому
I have the exact same problem
@FPChris
@FPChris 3 роки тому
5:28 no resistors to divide the voltage on the RX?
@FPChris
@FPChris 3 роки тому
@@AnyoneCanBuildRobotsok thx. Only because the specs for my HM-10 says to do it. I have seen it done elsewhere. I figured I’d ask.
@dionisia8315
@dionisia8315 Рік тому
Everything works fine until Monitoring..All I get is "Stopped". Checked wiring,it's good. Any ideas?
@harshverma7930
@harshverma7930 3 роки тому
Hey bro, My Bluetooth HM-10 module not going to pairing mode. So, that am able to pair it directly to mobile phone. It in AT Mode So, How can I put it to Pairing Mode. IF WE USE ANY APP FOR PAIRING THAN IT PAIR EASILY BUT. I WANT TO PAIR IT DIRECTLY WITH THE MOBILE BLUETOOTH. PLEASE HELP ME TO CURE THESE PROBLEM.
@zhuk462
@zhuk462 3 роки тому
I've got the same problem. Googling says that these modules can be used with special apps only. :((
@harshverma7930
@harshverma7930 3 роки тому
@@zhuk462 yes bro we have to use special app which you can find on playstore
@yuvrajkukreja9727
@yuvrajkukreja9727 3 роки тому
Same problem :(
@a_ditto5722
@a_ditto5722 2 роки тому
These modules are a bluetooth LE (low energy) modules. Most phones don't support it directly but instead support software (such as apps) that allow it to connect. So yeh, you need an app.
@javster619
@javster619 3 роки тому
I followed all the steps but when I open the serial monitor I see stopped but cannot get forward, backwards, left or right? you did not say what to do if that is not working on your tutorial.
@elihaugh4162
@elihaugh4162 3 роки тому
Same, I have the same problem. I’ll press on the up, down, left, and right button on the dabble app but it won’t print UP, DOWN, LEFT, or RIGHT on the serial monitor and I don’t know what the problem is. Does anyone have an answer? Thanks!
@harshitparoha6650
@harshitparoha6650 3 роки тому
Am also getting only stopped message in monitor, I an using mega 2560 please help me
@Fabio-el3he
@Fabio-el3he 3 роки тому
well i have the same problem. Could u pls send me the solution asap? Thanks!
@chrisrichards2638
@chrisrichards2638 2 роки тому
Is their a code?
@yuvrajkukreja9727
@yuvrajkukreja9727 3 роки тому
Apk link????
@mehrdadfarimani1832
@mehrdadfarimani1832 2 роки тому
I realized a serious issue with HM-10. while it is connected, IDE gives a port error code. it is because TX and RX are busy. I have no idea how to solve it.
@michaelcoulter1369
@michaelcoulter1369 Рік тому
Probably because you have the hm 10 connected to pins 0 and 1 on your arduino, which are used by your PCs COM ports to program the arduino. Just use 2 different arduino pins for the hm 10.
@minibitsrobotica-stemlab6649
@minibitsrobotica-stemlab6649 3 роки тому
Hi. The HM-10 pin's are D2 and D3, but enR same D3. I am confused.
@jappiemoto
@jappiemoto 3 роки тому
I can’t connect to it i have iphone
@edgarwideman737
@edgarwideman737 3 роки тому
I have tried the HC-05 and now the HM-10, I can sent data to it from android no problem. But I can't receive data, and that's what my project is all about so I am stuck! EDIT: Problem solved. Do not use an Arduino clone with Chip removed as a USB to Serial converter to talk to the HC-05, the serial data is not pulled all the way to the ground and for some reason, the data isn't picked up by the HC-05, Use a converter made for the job such as the FTDI232 and your good!
@felixmolina7353
@felixmolina7353 3 роки тому
can you please help me im new to this how would you use the FTDI232 on a clone
@edgarwideman737
@edgarwideman737 3 роки тому
@@felixmolina7353 if you use an FTDI232 your good.
@felixmolina7353
@felixmolina7353 3 роки тому
@@edgarwideman737 can you link one
@R4mbo87
@R4mbo87 2 роки тому
I started to hate BLE xD I know, its actually easy to use DABBLE, but I wanted to create an own app with unity to controll the arduino, using XBOX Gamepads etc... and that where the problems start. Cant use BLE on Windows so developing gets hard and annoying.
@himacri9334
@himacri9334 3 роки тому
25 dollar shipping is this coming from the moon?
@xxThat90sGuyxx
@xxThat90sGuyxx Рік тому
If you have an Arduino and literally showed it to us, why didn't you just use it for this project? Makes the title *extra* misleading.
@edgarwideman737
@edgarwideman737 3 роки тому
Please! edit out those awful swallowing sounds! or have the mic farther away from your neck it's terrrrriible! Otherwise, great video!
@edgarwideman737
@edgarwideman737 3 роки тому
@@AnyoneCanBuildRobots LOL, I meant it in a humorous way! Great video! Also I got my problem fixed! See comment edit.
@ssdh601
@ssdh601 8 місяців тому
the code: #define CUSTOM_SETTINGS #define INCLUDE_GAMEPAD_MODULE #include int enR = 3; int inAR = 4; int inBR = 5; int enL = 10; int inAL = 11; int inBL = 12; void setup() { pinMode(enR, OUTPUT); pinMode(inAR, OUTPUT); pinMode(inBR, OUTPUT); pinMode(enL, OUTPUT); pinMode(inAL, OUTPUT); pinMode(inBL, OUTPUT); Serial.begin(250000); Dabble.begin(9600); } void loop() { Dabble.processInput(); if (GamePad.isUpPressed()) { Serial.printIn("Forward"); analogWrite(enR, 255); digitalWrite(inAR, LOW) digitalWrite(inBR, HIGH) analogWrite(enL, 255); digitalWrite(inAL, LOW) digitalWrite(inBL, HIGH) } else if (GamePad.isDownPressed()) { Serial.printIn("Backward"); analogWrite(enR, 255); digitalWrite(inAR, HIGH) digitalWrite(inBR, LOW) analogWrite(enL, 255); digitalWrite(inAL, HIGH) digitalWrite(inBL, LOW) } else if (GamePad.isLeftPressed()) { Serial.printIn("Left"); analogWrite(enR, 255); digitalWrite(inAR, LOW) digitalWrite(inBR, HIGH) analogWrite(enL, 255); digitalWrite(inAL, HIGH) digitalWrite(inBL, LOW) } else if (GamePad.isRightPressed()) { Serial.printIn("Right"); analogWrite(enR, 255); digitalWrite(inAR, HIGH) digitalWrite(inBR, LOW) analogWrite(enL, 255); digitalWrite(inAL, LOW) digitalWrite(inBL, HIGH) } else { Serial.printIn("Stopped"); analogWrite(enR, 0); digitalWrite(inAR, LOW) digitalWrite(inBR, LOW) analogWrite(enL, 0); digitalWrite(inAL, LOW) digitalWrite(inBL, LOW) } }
@AlbertoDiazCuevas
@AlbertoDiazCuevas 2 місяці тому
have errors in the code. One In (easy to fix is LN) another ";"
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Переглядів 1,5 млн
Їжа Закарпаття. Великий Гід.
1:00:29
Мiша Кацурiн
Переглядів 652 тис.
Підставка для яєць
00:37
Afinka
Переглядів 117 тис.
HC-05 Bluetooth Module with Arduino-MIT App Inventor
27:57
BINARYUPDATES
Переглядів 940 тис.
Bluetooth module HM-10 and Arduino. Full control
15:34
Home Made
Переглядів 53 тис.
HM-10 BLE Android App using HM10 & AI2 only.  NO ARDUINO
12:34
Tom Donnelly
Переглядів 27 тис.
From Brains to Bot: Arduino's Next-Level Journey with AI.
7:26
DIY Builder
Переглядів 292 тис.
Master BLE Basics in Just 10 Minutes: The Ultimate Guide!
9:15
Novel Bits
Переглядів 86 тис.
I shouldn’t have kept the $1,000,000 computer
28:05
Linus Tech Tips
Переглядів 557 тис.
ESP32 Step Tracker Tutorial React Native & Bluetooth
38:17
Taylor Galbraith
Переглядів 10 тис.
inventor aw - This Device is very helpful ,, you can make at home
6:47
Microcontrollers for iOS Developers: Part 3 - CoreBluetooth - BLE
2:54:06
HOW TO: Flash the HM-10 firmware on to CC41-A / CC2541 - Bluetooth 4.0
5:50
СМАРТФОНЫ HTC ВЕРНУЛИСЬ В 2024! Шок для Apple, Samsung и Xiaomi...
11:51
Thebox - о технике и гаджетах
Переглядів 30 тис.
Первые продажи Ryzen на Ozon и первый возврат! 😱
13:17
Герасимов Live
Переглядів 31 тис.