Bluetooth Tutorial - Sending/Receiving Data with Bluetooth (Part 1/4)

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 104

  • @majazeng6034
    @majazeng6034 7 років тому +5

    Would this work with receiving data from raspberry pi 2?
    what are the changes

    • @majazeng6034
      @majazeng6034 7 років тому

      how can I get uuid of raspberry pi?

    • @w0ty
      @w0ty 7 років тому

      For anyone wondering Mitch is referring to the replies to the comment from Kaushal Manna talking about the Arduino that starts
      "Beautiful
      I was making an app for Android Arduino"

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

      @@w0ty I don't get it

  • @MannaSince1994
    @MannaSince1994 7 років тому +6

    Beautiful
    I was making an app for Android Arduino Communication using HC-05, and even after successfully establishing the connection, I was not able to transfer data. I searched almost every page and looked for every video in UA-cam (which were nothing but holy CRAP).
    But after going through this tutorial, it worked. The communication was successful and quite feasible.
    Thanks . :)

    • @MannaSince1994
      @MannaSince1994 7 років тому +1

      "little information" man, you have no idea what I went through, it took me around 1 month to completely make the hardware and setup the app. Thanks to your tutorial, though the UUID that you mentioned didn't work, I took it from some other tutorial.
      Now see, that's the thing, complete information is not given in any one page/document. I had to go around hundreds of sites/tutorials/docs to make this app working and the final piece I got from you.
      Still I've some bugs now.

    • @MannaSince1994
      @MannaSince1994 7 років тому

      Yeah, indeed it's a real life.
      Hey, may be I can help coz m also working on Arduino using HC-05 module.
      By the way I used this UUID
      UUID MY_UUID = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
      I got this from another tutorial.

    • @MannaSince1994
      @MannaSince1994 7 років тому

      Can you explain a bit more "How to query the device to list all it's UUID's" ?

    • @MannaSince1994
      @MannaSince1994 7 років тому

      Thanks man

    • @simransarin7032
      @simransarin7032 7 років тому

      hey, m trying to do the same thing. can u please share the code?

  • @milesstephenson4873
    @milesstephenson4873 7 років тому

    Really useful stuff here, Mitch. Thanks for taking the time to put all of these tutorials together. You've saved me a lot of time!

  • @katsuoofficial8465
    @katsuoofficial8465 3 роки тому +2

    Is it posible to make Bluetooth attendance system? Once I connect to bluetooth it will automatically check my attendance? Any suggestion? Thank you 🙏🙏🙏

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

    Hey can u please tell do we need to implement both server side and client side code to receive data from sensor

  • @ahmedimam6496
    @ahmedimam6496 7 років тому +3

    can we send files, images and videos using the same codes ?

  • @SriRam-bj6gc
    @SriRam-bj6gc 7 років тому +1

    Hi Mitch,Whenever I press start connection or discover the app unfortunately stops.Please help.

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

    question mitch ? why i cannot connect my DSD TECH HC-05 on this bluetooth chat ? chat with 2 phones work for me but when i try to connect to hc05 I do not have success ? problem of ID ?

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

    great, good job mitch.

  • @papiseko5465
    @papiseko5465 7 років тому

    Error:Execution failed for task ':app:processDebugManifest'.
    > Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:appcompat-v7:26.0.0-alpha1] AndroidManifest.xml:27:9-38
    is also present at [com.android.support:cardview-v7:25.3.1] AndroidManifest.xml:24:9-31 value=(25.3.1).
    Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:25:5-27:41 to override.

  • @gadmax4530
    @gadmax4530 7 років тому +2

    Thank you Sir, i'm working on a small app and this tutorial was very helpful ,thank you again ^^

  • @michaelpomerleau
    @michaelpomerleau 8 років тому

    I was waiting for this... Thanks :)

  • @DyllenNellis
    @DyllenNellis 7 років тому +1

    How would I do this with a gps? I want to send GPS data over bluetooth.

  • @reginamanzanaresbalderas2650
    @reginamanzanaresbalderas2650 7 років тому +4

    Does this work for Bluetooth Low Energy devices?

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

      It should, considering BLE devices behave the same as bluetooth devices, except for the scan part.

  • @Sahil.Sejpal
    @Sahil.Sejpal 3 роки тому

    Hi, I am trying to connect 2 client devices to the server but only last device is connected to the server and it overwrites the previous device.
    Can you please help me by giving some tips or small code how to connect multiple device in android using Bluetooth.
    Thanks in advance.

  • @Resubliminator
    @Resubliminator 5 років тому +1

    Hello, i really like your Videos and i would like to ask for Help, i would create a Bluetooth App who send Hex data by clicking a Button to a Ti Robot kit. But i dont know how to send it. I do the Tutorial from Video 1 to 4. (Pair) after that i dont know anymore. I am a noob at programming =D

  • @MyTube1405Fr
    @MyTube1405Fr 7 років тому

    Hi ! How can I find a way to make BluetoothConnectionService implement Parcelable? Because I want to use my object BluetoothConnectionService from my MainAcitivty to another Acitivity ! Thanks for you help and thanks you for all your tutorial. It helped me a lot !

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

    How do I change the BaudRate?

  • @soucravn
    @soucravn 7 років тому

    would this work if I were to use it with a HM-10 module configured as a beacon? to send data to any passerbys?

  • @TorinAst
    @TorinAst 6 років тому

    Can i open an activity on a paired device?

  • @faizaiqbal7191
    @faizaiqbal7191 7 років тому

    would this code work with receiving data from health band?Or what changes i have to make?

  • @yassirshihab5907
    @yassirshihab5907 7 років тому

    Great work
    i have managed to connect the app with the HC-06 but i can only send data forward ,like just send data from android to the arduino but i can not send data from the arduino to the android and i have checked the arduino code and it was fine
    what should i do ?

  • @Kuronorshinikami
    @Kuronorshinikami 7 років тому

    Thanks for posting such a helpful tutorial, really appreciate it :)

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

    Great job!

  • @ioemiracles5682
    @ioemiracles5682 5 років тому

    How to store the received data in android app?

  • @mikelantzelo
    @mikelantzelo 6 років тому

    How to catch when devices connected and do something after that?

  • @shaileshkumar007
    @shaileshkumar007 5 років тому

    Thank you so much for this great tutorials, I am looking to receive data from external bluetooth barcode to my my android APP

    • @urmibose2984
      @urmibose2984 5 років тому

      Hey. Were you able to do this?

  • @DiegoOliveiraProf
    @DiegoOliveiraProf 5 років тому +1

    can I use this code to read data sent by an Arduino?

    • @codingwithmitch
      @codingwithmitch  5 років тому +1

      yep you just need to get the UUID for the Arduino

  • @vikaskumar091
    @vikaskumar091 5 років тому

    How to connect with already Paired device(without pairing process)?

  • @AhmedKamel-ol6qv
    @AhmedKamel-ol6qv 4 роки тому

    I would like to extract sensors'(accelerometer, in particular) data without pairing. Is that possible? I know that a connection can be made and data can be transferred without pairing, but what about sensor's data?
    I would much appreciate your support, your video was helpful :D

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

    I used the source code. But I can not scanning any bluetooth device on my app

  • @ktwoo1118
    @ktwoo1118 5 років тому

    Does this work with more than 2 devices? Like 3 or 4?

  • @gaboooooyski
    @gaboooooyski 6 років тому

    I'm getting this error
    "Unable to parse template "Class"
    Error message: This template did not produce a Java class or an interface"
    what to do?

  • @mohsenabdelkareem7683
    @mohsenabdelkareem7683 7 років тому

    please, How can i make android app to connect multiple Bluetooth modules HC-05 with one android device?

    • @alexvaldez5049
      @alexvaldez5049 5 років тому

      Did you ever receive an answer to this? I am trying to do the same.

  • @pavlestepanic7989
    @pavlestepanic7989 5 років тому

    Yo, can you link some short Python(pybluez) script to scan all nearby bluetooth devices? Thanks

  • @mehwishnaaz3720
    @mehwishnaaz3720 7 років тому

    hey! i am working on android app that will recieve data of two sensors from arduino to android app through HC-05 would it work for this project...please reply ASAP...

  • @Lotramus
    @Lotramus 8 років тому +37

    Great tutorials, but they are way too quiet.

    • @Lotramus
      @Lotramus 8 років тому +4

      Glad to hear that

  • @bahmanrekany6973
    @bahmanrekany6973 6 років тому

    Best tutorial Thank you very much

  • @DarrinLenneLBolden
    @DarrinLenneLBolden 7 років тому

    Great tutorial thanks for posting I find it extremely helpful. Any more tips or tutorials for a neophyte ?

  • @PatSrisaan
    @PatSrisaan 7 років тому

    Would this work with receiving data from an Arduino board?

    • @PatSrisaan
      @PatSrisaan 7 років тому

      Is there a method for making such query?

    • @wizzard5574
      @wizzard5574 7 років тому

      Good evening, sir! I was wondering, what should I put in ParcelUuid[] array so that I can call the function .getUUids() later? Sorry, I am new to this and I have no idea. Thank you!

    • @wizzard5574
      @wizzard5574 7 років тому

      Thank you very much!!

    • @PatSrisaan
      @PatSrisaan 7 років тому

      My device keeps getting denied access by the Arduino Board. You wouldn't happen to know how to fix that would you?

    • @wizzard5574
      @wizzard5574 7 років тому

      Pat Srisa-An It happened the same with my Arduino. I gave up and now I collect data through USB..

  • @erdinckonuk7516
    @erdinckonuk7516 7 років тому

    thnx mitch so helpfull tutorial

  • @khurriazafar4441
    @khurriazafar4441 6 років тому

    Does it work for transferring data from Android to PC?

    • @codingwithmitch
      @codingwithmitch  6 років тому +1

      If the PC has bluetooth, yes. But you'll need the UUID of the bluetooth module on the PC.

    • @khurriazafar4441
      @khurriazafar4441 6 років тому

      ok i will try this thankyou :)

  • @brendasanchez704
    @brendasanchez704 7 років тому

    If what is sent is not a message but a path of a file, is it the same?
    Could you help me?

    • @brendasanchez704
      @brendasanchez704 7 років тому

      If it is a string, then what would it apply?

    • @brendasanchez704
      @brendasanchez704 7 років тому

      Hello, I have some doubts in my case I think I should not use that UUID that is for Bluetoothchat and I should also modify the part of btnSend.setOnClickListener (new View.OnClickListener ()? Sorry. I just started programming on Android, I do not know if you can pass me an email address to develop the question well, in case it would not be perfect here

    • @brendasanchez704
      @brendasanchez704 7 років тому

      Thank you very much with that I would make the connection, I saw your previous videos, I am curious how to limit the device to be shut down once the device is found without it being repaired and showing the paired devices already in use?

    • @brendasanchez704
      @brendasanchez704 7 років тому

      I would like to show the paired devices and limit it to show only once the device found and not to be repeated?

  • @FPfiff
    @FPfiff 6 років тому

    finally full HD -thx:)

  • @shashanksharma8863
    @shashanksharma8863 7 років тому

    When will you create a video showing how to read data from arduino using bluetooth?

  • @jackmanjls
    @jackmanjls 5 років тому +1

    Crank up the volume..can't hear what you are saying

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

    thank you

  • @slamharb38
    @slamharb38 Рік тому

    There is no souns

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

    You use prefix 'm', I like suffix '_'

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

    Hi, am I the only one with a very low sound level ? :)

  • @timcl7193
    @timcl7193 5 років тому

    i'd love to follow some of your tutorials but the last one was painful.
    you cant hear a word you are saying, the screen is not in focus, you dont zoom in on any text and you kinda jump around rather than explain methodically.
    i thank you for your work but if you ever get time please redo some of these as they seem to be really useful, but i just cant attempt another one

    • @codingwithmitch
      @codingwithmitch  5 років тому +1

      Yep these ones are very bad. 3.5 years old I believe

  • @adarshnair9846
    @adarshnair9846 5 років тому

    Could u please raise ur voice??

    • @codingwithmitch
      @codingwithmitch  5 років тому

      very old video. My mic was very bad. Check out my new stuff. The videos are much higher quality.

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

    I need this with flutter 😭

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

      I'm also try to achieve this in flutter, but it seems that, flutter is not much mature to do this!!!
      Did you achieve this in flutter?

  • @berganovie2028
    @berganovie2028 5 років тому

    This video is good but your recording is so quiet.. when the ads fuck your ears...

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

    Too quiet to watch.

  • @danielelubrano2611
    @danielelubrano2611 5 років тому

    it s more of a guide, tutorial supposes that you explain what you re doing, and i don't hear any explanation....

  • @reshmadange4843
    @reshmadange4843 6 років тому

    जानिए Bluetooth नाम के पीछे का प्राचीन रहस्य - ua-cam.com/video/kAzmxEvkZJ4/v-deo.html