Using Servo Motors - SG90 (ESP32 + Arduino Series)

Поделиться
HTML-код
  • Опубликовано: 25 окт 2020
  • Servo motors give you precise control over their movements. Ideal for moving arms or joints in your DIY project. In this video, I'll explain how to use the SG90 (a great cheap servo motor) with the ESP32. No additional hardware required!
    20% off: Elegoo UNO starter kit:
    amzn.to/3cA0cAS
    (Code: "SimplyEx" / Available until 11/01/2021)
    ⚡️Other videos in this series:
    • ESP32 + Arduino
    (Everything you need to know about programming the ESP32 by using the Arduino Framework)
    🌍 Social
    Twitter: / savjee
    Facebook: / savjee
    Blog: savjee.be
    ❤️ Become a Simply Explained member: / @simplyexplained
  • НаукаНаука

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

  • @gregcasey1535
    @gregcasey1535 2 месяца назад

    Quick Comment - I have been making the transition to Platformio, the Lib Manager has been giving me issues. I have been OVER THINKING it. You explanation on "NOT using INSTALL button" but rather putting the text in the platformio file was very insightful. I appreciate it !!!

  • @Cdswjp
    @Cdswjp Год назад +1

    A motor isn't a type of sensor or shield, right? Does it fall under its own category?

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

    I am trying to do with ESP32 -Wroom-32D, i have done everything, but my servo motor is not rotating at all, i Have tried powering servo SG90 from external source, keeping common ground but still not working, can you tell me, where i am going wrong ??

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

      I'm having the same problem, but with the ESP32-S3. Have you found a solution?

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

      @@flajo_ I think ESP32 cannot withstand the motor, so i have used Arduino to power motor.

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

      @@nazishhussain51 thats a bummer :/ but thank you for your response

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

      Same with me too, now I'm trying to use arduino instead of it.

    • @create.5195
      @create.5195 Год назад

      ​@@Falcon_X1 😔

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

    Line 17 wasn't necessary, was it? Line 12 keep reinitializing Pos to 0. Minor point, I know.

    • @phizicks
      @phizicks 7 месяцев назад

      yes it is required for the effect it has, it moves to position 0 but then waits before it starts moving from 0 to 180, it's mainly due to the delay that is it needed. otherwise it will reach the max (180) position and goes back to 0 and "immediately" go through the angled steps again, without delay.
      If anything, the loop shouldn't start at 0, but 20 since 0 is already set.

    • @pcantele
      @pcantele 7 месяцев назад

      ok@@phizicks

  • @lamboking8able
    @lamboking8able 3 месяца назад

    For some reason mine does the full sweep and doesn't perform it in increments...

    • @lamboking8able
      @lamboking8able 3 месяца назад

      I had the delay outside of the bracket for the for loop.