Using Servo Motors with ESP32

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ค. 2024
  • How to control Servo Motors with an ESP32 - directly, using I2C, and over WiFi.
    Article with code: dronebotworkshop.com/esp32-se...
    More articles and tutorials: dronebotworkshop.com
    Join the conversation on the forum: forum.dronebotworkshop.com
    Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
    We are working with the ESP32 again, today we’ll see a few different methods of controlling a servo motor using this amazing 32-bit microcontroller.
    The ESP32 is well-suited to controlling analog servo motors as it has 16 PWM outputs. It’s built-in WiFi and Bluetooth open the doors to all sorts of remote control possibilities.
    Although the ESP32 can’t use the Arduino Servo Library there are many replacement libraries available. I’ll be working with the ESP32Servo Library for most of these experiments.
    We’ll see how to interface a servo to the ESP32 and then we’ll look at a few code examples that emulate the examples included with the Arduino.
    We’ll also hook up a PCA9685 PWM controller to the ESP32 using its I2C connections. This is a great way to drive a lot of servo motors as each PCA9685 has 16 PWM outputs and you can cascade them to control up to 992 motors! I’ll only be using two motors for my demo.
    One great reason to use an ESP32 over an Arduino is the built-in wireless communications. In the final example, we will control a servo motor with a web-based interface over WiFi.
    Here is the Table of Contents for today's video:
    00:00 - Introduction
    02:51 - Servo Motors & ESP32
    10:10 - Hookup & ESP32Servo Library
    15:08 - Sweep Sketch
    19:23 - Improved Sweep Sketch
    21:36 - Knob Sketch
    27:18 - ESP32 & PCA9685 -
    37:46 - WiFi Web-based Servo Control
    There is also an article on the DroneBot Workshop website with the code used here in case you want to try some of these experiments on your own.
    I’ll be doing another project based upon ESP32 and servo motors very soon, so keep your eyes out for it by subscribing to the channel.
    Thanks, and I hope you enjoy the video.
  • แนวปฏิบัติและการใช้ชีวิต

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

  • @MitzpatrickFitzsimmons
    @MitzpatrickFitzsimmons 3 ปีที่แล้ว +33

    Best darn electronics workshop on TH-cam!

  • @gga3053
    @gga3053 3 ปีที่แล้ว +6

    Perfect! Exactly what I need for an upcoming ESP32 project. Thank you so much for all your helpful videos.

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

    This was a VERY comprehensive tutorial - I particularly loved the beautiful web page handling. Congrats and Thank you!

  • @shishir.sachar4648
    @shishir.sachar4648 3 ปีที่แล้ว +7

    MAN AFTER SUCH A LONG TIME ,NICE TO HEAR IT. THANK YOU FOR YOUR VIDEO.

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

    always look forward to your videos, you seem to answer questions that arise when watching the videos

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

    Using your video I built a ESP32 firework controller using i2c (32 cues) but of course with i2c it could handle up to 128 cues at least. Thanks so much, works so flawless :)

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

    So pleased your working with the ESP32, this thing is great but has far too much to take in all at once

  • @phillipneal8194
    @phillipneal8194 3 ปีที่แล้ว +2

    At 26:45 the 200 amp power supply remark cracked me up ! Thanks !

    • @tezzrexx
      @tezzrexx 3 หลายเดือนก่อน

      Same XD

  • @ArmandoGonzalez-np2wt
    @ArmandoGonzalez-np2wt 2 ปีที่แล้ว

    Fantastic video covering everything I needed for my project!!! Thanks for the help!

  • @SuperSpuddo
    @SuperSpuddo 9 หลายเดือนก่อน

    Great video. Clear and well explained.

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

    your videos are the foundation for my Projects

  • @walid4337
    @walid4337 3 ปีที่แล้ว +26

    i learned from him in 3 months more than I learned in 3 years studying electronics in college 🎓

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

      Have you watched all his videos?

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

      could you imagine having him as a professor?! definitely a natural teacher. "we'll be looking at servos so time to get things moving..today in the worksh.... i mean classroom."

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

    Well done, thanks for the info and the explanation ! Please keep doing the things you do, it is so interesting and well explained. Big thumb up !!

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

    thanks a lot for such a detailed video step by step. i didn't do electronics or computer science engg, but still was able to understand and implement.

  • @malch2843
    @malch2843 3 ปีที่แล้ว +2

    Thank you, you videos are presented so well, you have the gift of being able to pass on sometimes complex information in a clear and concise manner. Best wishes to you and your loved ones in these crazy times.

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

    Hi Bill, Your instructions are very helpful. Thank you! Have you been also been setting up lessons for 3D Experience?

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

    this is a great place to find up to date diy info... saves me from chasing after not so koool stuff... thanks...:)

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

    A lot of useful information. Thank you.

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

    It has been a while ! Welcome back

  • @shazmiah
    @shazmiah 3 ปีที่แล้ว +2

    Hi. I've been watching your videos for many years with great interest. I love the clear concise instructions, present ation - especially the graphics and animations!
    Would you be kind enough to let me know where you get the graphics from and what software you use to put together the animations an videos?
    Your avid fan!

  • @You7aRe7My7LivE
    @You7aRe7My7LivE 6 หลายเดือนก่อน

    THE OG! thank you once again for a great lesson (not only a tutorial)

  • @heinrichhelmbold419
    @heinrichhelmbold419 3 ปีที่แล้ว +2

    Amazing video as always! Thank you. Please would you consider doing a pwm dc motor driver with the esp32?

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

    Thank you Bill great video

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

    you are a diamond in the ruff. love all your vids but this one really helped me out . thanks

  • @gulshan0799
    @gulshan0799 3 ปีที่แล้ว +2

    Sir , i have waited so long to learn something new. Finally it's happening

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

      Is "sir" in Indian English like "dude" in American English?

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

      @@typingcat no, i think "dude" is something you can use with a friend or family but i use "sir" for someone who can teach me something......mostly

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

    Very interesting and well presented thanks from Orlando.

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

    Servo with 555 timer is also interesting cool video.😁👍

  • @tenderermean000
    @tenderermean000 3 ปีที่แล้ว +2

    Howdy! Great video! Quick question. What exactly is that breadboard power supply. Seems super useful!

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

    this really helps for pwm and html nicely organized KKudos!!

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

    Great Tutorial!

  • @indigoigloo
    @indigoigloo 3 ปีที่แล้ว +11

    Are you psychic? How did you know my next project involves EXACTLY the topics you cover today??? THANK YOU!

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

      Same here! I'm making a servo clock.

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

    great video, thanks!

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

    Dude you are my hero.

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

    Thank you so much that was very helpful, in love with your titorials

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

    Excellent as usual. A couple of questions: Does the presence of multiple timers mean you can run servos independently? And please provide a video about controlling servos via the built-in Bluetooth.

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

    I need to go to the earlier video you mentioned because Servo Motors do not behave in the way I thought it seems and I was collecting questions as you spoke.
    I'll be back. :-)

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

    That was a nice video. How would you move both motors at the same time instead of one at a time?

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

    Love the vids!

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

    Great video as always. Those 9685 boards are very cheap. I read we could set the output to full on, to mimic a gpio output, is it true? Could we drive other equipment using this principle, like relay or mosfet? Others?

  • @WillPemble
    @WillPemble 3 ปีที่แล้ว +2

    Hi Bill!
    Thank you for your amazing content. Clear, concise, and cheerful.
    I spend most of my free time building backyard roller coasters. But now that I'm starting a #vanlife project, Arduino - and your tutorials -will figure massively into my life! So, again, thank you!

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

      "cheerful" lol. I would never describe Bill as cheerful! Great guy and info though!

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

    In the part with the two servos, they are moving a bit bumpy, did you figured out why they not running smoother?

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

    thank you very much for your nice video

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

    Good stuff

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

    Please may I ask why the Arduino IDE was used in preference over Platformio? Is it simply because more people have Arduino or is there a reason Platformio doesn’t work with ESP?
    As always a phenomenal video, thank you.

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

    Helpful video 👍

  • @martwa-craftcosplay1986
    @martwa-craftcosplay1986 3 ปีที่แล้ว

    thanks a lot for your video!

  • @georgevidas8256
    @georgevidas8256 3 ปีที่แล้ว +2

    I’m a fan of your site and now I’m hooked on the ESP 32. You can spend hours perfecting the web based interface but it is a cool way to operate the controller.

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

      If you want to skimp out you can get the ESP8266, most of the functionality is the same you just have to use different libraries

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

      @@webforder4201 Absolutely correct - I just finished a miniature weather station which sits outside my house using the ESP8266. I check temperature, humidity and barometric pressure from my iPhone based on learnings from this channel.

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

      George Vidas cool. I did a similar thing, except I send information to a raspberry pi using get requests.
      The good thing about the ESP-32 is you can do multi threaded things, but the same thing can be achieved using millis

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

    Could you make CANBUS communication via ESP32 please? I guessed you mentioned it in the previous esp32 video.

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

    Super tuto.merci.

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

    this vid was so useful thnk u so much

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

    Thank you.

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

    impressive professionalism.
    would you make a tutorial on how to send temperature sensor data from one esp32 to and operating servo based on that data on another esp32, using espNOW protocol. I searched your channel but could not find a video on this topic. espNOW is a very much awsome protocol.

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

    Can gears be used to expand/fine-tune the limit of a servo?

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

    Could you also make a tutorial about using servos and LED strip('s) at the same time by PWM with the 16p controller?

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

    Very pro videos! Like your videos, simple and slow enough for me! ha ha ha

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

    Please also do a video on MQ-6 Gas Sensor

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

    Best tuts on the net for ESP32, Suubbb'd

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

    Hi
    I like your work
    I’m new at this and I’m having trouble with my project I’m trying to making a popup target with ESP8266,ESP32, limit switch and Wi-Fi. All I wanted to do is win the target is hit then falls and hit the limit switch and make the servo motor go to 180° and back down every time the limit switch is hit it brings the target up.I’ve been working on this for about six months. I’m about ready to give up can you help me please.

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

    Possible use for 900+ servos at one time, field of small solar panels in a hex shape to sorta resemble flowers, 2 servos per pannel and configure each to get the panels pointed at the best light using some light sensors, probably a master sensor that directs all the servos to go to applicable locations. Probably super inefficient compared to a few big pannels but would look cool?

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

    Very interesting thanks

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

    So interesting and so well presented thanks from France. I"m learning all i need to know for my projects on your videos and blog !

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

    Can someone explain why it’s critical to have ground reference from the servo (just some links to reading material would be nice) also why and how is it safe to having two negative connections from to two different power sources and voltages

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

    thanks for this video cuz I was trying to hook up a servo to a Raspberry pi Pico but don't know how to wire it externally

  • @PauloHenrique-hg7iw
    @PauloHenrique-hg7iw 3 ปีที่แล้ว

    is it possible to transmit data as an im link from one to another?

  • @JohnDoe-yh9ll
    @JohnDoe-yh9ll 3 ปีที่แล้ว

    This is really cool would be nice if you could show how to connect both these thru a bluetooth gamepad app for android or ios.

  • @codecage9333
    @codecage9333 3 ปีที่แล้ว +4

    Should there have been a common ground between the ground connection of the PCA9685 and the ground of the 5V supply for the servos?

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

      It depends if your servo is using the controller board's voltage supply...like stated in the video, its better to use external power supply and ground.

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

    I no this is a weird question, but how do you make your animations? 11:31" Are you useing a presentation software, or special software. After effects?
    I am just asking because I LOVE it keep up the great work. :D

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

      dronebotworkshop.com/about-dronebot-workshop/faq/

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

      Q - What video editing software and equipment do you use?
      A - I use Apple Final Cut Pro to create videos. The sound is edited using the amazing open-source tool Audacity. I shoot with Canon cameras and use Shure and Blue microphones. I make use of Apple OSX, Ubuntu Linux and Microsoft Windows to create my content.
      Q - What software do you use to create those animated diagrams in the videos?
      A - I’m sure this is the most asked question I get! I use Apple Keynote to make the animated diagrams. Actually, I use Keynote for many graphic applications, as I’m essentially illiterate when it comes to Photoshop.

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

      @@jankorteweg1 Thank you so much, and great Work. :D

  • @Lunolux
    @Lunolux 3 ปีที่แล้ว +2

    nice video
    11:36 why we need to connect the servo ground cable to the esp32 ground ? never understand this )=

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

      All devices need to be connected to a common ground. This ensures that all the devices have a common reference point. If they are not ground common the voltage between the devices could vary thus causing data corruptions.

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

    Please do a video on HW 139 touch sensor with arduino

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

    Thanks!

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

    What are the SDA and SCL on ESP32-S3? There is no port 22...

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

    those servo testers are good for setting the 0 position without backdriving them.

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

    Great video! I tried this but my servo buzzes consistently when not moving. Do you know why?

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

      you need to change the code because you are driving the servo past its limit, i had the same problem with the basic stamp 2

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

    Please make any implementation video of esp-32 using the esp32 mcu (module) only too..... I'm requesting since a long time... pls....

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

    If you disconnect the ESP32 from your PC after running the sketch, does the code remain on the device for use with a different power supply so that it can run on its own?

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

      Yes, the code is stored on the Esp32, so when you power it up from a different power supply the code will automatically start running.

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

      @@malch2843 Thank You for that info

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

    Love your

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

    Nevermind, You answered this in the video.

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

    16:33 what happens to the timers?

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

    This could be very useful in combination with mechanical amplifiers for my telerobotic army to rule the world. But since I am a bit busy on my time machine right now, could you come up with some project using servo motors and mechanical amplifiers?

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

      You're not ambitious. Why just rule the world when you can rule the UNIVERSE, hiar hiar hiar.

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

    i have always get error in checking code on arduino app 1.8.9 (giude me please)🙏🙏🙏

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

    I am busy programming an 8-legged Lego Technic robot with 33 SG90-servos and 2 stepper motors on an ESP32, thanks to I2C and 3 daisy-chained PCA9685s. Who can beat 33 servos?

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

    Well hello! :)

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

    Sir home automation plz 🙏

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

    max LEDs used in a project by me is 18 and maximum servos used by me in a single project is 5 and he was talking about 990servos i don't think simple projects can use upto 16 servos

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

    I need a big favor from you. First let me tell you what I'm going through. No servers will run if I use a breadboard! I use those little breakout boards for powering the breadboard and if I use those I have to crank up the power supply to like around 9:00 or 10 volts to even get close to 5 volts output from those breadboard controllers. And if I use a substantial digital servo forget it you can't use a breadboard at all I have to connect it directly to power from some kind of power source.
    It has taken me feeling like a loser to finally figure out what was going on. Now I'm faced with the dilemma I need to buy a bench top power supply is the one I had was terrible I don't want another terrible import that is going to be flaky unable to control amperage and have no presets or memory slots. I don't have experience in knowing what to buy and what not to buy and I don't have a lot of money. Could you please tell me if there's anything acceptable that I could buy for under $150 I know that isn't a lot of money for such a thing but again it may be enough for hobby stuff like this. I had a really nice tectonics one but it got broken in a move and I threw it out I should have tried to get it fixed it was a combination power supply with straight DC presets memory slots whatever you want to call them and also had a decent signal generator I also had a really nice little tectronics o scope with that God damage to and it was beyond repair almost certainly but if I could just be confident in buying an inexpensive power source it would be a great help for me. I would like to build some tiny power supplies for individual projects but that's in the future
    Any suggestions that you could give me would be greatly appreciated please anyone chime in here

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

    Eye-squared-see :)

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

    I have this problem
    ledcAttachPin(pin, getChannel()); // re-attach the pin after frequency adjust
    | ^~~~~~~~~~~~~
    | ledcAttach
    c:\Users\DELL\Documents\Arduino\libraries\ESP32Servo\src\ESP32PWM.cpp: In member function 'void ESP32PWM::attachPin(uint8_t)':
    c:\Users\DELL\Documents\Arduino\libraries\ESP32Servo\src\ESP32PWM.cpp:235:17: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
    235 | ledcAttachPin(pin, getChannel());
    | ^~~~~~~~~~~~~
    | ledcAttach
    c:\Users\DELL\Documents\Arduino\libraries\ESP32Servo\src\ESP32PWM.cpp: In member function 'void ESP32PWM::detachPin(int)':
    c:\Users\DELL\Documents\Arduino\libraries\ESP32Servo\src\ESP32PWM.cpp:263:9: error: 'ledcDetachPin' was not declared in this scope; did you mean 'ledcDetach'?
    263 | ledcDetachPin(pin);
    | ^~~~~~~~~~~~~
    | ledcDetach
    exit status 1

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

    Sir please make a video on aurdiuno uno programs in simple way so any one can understand.love u from india

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

      Pretty sure there are tutorials for the arduino uno. But it’s quite simple the program the Uno, you can select examples in the arduino IDE, if you are having a hard time understanding. The first example “blink” will show you how it kind of works

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

      @@webforder4201 thank you sir

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

      @@DomeGang No problemo, you can use sites like instructables.com if you are having a really hard time aswell

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

      @@webforder4201 I don't have pc or laptop so I decided to learn it before I get it.but I don't have enough mony to get it.thank you one again your a humble person.thank you

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

      @@DomeGang
      Your welcome, lol.
      www.programmingelectronics.com/arduino-crash-course/
      This site should also teach you the basics.
      Also, I think there are simulators for arduino aswell.

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

    *************** I need a parts list to buy against, can someone help me? ******************

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

    I am glad to see my library was useful! One point i would add is that i also made a library that wrapps the linearization calibration for the ADC, to give more accurate ADC readings: github.com/madhephaestus/ESP32AnalogRead Its much more accurate than the built in analogRead()

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

      Hello
      Is it possible to rotate the servo 360 by e.g. 1000 degrees with your library?

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

      @@alladyn21 those types of servos are limited to a max of 180 degrees. the limitation is in the servo itself. There are "360 degree continuous rotation" servos that are controlled for velocity instead of position, but are fairly uncommon. There are also serial bus servos such as the lx-16a that work well with the ESP32.

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

      @@KevinHarringtonBuildsRobots yes i know i have a servo that can turn around, but i asked how to do it with your library. Thanks for the answer

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

    I am planning to build a low cost remotw controlled car

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

    \*thinks\* I could make an esp32 millipede. Damn it! Not enough servo motors.

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

    help me sir

  • @memesoo.kang_
    @memesoo.kang_ 3 ปีที่แล้ว +2

    Lol I just burned my servo by connecting it to 7V, I opened YT to find a way to fix it(with doubt).
    And boom. What a timing.
    Turns out, you can connect it to the 5V with a capacitor and that may fix the issue BEFORE connecting to a 7V for more power.
    learn.adafruit.com/adafruit-arduino-lesson-14-servo-motors/if-the-servo-misbehaves

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

      What do you have that uses 7V, just interested. Did you put too many batteries?

    • @memesoo.kang_
      @memesoo.kang_ 3 ปีที่แล้ว

      @@webforder4201 7.4 ish cuz it was 2cell lipo
      It was Vin pin in Arduino

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

      For 7-8.4 V you must use a HV Servo.

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

    ✨🌟✨👍

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

    HI IM IDEATRONIC CHANNEL ELECTRONIC

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

    hey there is to much arduino tutorial now make pic microelectroler task

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

    ZzZzZzzZ
    More energy Please)))

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

    th-cam.com/video/PqeaOmMOWUE/w-d-xo.html 3 min.

  • @user-bs5zi3fg3t
    @user-bs5zi3fg3t 3 ปีที่แล้ว +1

    second comment

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

      Hehe

    • @user-bs5zi3fg3t
      @user-bs5zi3fg3t 3 ปีที่แล้ว +1

      @@Just_Moh_it congrats :)

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

      大祐市川 ywc

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

      大祐市川 are u japanese or chinese?

    • @user-bs5zi3fg3t
      @user-bs5zi3fg3t 3 ปีที่แล้ว

      @@Just_Moh_it Im from Japan