[FLUTTER] control Arduino with Bluetooth module

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 พ.ย. 2020
  • In this video Flutter: how to control Arduino through Bluetooth I will show you guys the connecting method for Flutter to connect Arduino with HC-05 Bluetooth model.
    arduino bluetooth app
    control a servo motor with FLUTTER : • [ FLUTTER BLUETOOTH] ...
    App link: github.com/husamhamu/mm_app
    try another version : github.com/MuhammedZek/blu_chat
    #Flutter #cotrolArduino #Bluetoothmodule #HC05

ความคิดเห็น • 63

  • @sihebi973
    @sihebi973 3 ปีที่แล้ว +1

    This is the first video I see that implement this functionality with flutter. I will definitely try it out.

  • @StyleEazy
    @StyleEazy 3 ปีที่แล้ว +3

    work perfectly, thank you !

  • @AangContreras
    @AangContreras 3 ปีที่แล้ว +5

    Great! More Arduino-Flutter videos, please!:D

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว +1

      of course
      you can also try this video th-cam.com/video/BTHqEwaqSC0/w-d-xo.html

  • @user-wf5ou8sq3t
    @user-wf5ou8sq3t ปีที่แล้ว

    really helped me a lot I had success with this code

  • @muhammedzekeriya92
    @muhammedzekeriya92 3 ปีที่แล้ว +2

    thank you very much ,its really helpfull.

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว +1

      Glad it was helpful!

  • @linzantonvacaordonez1746
    @linzantonvacaordonez1746 2 ปีที่แล้ว +3

    Hello brother I loved the project you did, I did the flutter thing it came out perfect but I have a problem with the arduino, it would be great if you shared the arduino code and the connection you made please

  • @Alex-td2bf
    @Alex-td2bf 3 ปีที่แล้ว +2

    Is there a way to use the Flutter Blue instead? This would allow for IOS support along with Android.

  • @klugavalon2259
    @klugavalon2259 2 ปีที่แล้ว +1

    Can we implement _onDataReceived method into multiple classes or..how to get bluetooth data into multiple classes

  • @lawsonbuabassah6776
    @lawsonbuabassah6776 ปีที่แล้ว

    Hello, I tried implementing the Bluetooth connection between the Flutter app and an HC-05 module using the flutter_serial_bluetooth plugin. Everything works expect I’m unable to connect to the Bluetooth module. The apps keep pending on “waiting to connect…”

  • @herisuko4485
    @herisuko4485 2 ปีที่แล้ว

    its great

  • @user-lv3vo9ew2j
    @user-lv3vo9ew2j 2 ปีที่แล้ว

    I liked you ♥

  • @Marc-mp6lf
    @Marc-mp6lf 2 ปีที่แล้ว +1

    I try to copy the dart files to a new flutter project and add dependencies but i got many errors. How can i copy it properly.

  • @marjono123
    @marjono123 2 ปีที่แล้ว

    unfortunately this flutter_bluetooth_serial dependency is now depreciated, is there any way to still use it?

  • @bennguyen1313
    @bennguyen1313 2 ปีที่แล้ว

    Just curious, when you write a flutter application do you have to maintain a different code base for each target, say Android vs Windows? For example, a desktop target would need to use the functions in serial_port_win32 (formerly serial_port).. but an Android app would need to use flutter_libserialport (or usb_serial, tcnserial, etc)?
    I'm interested in creating a windows application that talks via a COM port to a bluetooth (RFCOMM) transceiver (ex. CP210X, HC-05, etc).. on the other end is a Android device that it's (bluetooth) paired with, also running a Flutter app.
    Can the same package be used for both Windows and Android (ex. flutter_bluetooth (formerly flutter_bluetooth_serial)), or will they need to be different.. ex Android needs flutter_blue (flutter-esp32-bluetooth)?
    Also any thoughts if a Windows application can be compiled using VS Code + gcc/mingw.. or is Visual Studio 2022 the only way for Flutter to target Windows?

    • @MMROBOTTECH
      @MMROBOTTECH  2 ปีที่แล้ว

      I think the same package is just for Android but fortunately there are other packages that can help you just try to do some search.
      Also I have no idea if a Windows application can be compiled using VS Code + gcc/mingw..

  • @harshaokin8064
    @harshaokin8064 2 ปีที่แล้ว

    hii. so we have a flutter based app to control an Arduino powered RC car through HC-05. but we need the car to send information back to the app. we're stuck. can you help? we have a metal detector in the car and we need that digital high output to come to the app somehow. and display it in the app. it would really help if you could reply or guide me with some relevant links. thank you

  • @hardikjotangia2642
    @hardikjotangia2642 3 ปีที่แล้ว +1

    Which framework is best for IoT app?
    Flutter, ionic, react nativ or any other?

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว

      it depend man every framwork have its advantages and dis

  • @MMROBOTTECH
    @MMROBOTTECH  3 ปีที่แล้ว

    source:github.com/husamhamu/mm_app

  • @jackkrawatt3908
    @jackkrawatt3908 6 หลายเดือนก่อน

    Is possible to control Arduino by ethernet connection with flutter?

  • @devisuresh8264
    @devisuresh8264 3 ปีที่แล้ว

    Hello..Your code is what i am using to understand how to send data but some part are hard to understand. Is there some way to contact you through email to clear up some of the code? I basically just need to send sensor data thru hc05 to flutter app and display it on a screen.

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว +2

      of course you can, here is my email mohammed.mbz.96@gmail.com
      the thing is that i dont have much time because of my Study but i will try my best.

    • @devisuresh8264
      @devisuresh8264 3 ปีที่แล้ว

      @@MMROBOTTECH thank u so much. i understand, i only have some code clarificattions

    • @devisuresh8264
      @devisuresh8264 3 ปีที่แล้ว

      @@MMROBOTTECH I have left you an email with my doubts. Please respond at the soonest. Thank you!

  • @theguy2887
    @theguy2887 3 ปีที่แล้ว +2

    Hey man can i use HC-06 module?? Thanks

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว +2

      hey , no man you can use it but you should make a simple change in the arduino code like changing the band width [ Serial.begin(9600); ].

  • @dtm_m7560
    @dtm_m7560 2 ปีที่แล้ว

    could u send a photo of this arduino constructiob

  • @arsarsars1able
    @arsarsars1able 3 ปีที่แล้ว +1

    Brother all is good but please can you guide the connection in video

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว

      try this brother, I hope it get clearer to you.
      th-cam.com/video/BTHqEwaqSC0/w-d-xo.html

    • @arsarsars1able
      @arsarsars1able 3 ปีที่แล้ว

      @@MMROBOTTECH brother i also watched that video also

    • @arsarsars1able
      @arsarsars1able 3 ปีที่แล้ว +1

      @@MMROBOTTECH brother can you please make a short video on connection please so i can understand i have tried but that one is also having trouble to understand the wiring.

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว

      @@arsarsars1able I will try brother but can you specify the problem, I didn't get it, is it wiring or in the code or in Arduino

    • @arsarsars1able
      @arsarsars1able 3 ปีที่แล้ว

      @@MMROBOTTECH brother the connection in wire with the Arduino and the Bluetooth and the light

  • @dongyan2905
    @dongyan2905 3 ปีที่แล้ว +1

    how to combine it with blockly or scratch(visual programing)

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว

      I used Flutter and java because there is no Video about the topic, but if you want to make it with visual programing there is a lot of videos about it and that is why I didn't make it with visual programing.
      I cant suggest videos for you if you didn't find anything useful

    • @dongyan2905
      @dongyan2905 3 ปีที่แล้ว +1

      Thank you for your reply,i mean theres no implement for visual programming with flutter,if you can do it with flutter,that will be very amazing

    • @dongyan2905
      @dongyan2905 3 ปีที่แล้ว

      scratch for arduino with flutter

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว

      there will be many Flutter video in the future and I will try to make some of (scratch for Arduino with flutter)

    • @dongyan2905
      @dongyan2905 3 ปีที่แล้ว

      That would be very nice of you,and I will always follow your progress,thank you for sharing this great video!

  • @amjadahmed2323
    @amjadahmed2323 ปีที่แล้ว

    but he isnt work in Android 12 what is the answer

  • @Marc-mp6lf
    @Marc-mp6lf 2 ปีที่แล้ว

    How can i edit it to add some features and upload it to play store?

    • @MMROBOTTECH
      @MMROBOTTECH  2 ปีที่แล้ว

      u have the source code, so u can reform the code to be able to work on your project

    • @Marc-mp6lf
      @Marc-mp6lf 2 ปีที่แล้ว

      @@MMROBOTTECH I tried to copy the dart files and dependencies but there are bunch of errors. I clone it and it works but i am worried that it wil be an issue when i edit it and upload to playstore. Thanks for the reply.

  • @GateMode
    @GateMode 2 ปีที่แล้ว

    how can connect with you /??

  • @daliadody99
    @daliadody99 2 ปีที่แล้ว

    How to transfer communication from Arduino to communication between phones

    • @MMROBOTTECH
      @MMROBOTTECH  2 ปีที่แล้ว

      communication between phones can be via internet but with Arduino we made it via Bluetooth , so its better to use internet between phones

  • @lingrajnaykode143
    @lingrajnaykode143 3 ปีที่แล้ว +1

    Please tell me the Arduino connection?

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว

      try this brother, I hope it get clearer to you.
      th-cam.com/video/BTHqEwaqSC0/w-d-xo.html

  • @awss.farhan1454
    @awss.farhan1454 3 ปีที่แล้ว +1

    how to recive data from ardunio in flutter by bluetooth

    • @aqibjaved5120
      @aqibjaved5120 3 ปีที่แล้ว

      did u got the solution ?

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว

      yes man you can, we are opining a chat channel between them so we can send and recive data.

  • @zeuszemus9925
    @zeuszemus9925 2 ปีที่แล้ว

    I can't run it in Flutter version 2.5.2

    • @MMROBOTTECH
      @MMROBOTTECH  2 ปีที่แล้ว

      I wrote the code last year so maybe the code need actualization, in the comment there are another version did you try it?

  • @Code-Genius
    @Code-Genius 3 ปีที่แล้ว

    That’s rlly cool! I have a Bluetooth module to u can check out my vid if u want

  • @nelsonlee9859
    @nelsonlee9859 3 ปีที่แล้ว

    could any one help one .
    I am using iPone 6s, and this is my feedback is below
    =====
    VERBOSE-2:ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method getBondedDevices on channel flutter_bluetooth_serial/methods)
    #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:159:7)
    ======
    without any BT find. any thing I messing ???

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว

      I'm supporting in this app only android sry man :(

  • @nelsonlee9859
    @nelsonlee9859 3 ปีที่แล้ว +1

    from your Arduino program, may I know how to read data from Bluetooth, looks something missing
    many thanks,
    int ledPin = 13;
    int cmd = -1;
    int flag = 0;
    void setup() {
    pinMode(ledPin, OUTPUT);
    digitalWrite(ledPin, LOW);
    Serial.begin(9600);
    }
    void loop() {
    if (Serial.available() > 0) {
    cmd = Serial.read();
    flag = 1;
    }
    if (flag == 1) {
    if (cmd == '0') {
    digitalWrite(ledPin, LOW);
    Serial.println("LED: off");
    } else if (cmd == '1') {
    digitalWrite(ledPin, HIGH);
    Serial.println("LED: on");
    } else {
    Serial.print("unknown command: ");
    Serial.write(cmd);
    Serial.print(" (");
    Serial.print(cmd, DEC);
    Serial.print(")");
    Serial.println();
    }
    flag = 0;
    cmd = 65;
    }
    Serial.flush();
    delay(100);
    }

    • @MMROBOTTECH
      @MMROBOTTECH  3 ปีที่แล้ว

      good question, if (Serial.available() > 0) {
      cmd = Serial.read(); //that code mean that, if there are any message from the app read it and storage it into cmd.

  • @goplayman5658
    @goplayman5658 2 ปีที่แล้ว

    Hello sir, '_sendMessage(textController.text)' is not sending data :(
    Arduino Rx pin is also not blinking