Це відео не доступне.
Перепрошуємо.

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

Поділитися
Вставка
  • Опубліковано 30 бер 2020
  • 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.anyonecanb...
    Dabble Library:
    github.com/STE...
    HM-10:
    ACBR Rover Robotics Kit:
    www.anyonecanb...

КОМЕНТАРІ • 59

  • @aymannabil3044
    @aymannabil3044 2 роки тому

    Finally an application that can connect to hm module

  • @ssdh601
    @ssdh601 Рік тому +2

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

    •  5 місяців тому

      have errors in the code. One In (easy to fix is LN) another ";"

  • @irvinriverabadillo8808
    @irvinriverabadillo8808 Місяць тому

    Why am I not getting connection with the HC-05?

  • @ElPolloPolloPollo
    @ElPolloPolloPollo 10 місяців тому

    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!

  • @scottcole1423
    @scottcole1423 3 роки тому +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.

  • @vinayjosepha1164
    @vinayjosepha1164 3 роки тому +1

    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

  • @snouzz-gaming
    @snouzz-gaming 2 роки тому

    nice but i need help, becouse it didnt even blin an led , i do something wrong... can you show the code for it? thx!

  • @harshverma7930
    @harshverma7930 4 роки тому +2

    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 4 роки тому +1

      I've got the same problem. Googling says that these modules can be used with special apps only. :((

    • @harshverma7930
      @harshverma7930 4 роки тому +1

      @@zhuk462 yes bro we have to use special app which you can find on playstore

    • @yuvrajkukreja9727
      @yuvrajkukreja9727 3 роки тому +1

      Same problem :(

    • @a_ditto5722
      @a_ditto5722 2 роки тому +1

      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.

  • @pw3111
    @pw3111 2 роки тому

    Your website shows you connecting a HC-05 straight to the Arduino pins. I thought the RX TX were only 3.3v tolerant? On UA-cam you are showing a HC-10 where the RX TX are 5v tolerant.

  • @dionisia8315
    @dionisia8315 2 роки тому

    Everything works fine until Monitoring..All I get is "Stopped". Checked wiring,it's good. Any ideas?

  • @jlgibson79
    @jlgibson79 2 роки тому

    If we dont want to use an app can we just pair with a BLE sending sensor?

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

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

  • @FPChris
    @FPChris 3 роки тому +1

    5:28 no resistors to divide the voltage on the RX?

    • @FPChris
      @FPChris 3 роки тому +1

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

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

  • @javster619
    @javster619 3 роки тому +1

    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!

  • @jumpingPeter
    @jumpingPeter 2 роки тому

    awesome tutorial mate

  • @amardeepbanga9383
    @amardeepbanga9383 3 роки тому

    why do you set the BAUD_RATE to 250000 instead of 9600?

  • @Skys2005
    @Skys2005 3 роки тому

    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?

  • @jappie-fpv1809
    @jappie-fpv1809 3 роки тому

    dable is not available anymore on apple do you have a other app that works the same way?

  • @Itsmellsfishy
    @Itsmellsfishy 2 роки тому

    Thanks so much for this man!

  • @Michael-zn4oq
    @Michael-zn4oq 4 роки тому

    Great tutorial, thanks man 👍

  • @TheC130navigator
    @TheC130navigator 2 роки тому

    What if bt05 isn’t there. Mine says dsd tech

  • @ruinrauf1455
    @ruinrauf1455 3 роки тому

    Thanks!!! Great tutorial!

  • @garymelander
    @garymelander 3 роки тому

    Does anyone know how to pair a PS4 controller to the Arduino friendly HM--10 BLE module/? Share+Logo doesnt work

  • @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 роки тому +1

    Hi. The HM-10 pin's are D2 and D3, but enR same D3. I am confused.

  • @edgarwideman737
    @edgarwideman737 4 роки тому +1

    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

  • @mdmasidulhasan27
    @mdmasidulhasan27 3 роки тому

    Thanks a lot

  • @jameslamont6640
    @jameslamont6640 4 роки тому

    awesome thanks

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

  • @jappiemoto
    @jappiemoto 3 роки тому

    I can’t connect to it i have iphone

  • @chrisrichards2638
    @chrisrichards2638 2 роки тому

    Is their a code?

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

  • @yuvrajkukreja9727
    @yuvrajkukreja9727 3 роки тому +1

    Apk link????

  • @himacri9334
    @himacri9334 3 роки тому +1

    25 dollar shipping is this coming from the moon?

  • @xxThat90sGuyxx
    @xxThat90sGuyxx 2 роки тому

    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 4 роки тому +1

    Please! edit out those awful swallowing sounds! or have the mic farther away from your neck it's terrrrriible! Otherwise, great video!

    • @edgarwideman737
      @edgarwideman737 4 роки тому

      @@AnyoneCanBuildRobots LOL, I meant it in a humorous way! Great video! Also I got my problem fixed! See comment edit.