Lesson 97: Controlling Servo Motor using Rotary Encoder and Display Angle On LCD

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 29

  • @nasheedvocalistyasir9086
    @nasheedvocalistyasir9086 Год назад

    Hello Sir, Thank you for the lovely videos. I followed this video step by step and would like to highlight issues that I faced. 1) in command line lcd.begin (); does not work only lcd.init (); worked. 2) SW_PIN needs to be HIGH in the code otherwise the servo will keep going to home position. 3) I had to add pull down resistor on SW_PIN to make it work. this could be due to faulty encoder resistor but am not sure. Overall I have learnt alot from this project. thumbs up and I have subscribed.

    • @robojax
      @robojax  Год назад

      You must be using different library. Use the library shown and all features will work as show. Thank you

  • @الخطاطالعراقي-د5و
    @الخطاطالعراقي-د5و 2 года назад +1

    Thank you ...wonderfull

  • @passibharat
    @passibharat Год назад

    Really good

  • @ohdelabdim3703
    @ohdelabdim3703 2 года назад

    Very useful information, Thank you

  • @xifomahos1
    @xifomahos1 2 года назад

    Really helped, Thanks !

  • @KrisnaMahadiputraKrisna
    @KrisnaMahadiputraKrisna 10 месяцев назад +1

    helo sir, i also using the servo as you have (MG996R) which is also a continuous rotation servo. But when i uploade the program it just about controlling the servo MG996R's speed rotation, not controlling the angle of the servo. Can you explain it please ?
    Thanks

    • @robojax
      @robojax  10 месяцев назад

      Hi, the speed you see it the maximum. you can slow it down by adding delay.

    • @krisnamahadiputra6277
      @krisnamahadiputra6277 10 месяцев назад

      Is there any way to control a continuous rotation servo to a specified positional angle sir ?

  • @JamshaidKhan-xj4cl
    @JamshaidKhan-xj4cl Год назад

    hello sir it jamshaid i have been flowing you since last 2 year. and i learn a lot of thing from you thank for helping use for these kind of informative videos.
    sir i have a suggestion and also a humble request, can you please make a library for 16x2 LCD display in which a commend should be used for next cursor. like ( lcd.nextCursor() ). when user write this command then the blinking cursor of LCD should be shift to next cursor?

  • @shubhamsutar7602
    @shubhamsutar7602 2 года назад

    Thanks it is very helpfull for me ... But can you make same project with OLED display

    • @robojax
      @robojax  2 года назад

      Here is video for OLED. Learn and use. I have explained it fully ruclips.net/video/UZTAV2sRi9w/видео.html

  • @JHANSIPRIYAR
    @JHANSIPRIYAR 10 дней назад

    Can we use this encoder to measure small and precised angles like 1.75 or 6.29 etc

    • @robojax
      @robojax  10 дней назад

      No. This servo moves 1 degree per step.

  • @MarcusBie
    @MarcusBie 10 месяцев назад

    Hello is there anyway to use this to tell me the angle of a rotating part? i need a way to report the angle of a lathe chuck on a LCD display I need to be able to turn my chuck by hand at a very specific angle lock it and do an operation then continue to another angle and repeat up to 360deg I would also need to be able to reset the 0 angle anywhere in the position of the chuck.
    I have used Arduino's before but I cannot code or figure out the wiring I can how ever follow a diagram and upload a program to the Arduino . Having a display give me a resolution to 2 decimal digits would be nice

    • @robojax
      @robojax  10 месяцев назад

      Hi, all my video and codes are free. But if you hire me for $100/hour we can discuss your project Z If you want, then contact me via Robojax.com contact page.

  • @5VoltChannel
    @5VoltChannel 2 года назад

    Nice 👍👍

  • @gamasedmundojr.r.5570
    @gamasedmundojr.r.5570 2 года назад

    Can you make a video about how to turn a servo to 90 degree angle, stops then wait for 3 hours then turn to 180 degree angle using millis ? Btw your videos are really great

    • @robojax
      @robojax  2 года назад

      Hi, yes it is doable. This code and video is free but if you compensate my time I can do it. Please contumely via Robojax.com contact page

  • @seiminhaobaite3399
    @seiminhaobaite3399 2 года назад

    Sir can you show how to make a line following vehicle using VNH2SP30 motor driver🙏🙏🙏

    • @robojax
      @robojax  2 года назад

      wow. that 4 projects into one. Also VNH2SP30 is 30A motor driver. huge driver. in the whole world you might be the only one who needs this. Here is my Arduino Step by Step Course (over 150 lectures) Starts here ruclips.net/video/-6qSrDUA5a8/видео.html you gotta learn and write your own code.

  • @sam35696
    @sam35696 2 года назад

    Many thanks to you , I need same project but use stepper motor instead of servo please.

    • @robojax
      @robojax  2 года назад +1

      Stepper motor with rotary encoder is coming in a few weeks

    • @sam35696
      @sam35696 2 года назад

      @@robojax
      Thanks again .

  • @AB-ee4nu
    @AB-ee4nu Год назад

    Hello Sir, The code i tried it and it keeps placing itself at homepostion at 90 degress and it wobbles a little at 90 degrees when i move the encoder, please help why this problem is occuring

    • @robojax
      @robojax  Год назад

      you must be dong something wrong. you gotta test the servo separately in simple code before coming to this. don't change the code and try it.

    • @AB-ee4nu
      @AB-ee4nu Год назад

      @@robojax i did try a basic code to test it, and it was working fine, but this those with if-else statments are not working

    • @AB-ee4nu
      @AB-ee4nu Год назад

      also im using Arduino mega 2560

    • @AB-ee4nu
      @AB-ee4nu Год назад

      @@robojax after removing the switch pin code, its working fine