Control 360 continuous Servo with push button switches and Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ค. 2019
  • Step by step project is explained with code provided for download to connect and use push buttons to control 360 servo motor.
    The best thank you for me is to not to skip ads and Subscribe 🔔 to my channel, like 👍 the video It is greatly appreciated. 🔔 😊.
    I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe and enable the bell 🔔.😊
    ** Purchase 360 Servo from affiliated stores **
    Amazon USA: amzn.to/3znVmSA
    Amazon Canada: amzn.to/3Hyauju
    All other Amazon: amzn.to/3sQ1FNP
    Amazon: amzn.to/2TXaVgu
    AliExpress: s.click.aliexpress.com/e/_9iCNKh
    Banggood: www.banggood.com/custlink/m3G...
    eBay: ebay.us/fUBeDL
    ** Purchase Arduino Start Kit **
    Amazon USA: amzn.to/3z88F9G or just UNO board amzn.to/3aY7KOL
    Amazon Canada: amzn.to/31an88J or just UNO board amzn.to/3pYxSNN
    Amazon Europe (all Europe): amzn.to/3pMCHge or Just UNO board amzn.to/2PgGItD
    AliExpress: s.click.aliexpress.com/e/_9uc7Xe
    Banggood: www.banggood.com/custlink/3GD... or UNO board www.banggood.com/custlink/vKm...
    eBay: ebay.us/B1JWLi
    ***** Purchase Authentic Arduino Uno from ***
    Amazon USA: amzn.to/2KApAwK
    Amazon Canada: amzn.to/37LZ8sW
    All Europe Amazon: amzn.to/36YDSzn
    Jump to different section of this video by clicking on the time:
    00:35 Introduction
    05:13 wiring explained
    06:47 code explained
    12:50 Demonstration and correction
    Download Arduino code for this video: bit.ly/360-pb
    Control 2 or more servos with potentiometers: • How to control 2 Servo...
    Watch introduction to 360 Servo: • Lesson 89: How to cont...
    Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
    Tutorial by Ahmad Shamshiri form Canada
    ****************************
    Get early access to my videos via Patreon and have your name mentioned at end of very videos I publish on TH-cam here: robojax.com/L/?id=97 (watch until end of this video to list of my Patrons)
    ****************************
    Supporting me by making donation via PayPal: bit.ly/rj-paypal
    Learn Arduino from proven instructor on Udemy: bit.ly/rj-udemy
    Follow me on Facebook robojaxTV
    Follow me on Twitter: / robojaxtv
    Follow me on Instagram: / robojax
    Tutorial by Robojax.com
    Get other projects code and learn Arduino
    robojax.com/learn/arduino
    #robojax #robojax_sevo #roboajax_motor
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    integrated beautifully with my existing code, this means so much, thank you.

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

      Good to know. You are welcome. Thanks for subscribing

  • @h2o-fpv623
    @h2o-fpv623 4 ปีที่แล้ว

    Hy Robojax I dont miss ur videos thank u

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

      Hi Henry, you are welcome.

  • @abdulmoonirkhan3050
    @abdulmoonirkhan3050 3 วันที่ผ่านมา

    big thanks

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

    360 서보에 대해 궁금했는데 감사합니다.

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

      아니에요. 도움이 되셨 다니 다행입니다. 학교 나 페이스 북에서 내 채널을 공유하십시오. 한국어 자막과 함께 100 개 이상의 동영상을 작업하고 있습니다. 인사말 캐나다 출신의 아마드.

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

    GREAT VIDEO AND GREAT CODE

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

      Glad you think so!

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

    great video. thanks

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

      You are welcome. don't forget this servo is not for real application. it is just a joke to learn something as this can't be used for practical application. Instead use Stepper motor if you need 360 rotation. I have video on that.

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

    Great videos. Can you make a video using toggle switch and no breadboard with simple wiring diagram

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

      we need bread board because we needed 3 GNG. This 360 servo I don't where and how people are going to use it. Why shouldn't we use simple DC motor? I made the video because I saw some people asked for it.

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

    Assalamu 'alaikum bro, thanks, great video dan code.

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

      Walaikum salaam, you are very welcome.

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

    Do you have time to advise me? I have built an HF tuner - it uses 2 air variable capacitors and 1 rotary inductor. I added limit switches at the ends of the inductor so the gear motor can stop rotating when it reaches either end of the inductor’s coil. I hope to replace those 3 dc gear motors with 3 servos. Can I use a 360 servo to rotate the inductor from one end to another and still have it stop at the ends?

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

      Hello, this so called "continuous servo" is just fake motor. there is not such thing in the industry. someone just modified to demonstrate and it got popular . Use 28BYJ-48 Stepper motor. I have tones of videos on that here th-cam.com/users/robojaxTVsearch?query=28BYJ-48

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

    is possible use 1 pushbutton to control ccw and cw and the stop pushbutton? thks and nice videos

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

      Interesting. I will put it on my "to do " list but don't know when. but for sure I will make video on that.

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

    😍😍😍😍😍😍😍

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

      Thank.s

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

    Terimakasih tutorialnya sir..👍
    Bisakah menggunakan esp8266 untuk mengatifkan servo cw ccw

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

      Servo 360 ini bukan motor sungguhan. ini hanya gurauan. seseorang membuatnya untuk bersenang-senang. itu tidak dapat dikendalikan secara akurat. HARAP GUNAKAN MOTOR LANGKAH.

  • @Charles-gk2lg
    @Charles-gk2lg 4 ปีที่แล้ว

    good video! If it is possible to use 2 buttons to control 360 degree servo? When pressing the button it will rotate, and without pressing it could stop.

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

      Hi, then why 2 push button? as you said " pressing the button it will rotate, and without pressing it could stop" then what does the 2nd push button do?

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

      @@robojax hi, i want to ask my mine is not rotated continuous, if i push the push button it Will rotate but its just for a while, if i push the same button it cant be rotated again 😭

  • @dixit-rohit
    @dixit-rohit 3 ปีที่แล้ว

    This is a system that i want but is there any improvement in this system for servo stop?

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

      this is NOT real servo. NOT a real product. This is just a fun project so people tried to prove that they can do it. Use stepper motor to do the task properly. I made the videos (this 2nd video) because people needed this fake product and I responded to their demand.

  • @MrHotjag
    @MrHotjag 11 หลายเดือนก่อน

    Can these 360 servos be used with plane gyroscope

    • @robojax
      @robojax  11 หลายเดือนก่อน

      read the comments. this is just experimental servo and NOT real. Use stepper motor. I wanted to delete this video but it seems people watch it.

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

    Hi can you help me how to automatically stop the rotation of CCW and CW for about 6 sec

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

      I have posted in the comments, that this is FAKE motor. you should not use it for practical application. it is just demonstration that someone modified the servo. you should use stepper motor or DC motor with encoder. as for stopping, you can use millis() from this video th-cam.com/video/u2HsiTS8niQ/w-d-xo.html to measure the milliseconds and do something.
      after servoCommand(0); or servoCommand(1); line add SBS=LOW; and this is as if STOP push button has been pressed. Please watch both videos to learn how they work and I am sure you can do it good luck.

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

    How to change it into two bottom control , when press right it goes right and press left it goes left when i release it stops???
    Thank you

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

      I have explained everything in this video and also if you watch introduction to 360 servo video, you should be able to do it, it can’t be explained with text, it needs practical work.

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

    hi robojax my middle button only makes the servo turn left how come that's happening?
    by the way the button on the left also turns left

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

      Hi, check the wiring if you have not modified the code. I don't see any other reason.

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

    Do you have code for a continuous motor to turn clockwise 360 degrees with control of one button. For example: one button press turns it 360 degrees and stops and the next button press does the same and so on. Thanks in advance!

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

      Yes you can use stepper motor and just search my channel

  • @rubenestradaglz.4735
    @rubenestradaglz.4735 4 ปีที่แล้ว

    can i use 2 of them if i just copy and paste the code with different "ints"

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

      If you define different pin and refer to each separately, Yes you can.

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

    hey man im looking to do this but to connect a second motor to the 8pin i want it to rotate as well just opposite to the one on pin 9 how did i do this in code?

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

      pin 8 is not PWM enabled pin on Arduino UNO only pins with ~ sign beside them are PWM capable. if you carefully watch without escaping my video, you should fully learn how this works and you can do the same for 2nd motor. Very hard to explain it here. It needs another video.

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

      Robojax isn’t pin 8 a signal pin on an arduino nano though?

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

    what if i use ultrasonic sensor instead of the button. I want it stop as the sensor doesnt detect something and start rotate back same way when the sensor detect it back. For example the motor needed to be attached to a toothpaste squeezer.

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

      first you should have read my comment either in this video and the main video without push button. this is not REAL motor. it is just for fun. Yes you can use ultrasonic to act like HIGH or LOW signal the same as push button.

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

      You didn’t reply?

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

      Do i need to reply? What’s wrong with u???

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

    Can you do this with this only one button

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

      Please forget this motor. it is just experimental. not a real motor. use stepper motor or DC motor with encoder

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

    can you please show me how to limit the amount of spins , maybe only two spins left two spins right.

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

      This motor is a joke. Use stepper motor. Here is one many examples th-cam.com/video/P_O-0_aOXuA/w-d-xo.html

  • @AftabKhan-ji6ty
    @AftabKhan-ji6ty 3 ปีที่แล้ว +1

    sir i want to control stepper motor same like that......
    what i do??????

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

      here are my videos on stepper th-cam.com/users/robojaxTVsearch?query=stepper

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

    hey sir, it's so awesome, but it doesn't work for me (sad). i've already followed you steps. i used Servo motor MG995 (360 degree), when i pushed the button it did not rotate continuously. I think the number (106, 58, 0) are read as Degree, because it moved seem like that number. Help me, i just bought that motor and i don't waste it. Thx a lot

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

      This video is the Advanced version of this video th-cam.com/video/b_xvu6wWafA/w-d-xo.html make sure you can control your servo first here. If it doesn't work, then your servo is not 360.

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

    Different between contunueous servo and DC motor?

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

      Continuous servo motor should not exist. People play with them and make them like that. DC is the best solution. I made the video because I saw people purchased them.

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

      @@robojax thank you for your information

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

      You are welcome.

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

    Is 360 degree servomotor available? Or you have to make it?

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

      Available and sold like that.

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

    Dear sir...
    I want to control 2 servo motor by using 2 FSR and arduino uno...i need a code like that when FSR1 sense force then it rotate both servo to 90 degree and when then FSR2 sense force then it rotate the both servo to 0 degree please sir help me...

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

      Hi Safi, your comment should have been posted under regular servo. Please see the right servo and I am sure you can find solution in my videos th-cam.com/users/robojaxTVsearch?query=servo

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

    can u send me the same code for using esp32 instead of arduino uno

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

      This should work with esp32 too

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

    how to code this 360 servo motor to use as a gripper with two sensor that is force sensor and distance sensor. for example the gripper want to grip the object and then when the force sensor detect the sufficient force, the gripper stop. then when the distance sensor detect the right distance, the gripper will release the object. the force sensor is attach at the gripper to detect the force given by the object when the gripper is grip the object. i hope you can help me with the coding. thank you so much

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

      Your request is itself a project. Not simple to change this code.

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

      @@robojax tq for your response

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

      You are welcome.

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

    It just like a dc motor?

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

      Yes. I do too. But this has one advantage that you don't need driver or power board. you can connect it directly to arduino. I forgot to mention this however in the video.

  • @dyodjohar5328
    @dyodjohar5328 4 หลายเดือนก่อน

    Sir, how to make servo 360° stops with count of seconds ? 🙏

    • @robojax
      @robojax  4 หลายเดือนก่อน

      this is just joke. not real product. use Stepper motor th-cam.com/video/cYTICj4DWYc/w-d-xo.html or serach my channel for more stepper. I wanted to delete this video, but it seems people like to watch it. I don't know what to do. this is fake joke motor.

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

    i watch this video and i can make it but how to control many servo just with 2 button cw and ccw?

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

      Hi, You can search my channel for servo related videos. I have over 10 videos here is the link th-cam.com/channels/kcBSig_Iu4ZnAIeCeG1TVg.htmlsearch?query=servo

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

      @@robojax but i want to this project like this video but use 2 or more servo

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

      did you scroll at the to bottom of search result? I have those type videos with multiple servo

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

    Can i control it with IR sensor?

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

      Please see my comment. this is not a real motor. Search my channel for IR and yes I have soliton for it.

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

      @@robojax thankyou for answering me bro your videos is helpful, im tryin to make the mask dispenser with vending machine mechanism But with 360 degrees servo instead of dc motor, i use the Ir to rotate the servo But whenever my hand is not on the sensor the servo is keep spinning

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

      As I’ve shown it can’t be controlled properly. Use stepper motor and I have tones of videos on that

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

    Hi Ahmad, Is it possible to control a 360 degree servo with a rotary encoder and a push button for direction of rotation with a Nano? I find your videos with explanations very educational and I enjoy watching them. Regards, Leo

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

      Hi, somehow I missed your comment and discovered it now. this 360 servo is just a joke and not a real motor. someone made it for furn. Please don't waste your time on this. Use stepper motor instead.

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

    🚩🚩🚩This is not a REAL product 📢. NOT a real motor 🚫. Use stepper motor to set it at any angle and any position. This is FAKE product. I wrote the code and made the video because people asked for it. So please do not waste 🚩🚩🚩your time as this can't be controlled properly. Someone just made this product for fun. Use stepper motor instead.