Using Servo Motors - SG90 (ESP32 + Arduino Series)

Поділитися
Вставка
  • Опубліковано 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 Місяць тому

    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?

  • @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

  • @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 😔

  • @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.