Multi Servo Motor Control via Bluetooth Using Android App | Arduino and App Inventor

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2016
  • In this tutorial, we will learn how to use multi-servo with an Android application. We will control 4 pcs servo motor with a Smartphone.
    You can implement your robotic arm projects with reference to this tutorial. Of course we will use external battery / power when doing this.
    Required Hardware:
    Arduino Board :
    goo.gl/UyGYeF
    amzn.to/2LZr6t4
    HC-06 Bluetooth Module :
    goo.gl/thjwVL
    amzn.to/3avtRM6
    Servo Motor x4:
    goo.gl/iOkPgu
    amzn.to/3avwe1N
    Jumper Wires:
    goo.gl/EGTafY
    amzn.to/3doetmT
    Breadboard :
    goo.gl/yCa8hX
    amzn.to/3qxLxwmBattery
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C
    37 Sensor & Module Packages - amzn.to/3m66WeQ
    Try this Robot Arm - amzn.to/3fq8DCl
    Best Resin 3D Printer - amzn.to/39tY8KB
    Arduino Compatible Kits - bit.ly/2J2AFF7
    Banggood Spring Sale - bit.ly/3slMbOn
    Connections:
    The external battery VCC / GND connect to the breadboard
    The Arduino GND connect to the breadboard's GND input
    The servo connections we use in this project are as follows;
    Orange Input - Signal Input
    Red Input - Power Input (VCC)
    Brown Input - Ground Input(GND)
    The Servo1 VCC and GND connect to the breadboard's VCC / GND inputs
    The Servo1 Signal connect to the Arduino Digital PWM 3
    The Servo2 VCC and GND connect to the breadboard's VCC / GND inputs
    The Servo2 Signal connect to the Arduino Digital PWM 5
    The Servo3 VCC and GND connect to the breadboard's VCC / GND inputs
    The Servo3 Signal connect to the Arduino Digital PWM 6
    The Servo4 VCC and GND connect to the breadboard's VCC / GND inputs
    The Servo4 Signal connect to the Arduino Digital PWM 9
    The Bluetooth module attach to the Breadboard
    The Bluetooth VCC connect to the Arduino 3.3V
    The Bluetooth GND connect to the Arduino GND
    The Bluetooth TX connect to the Arduino Digital Pin 10
    The Bluetooth RX connect to the Arduino Digital Pin 11
    About Bluetooth Connection:
    After establishing a connection, the LED on the Bluetooth module must be active continuously.
    If you get any errors (Device not found, broken pipe, etc.), please check the module connections. If the connections are correct, try connecting to the module a several times. It will be connect.
    You must download and install the SoftwareSerial library
    github.com/PaulStoffregen/Sof...
    MIT App Inventor site to create an application.
    appinventor.mit.edu/explore/
    Source Code: create.arduino.cc/editor/mert...
    Social Media:
    / mertarduino
    / mertarduino
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Source Code: create.arduino.cc/editor/mertarduinotech/3e101020-29e0-4ce1-bb12-5afb2fddb645/preview
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C​
    37 Sensor & Module Packages - amzn.to/3m66WeQ​
    Try this Robot Arm - amzn.to/3fq8DCl​
    Best Resin 3D Printer - amzn.to/39tY8KB​
    Arduino Compatible Kits - bit.ly/2J2AFF7​
    Banggood Spring Sale - bit.ly/3slMbOn

    • @engeltalenjale8438
      @engeltalenjale8438 7 หลายเดือนก่อน

      How do i prevent other servos from jittering?

    • @anshukr.3717
      @anshukr.3717 6 หลายเดือนก่อน +2

      Where is the app brother?

    • @adarshrd5262
      @adarshrd5262 6 วันที่ผ่านมา

      Did u get app ? ​@@anshukr.3717

    • @adarshrd5262
      @adarshrd5262 6 วันที่ผ่านมา

      ​@@anshukr.3717did u get app ??

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

    Thank youuuuuuuuuuuuuuuuuuuuuuuuu finally a nice way to send bluetooth data back and forth i only need to control one motor so this was perfect and i love how easy you can build on top of this thank you

  • @naznana7483
    @naznana7483 6 ปีที่แล้ว

    cool...thanks for your great effort...may I ask you sir ..how to play and record the position of the arm by using the Bluetooth...if you have any suggestion...
    .

  • @daviddiazbocanegra122
    @daviddiazbocanegra122 4 ปีที่แล้ว +4

    Excellent video, very useful, but I have a problem with the application, would it be possible for you to upload the download link in the description? Thank you

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

    Thank you for this project. I made an app in mit app inventor for your project ,everything is same except for the design.

  • @anisbenakki5705
    @anisbenakki5705 6 ปีที่แล้ว

    Hi, i'm a beginner in the arduino programmation and i would understand the first part of "void loop" from (if bluetooth.available) to (serial.println). Thank you!!

  • @BuildItnow
    @BuildItnow 7 ปีที่แล้ว +1

    well explained!

  • @nihalkeetha
    @nihalkeetha 7 ปีที่แล้ว

    Thanq so much buddy it really means a lot and a Lott thanq

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

    Good. But you can use sensor shield when you connect servos you cannot use wires and put directly into this shield.

  • @elsunshine9976
    @elsunshine9976 6 ปีที่แล้ว +2

    is there a way to save the positions of all servos then make the robot go back to that position again?

  • @phuocattran8338
    @phuocattran8338 7 ปีที่แล้ว

    thank you.......i love u....
    more video please!

  • @Alessandro82esteves
    @Alessandro82esteves 5 ปีที่แล้ว

    Do you charge the Arduino with the USB and the Battery at the same time?

  • @hzqproductions
    @hzqproductions 6 ปีที่แล้ว

    May i know why must you draw power into the breadboard using a seperate battery? I appreciate if u can reply asap.

  • @SatyamSingh-vi1hx
    @SatyamSingh-vi1hx 6 ปีที่แล้ว

    Can I use HC-12 for a better range rather than HC-05 or 06.

  • @tahmid61
    @tahmid61 6 ปีที่แล้ว

    Nice video thank for the link.

  • @americanocoffee541
    @americanocoffee541 6 ปีที่แล้ว

    Excellent!

  • @greatdaddy4710
    @greatdaddy4710 5 ปีที่แล้ว

    MERT ARDUINO YOU SHOULD DEFINITELY MAKE A VIDEO EXPLAINING HOW TO BUILD A CIRCUIT, CODE, APP AND ZERO CROSSING CIRCUIT WHICH CAN CONTROL AT LEAST 5 AC LIGHT BULBS AND BE ABLE TO NOT ONLY TURN THEM ON/OFF BUT DIM EACH ONE OF THEM SEPARATELY VIA BLUETOOTH HC-06 AND ANDROID APP. THAT WILL BE A CHALLENGE!!!

  • @Crazy-tq2gz
    @Crazy-tq2gz 3 ปีที่แล้ว +5

    Could you provide the app link, and instructions on how to instal it?

  • @ArluxmanTukaNgoprek
    @ArluxmanTukaNgoprek 6 ปีที่แล้ว

    thank's to tutorial...

  • @osvathors979
    @osvathors979 6 ปีที่แล้ว

    Hi this is a very good project , gratulations.Can you share the .aia files to see what do you send with the app? I have an application an i have to controll 4 servos but not with an app.I have to controll with an other Arduino mega 2650 with bluetooth.I dont know how to separate the servo potentiometer datas cross the serial communication.Thanks

  • @gringoislive5557
    @gringoislive5557 7 ปีที่แล้ว +1

    i want to use 2 more servos i made the app dor 6 servos but would you help me in code section of arduino

  • @kvlpnd
    @kvlpnd 7 ปีที่แล้ว +1

    Please do a video on just how to develop an app.

  • @codingtimes3199
    @codingtimes3199 7 ปีที่แล้ว

    good job my friend

  • @SILVER-jd3mq
    @SILVER-jd3mq 5 ปีที่แล้ว

    Can you please make tutorial of voice controlled servo

  • @tmksingha4325
    @tmksingha4325 6 ปีที่แล้ว

    Nice Tutorial...
    Mert Ard & Tech ... Can u plz help me out .. I used ur code and app to control 3 servos but it is not working .

  • @amritlalsingh7780
    @amritlalsingh7780 7 ปีที่แล้ว

    is it safe to connect arduino TX to Bluetooth module Rx because there is a logic level gap. 3.3v - 5v ?????

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

    Can signal of servo connected to digital pins other than pwm pins??

  • @rjanlynnes1552
    @rjanlynnes1552 7 ปีที่แล้ว

    Can you do this with bigger servos?

  • @shahoj
    @shahoj 7 ปีที่แล้ว

    can we use any other bluetooth arduino app which is available in Playstore?

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

    well done

  • @codtougee3088
    @codtougee3088 4 ปีที่แล้ว

    Sir good afternoon :)
    Sir you can create video for a multiple servo using android but not a slider it's BUTTON only? With the use of mit app inventor?
    sir please help me for my project :)
    Thank you :)

  • @martinleonardsarte8571
    @martinleonardsarte8571 7 ปีที่แล้ว

    Do you have source code for app in eclipse or Android Studio? Thanks!

  • @shaniradevshan3568
    @shaniradevshan3568 6 ปีที่แล้ว +1

    its work dude
    !!!!thanks!!!

    • @sohumvenkatadri7
      @sohumvenkatadri7 5 ปีที่แล้ว

      Shanira Devshan how did you make it please help me

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

    Perfect

  • @mevlutaydn7800
    @mevlutaydn7800 6 ปีที่แล้ว

    Mert hocam iyi günler. Diğer videolarında sorularımı cevapladığın için teşekürler. Ben servo için android app yyapmıştım ancak buna 2 dc motor eklemek istiyorum acaba mümkün müdür ? nasıl yapabilirm ? yardım edersen çok makbule geçer

  • @melkee5061
    @melkee5061 7 ปีที่แล้ว

    Sir , What if instead of slider i want to use button . what part of code block and program will i change ?

  • @oliveira6096
    @oliveira6096 6 ปีที่แล้ว

    This guy is amazing! :D

  • @yousefadeeb8259
    @yousefadeeb8259 4 ปีที่แล้ว

    It is great, but I can not find the App's link I've just find the website >>> Thanks

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

    Is 9 volt battery enough amps?

  • @mohamedessamhadid231
    @mohamedessamhadid231 7 ปีที่แล้ว

    Hi sir ,I am a big fan of your work, I was asking about controlling 5 or more servos by this application...but with buttons not slider ...I mean buttons to push the servos not at a certain degree!!!

    • @mohamedessamhadid231
      @mohamedessamhadid231 7 ปีที่แล้ว

      u got me wrong, I meant like a button that as long as u press on it the servo moves and when u remove your hand from it , it stops
      but now I made wt u exactly made but every slider control al the servos together and do not rotate a full rotation :)

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

    Makasih ya om 😃😃😃😚🙏

  • @davidsonfellipe5286
    @davidsonfellipe5286 5 ปีที่แล้ว

    mais um inscrito!!!!!

  • @rubennolascoi1538
    @rubennolascoi1538 5 ปีที่แล้ว +1

    The code didnt work for me. when i check the serial port, it returns values like 60000s. how to fix this?

  • @e.g.2323
    @e.g.2323 7 ปีที่แล้ว

    hey thks for the video! I managed to make the app and adapt it for two servo motors. I also managed to connect my phone via bluetooth. However for some reason when i load the program to the board the motors are twitching constantly and they don't react to new slider values. Do you have any idea what I might be missing?

    • @yagzkoc1296
      @yagzkoc1296 5 หลายเดือนก่อน

      Hey man, I am having the same problem. Is there any chance you resolved it? Can you enlighten me 6 years after making this comment :)

  • @dirmech
    @dirmech 5 ปีที่แล้ว

    Will it work with hc-10?

  • @muhammadzuhaibkhan6495
    @muhammadzuhaibkhan6495 5 ปีที่แล้ว

    Sir i am having uploading issues. i have chosen board: Arduino uno and Port: COM7, but still saying program is not responding and showing problem uploading to board. please help me resolve this issue.

  • @fahadahmed480
    @fahadahmed480 4 ปีที่แล้ว

    i loved the music in background

  • @AngelHernandez-rv9oi
    @AngelHernandez-rv9oi 3 ปีที่แล้ว +2

    Congratulations! Share please link to download the App. Thanks a lot!

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

      Did u find the link ?

  • @mircocerretti361
    @mircocerretti361 7 ปีที่แล้ว

    what are servopos and servopos1?thanks

  • @stefyandrey06
    @stefyandrey06 7 ปีที่แล้ว +1

    Hello! I have created this example and its works, but in the moment i activate one of the servomotors, at some point the other 3 servomotors have a little impulse (they tend to move) do you have any idea how can i fix this problem?

    • @akshayjain2375
      @akshayjain2375 6 ปีที่แล้ว

      Just use Servo.detach(); function to disconnect other motors.

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

    Bro can I use this app by usb with small changes

  • @rahuldandapat4450
    @rahuldandapat4450 4 ปีที่แล้ว

    how many maximum number of servoes are controleded by this apk?

  • @richman5152
    @richman5152 7 ปีที่แล้ว

    It work´s thanks man soo much

    • @richman5152
      @richman5152 7 ปีที่แล้ว

      Don't worry. Do you make courses about this theme?

    • @frankfar3386
      @frankfar3386 6 ปีที่แล้ว

      Hey, how can you make the android app bluetooth idont understand it please help me.

    • @vantakulasairam5401
      @vantakulasairam5401 5 ปีที่แล้ว

      @@frankfar3386 there's another video for that

    • @vantakulasairam5401
      @vantakulasairam5401 5 ปีที่แล้ว

      Why other servos are jerking when sliding one servo

  • @frankfar3386
    @frankfar3386 6 ปีที่แล้ว

    I dont know how to extract the SoftwareSerial library and Multiple servo control in Mit app. Please help me to do it.

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

    can you tell how to make Bluetooth app for servo motor pls i am not able to code
    thank you

  • @logan9056
    @logan9056 5 ปีที่แล้ว

    plz make a video to how make the android aap it's more important

  • @victorramirezvaleriano5849
    @victorramirezvaleriano5849 6 ปีที่แล้ว

    Pasa lo planos para elaborar el brazo con los servomotores...

  • @umeshsinhabeastmode-cm9ge
    @umeshsinhabeastmode-cm9ge 2 ปีที่แล้ว

    hey man you write 4110 in slider4 it is by mistake or it is essential reply fast man.

  • @juliancis1
    @juliancis1 7 ปีที่แล้ว

    help me please !!
    How can i create a code for five servo motors ??? D:

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

    How do I install the app

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

    Your links don't provide the link for the battery pack...

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

    This is what I have been looking for. but.... using a servo controller like the 16 channel shield. Any thoughts?

  • @baasilbiniyamin8277
    @baasilbiniyamin8277 6 ปีที่แล้ว

    Mert, I've got a problem. I just connected everything as you said, no errors and connected to Bluetooth via app but the problem is i cant control.. iam stuck please help.

  • @kundanbalse92
    @kundanbalse92 7 ปีที่แล้ว

    please do projects using blynk app.

  • @vantakulasairam5401
    @vantakulasairam5401 5 ปีที่แล้ว

    can we drag 2 buttons at a time, so that I can control 2 servo simultaneously . I'm in need for that.

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

    I dont understand how can I get the app to control the servos after going to the mit app inventor build site

    • @vantakulasairam5401
      @vantakulasairam5401 5 ปีที่แล้ว

      there is another video ,where you will learn how to create the app

  • @sundramkumarjha6319
    @sundramkumarjha6319 4 ปีที่แล้ว

    Can we connect 5 survo motors then how could we make it work

  • @hannahjoyfadullon5826
    @hannahjoyfadullon5826 6 ปีที่แล้ว

    where can i get the code? i cant open the link you provided. please send me a new link to the code. i need it for my project

  • @ahmedkatranji
    @ahmedkatranji 6 ปีที่แล้ว +1

    hello, im trying to make a speech to sign language robot using Arduino. can you help ?

  • @lukamiskovic5019
    @lukamiskovic5019 6 ปีที่แล้ว

    Hello, great video, please tell me why my arduino has to be connected to my laptop while controlling servos. It doesn't work with external battery supply, why is that happening?

  • @hungbv95
    @hungbv95 7 ปีที่แล้ว

    can u help me, i uploaded your code into uno, and installed your app, but its still not working, all my connection is right

  • @garynelson1131
    @garynelson1131 7 ปีที่แล้ว +1

    can you control eight servo's ? can I pay you to do that for me?

  • @shubhamsinghnagwanshi3100
    @shubhamsinghnagwanshi3100 7 ปีที่แล้ว

    can we use hc05 bluetooth

  • @josua2240
    @josua2240 6 ปีที่แล้ว +1

    me puedes pasar el link para descargar los codigos

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

    How many servos can we control?

  • @nidulaweerasinghe5238
    @nidulaweerasinghe5238 7 ปีที่แล้ว

    hi
    can i use three 9g servo motors and one MG945 servo motor?
    will it be okay

  • @sajidlillah7
    @sajidlillah7 7 ปีที่แล้ว +15

    could you upload us the android apk file, please

  • @damininaik2806
    @damininaik2806 7 ปีที่แล้ว

    sir please can you send me a circuit diagram of five servo motor and software also

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

    Hi can u share app for android Bt?? I cant download in link... Plz

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

    Hi, Mr. Mart, I can't understand that what is the meaning of "unsigned int realservo=(servopos1*256)+servopos; "
    please reply.....

  • @linhthieuvan9809
    @linhthieuvan9809 6 ปีที่แล้ว +1

    error: could not fit 2180 into 1 byte?

  • @strangejackle3727
    @strangejackle3727 5 ปีที่แล้ว +1

    Plz make a tutorial for apk

  • @ahmedsaman3070
    @ahmedsaman3070 7 ปีที่แล้ว

    ❤️❤️❤️❤️

  • @omkarupadhyay858
    @omkarupadhyay858 7 ปีที่แล้ว

    Hello
    We created four servo motors control app by using your instructions and it worked but the problem we faced is when we slide single motor it rotates but other three motors shakes and gets heated up please let me know what should we change and we used mg958

    • @vantakulasairam5401
      @vantakulasairam5401 5 ปีที่แล้ว

      facing same problem! please can you help me if you got the solution.

    • @Mr.Robot373
      @Mr.Robot373 3 ปีที่แล้ว

      Same problem please let me know if you find any solution

  • @integrity6912
    @integrity6912 6 ปีที่แล้ว +1

    okay

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

    Hi, Mr. Mert I'm facing a problem during the running my mobile app there was not showing the Bluetooth so I use your app that successfully shows connected but during the sliding the slider that shows "Error516: Unable to write: Broken pipe". So Where is the actual problem I couldn't be understood.
    So please help me.....

    • @bimaimam4602
      @bimaimam4602 6 ปีที่แล้ว

      did you use a same input power for aduino and servo? if that so, u should add external power for servo. The reason is because servo motor draining so much current making your bluetooth module not working properly

    • @surajbiswas8642
      @surajbiswas8642 6 ปีที่แล้ว

      I think you are right. Let me do with external power for servo.

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

      Where is the link for the app

  • @josephcybernetics
    @josephcybernetics 5 ปีที่แล้ว

    Hello sir this is urgent..my arduino when connected to powerbank slowly dim down

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

    Please give me a link of the app🙏

  • @josephcybernetics
    @josephcybernetics 5 ปีที่แล้ว

    Is it because i have not connected battery into the connection

  • @maigistick12
    @maigistick12 4 ปีที่แล้ว

    Is it possible to do this with a Raspberry Pi? How?

  • @joserubenbustos8812
    @joserubenbustos8812 6 ปีที่แล้ว

    Disculpa pero me sale que no puede cargar el archivo a la placa arduino ¿Qué hago?
    Sorry but I can not upload the file to the arduino board. What do I do?

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

    how can I fix my bt module not showing up in the devices?

  • @virenn5661
    @virenn5661 7 ปีที่แล้ว

    can we use 2 servos
    any changes in the code or app if so? pls help

    • @virenn5661
      @virenn5661 7 ปีที่แล้ว

      thnx a lot you channel is a storehouse for arduino projects ,really inspired

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

    Bro I need a app because I don't have much time I have to submit my project by 12

  • @abshanap2639
    @abshanap2639 4 ปีที่แล้ว

    I want a app for this source code. Please give me the app link

  • @fatmafarhani3798
    @fatmafarhani3798 7 ปีที่แล้ว

    salut comment faire pour te connectés!!

  • @haripranesh.r726
    @haripranesh.r726 6 ปีที่แล้ว

    hi
    iam sanjay and can you help me
    how to get the the app

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

    can anyone tell me where is MIT App Inventer source Code? I only can find just website Please help me

  • @darekkonopka1396
    @darekkonopka1396 6 ปีที่แล้ว

    the file you provided in the desciption was an apk, there is no way we can even download your app and have it work

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

    Can we control 8 servo motors with Bluetooth