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?

    • @TheSelfUnemployed
      @TheSelfUnemployed 6 หลายเดือนก่อน +1

      yeah it falls under motors

  • @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 2 หลายเดือนก่อน

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

    • @lamboking8able
      @lamboking8able 2 หลายเดือนก่อน

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