Using Servo Motors with ESP32

  Рет қаралды 237,150

DroneBot Workshop

DroneBot Workshop

Күн бұрын

Пікірлер: 150
@MitzpatrickFitzsimmons
@MitzpatrickFitzsimmons 4 жыл бұрын
Best darn electronics workshop on KZbin!
@TinyMaths
@TinyMaths 4 ай бұрын
Thank you! Just moving over from using only the ESP32 for controlling the 8 servos in my Rubik's cube solver, to using PCA9685 to control the servos instead; a bit of a learning curve but with repeated watches things are clear now and I've got the first few servos up an running. Your channel has been a great help in getting to grips with Arduino etc.
@gga3053
@gga3053 4 жыл бұрын
Perfect! Exactly what I need for an upcoming ESP32 project. Thank you so much for all your helpful videos.
@toysareforboys1
@toysareforboys1 4 жыл бұрын
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 :)
@luisengineering
@luisengineering 3 жыл бұрын
your videos are the foundation for my Projects
@shishir.sachar4648
@shishir.sachar4648 4 жыл бұрын
MAN AFTER SUCH A LONG TIME ,NICE TO HEAR IT. THANK YOU FOR YOUR VIDEO.
@phillipneal8194
@phillipneal8194 3 жыл бұрын
At 26:45 the 200 amp power supply remark cracked me up ! Thanks !
@tezzrexx
@tezzrexx 10 ай бұрын
Same XD
@gulshan0799
@gulshan0799 4 жыл бұрын
Sir , i have waited so long to learn something new. Finally it's happening
@typingcat
@typingcat 4 жыл бұрын
Is "sir" in Indian English like "dude" in American English?
@gulshan0799
@gulshan0799 4 жыл бұрын
@@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
@walid4337
@walid4337 4 жыл бұрын
i learned from him in 3 months more than I learned in 3 years studying electronics in college 🎓
@mariogayoso
@mariogayoso 4 жыл бұрын
Have you watched all his videos?
@chipdipleraka7343
@chipdipleraka7343 4 жыл бұрын
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."
@johnmellor6065
@johnmellor6065 4 жыл бұрын
always look forward to your videos, you seem to answer questions that arise when watching the videos
@OcenaSoft
@OcenaSoft 4 жыл бұрын
So pleased your working with the ESP32, this thing is great but has far too much to take in all at once
@hectorrosa470
@hectorrosa470 5 ай бұрын
Awesome Totally👍👍👍 You Are Awesome. Informative from begging to end. Covering mostly all bases.
@You7aRe7My7LivE
@You7aRe7My7LivE Жыл бұрын
THE OG! thank you once again for a great lesson (not only a tutorial)
@georgevidas8256
@georgevidas8256 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@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 4 жыл бұрын
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
@GeekDetour
@GeekDetour 4 жыл бұрын
This was a VERY comprehensive tutorial - I particularly loved the beautiful web page handling. Congrats and Thank you!
@indigoigloo
@indigoigloo 4 жыл бұрын
Are you psychic? How did you know my next project involves EXACTLY the topics you cover today??? THANK YOU!
@MrGatlin98
@MrGatlin98 4 жыл бұрын
Same here! I'm making a servo clock.
@jzj3207
@jzj3207 Жыл бұрын
you are a diamond in the ruff. love all your vids but this one really helped me out . thanks
@marwen_dev
@marwen_dev 4 жыл бұрын
It has been a while ! Welcome back
@qzorn4440
@qzorn4440 4 жыл бұрын
this is a great place to find up to date diy info... saves me from chasing after not so koool stuff... thanks...:)
@ArmandoGonzalez-np2wt
@ArmandoGonzalez-np2wt 2 жыл бұрын
Fantastic video covering everything I needed for my project!!! Thanks for the help!
@jamesgoacher1606
@jamesgoacher1606 4 жыл бұрын
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. :-)
@rohanprak
@rohanprak 4 жыл бұрын
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.
@WillPemble
@WillPemble 4 жыл бұрын
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 2 жыл бұрын
"cheerful" lol. I would never describe Bill as cheerful! Great guy and info though!
@wbillich
@wbillich 3 ай бұрын
You are absolutely fantastic. Thank you so much.
@malch2843
@malch2843 4 жыл бұрын
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.
@johnhadley1117
@johnhadley1117 3 жыл бұрын
this really helps for pwm and html nicely organized KKudos!!
@SuperSpuddo
@SuperSpuddo Жыл бұрын
Great video. Clear and well explained.
@serenadenphoto
@serenadenphoto 4 жыл бұрын
A lot of useful information. Thank you.
@GoetheHausMeknes1
@GoetheHausMeknes1 2 жыл бұрын
Thank you so much that was very helpful, in love with your titorials
@electronic7979
@electronic7979 4 жыл бұрын
Helpful video 👍
@tenderermean000
@tenderermean000 4 жыл бұрын
Howdy! Great video! Quick question. What exactly is that breadboard power supply. Seems super useful!
@Ducerobot
@Ducerobot Жыл бұрын
Servo with 555 timer is also interesting cool video.😁👍
@codecage9333
@codecage9333 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.
@kmatt999
@kmatt999 4 жыл бұрын
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?
@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
@DanielGarza0
@DanielGarza0 11 ай бұрын
Dude you are my hero.
@shazmiah
@shazmiah 4 жыл бұрын
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!
@Leroys_Stuff
@Leroys_Stuff 4 жыл бұрын
Thank you Bill great video
@graphboss
@graphboss 4 жыл бұрын
thank you very much for your nice video
@heinrichhelmbold419
@heinrichhelmbold419 4 жыл бұрын
Amazing video as always! Thank you. Please would you consider doing a pwm dc motor driver with the esp32?
@pete162
@pete162 4 жыл бұрын
Hi Bill, Your instructions are very helpful. Thank you! Have you been also been setting up lessons for 3D Experience?
@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.
@funwithcircuits8222
@funwithcircuits8222 4 жыл бұрын
Please do a video on HW 139 touch sensor with arduino
@TheFreakzeichen
@TheFreakzeichen 4 жыл бұрын
great video, thanks!
@bluescream7463
@bluescream7463 4 жыл бұрын
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 !!
@saqibjaved1900
@saqibjaved1900 3 жыл бұрын
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.
@ayoubbadaou137
@ayoubbadaou137 2 жыл бұрын
this vid was so useful thnk u so much
@MicrobyteAlan
@MicrobyteAlan 4 жыл бұрын
Very interesting and well presented thanks from Orlando.
@funwithcircuits8222
@funwithcircuits8222 4 жыл бұрын
Please also do a video on MQ-6 Gas Sensor
@Lunolux
@Lunolux 4 жыл бұрын
nice video 11:36 why we need to connect the servo ground cable to the esp32 ground ? never understand this )=
@hoppynaki
@hoppynaki 4 жыл бұрын
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.
@tonysfun
@tonysfun 4 жыл бұрын
Very pro videos! Like your videos, simple and slow enough for me! ha ha ha
@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
@nicksparks3543
@nicksparks3543 3 жыл бұрын
Best tuts on the net for ESP32, Suubbb'd
@tedsykora1858
@tedsykora1858 4 жыл бұрын
Good stuff
@JohnDoe-yh9ll
@JohnDoe-yh9ll 4 жыл бұрын
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.
@uproarink
@uproarink 2 жыл бұрын
That was a nice video. How would you move both motors at the same time instead of one at a time?
@batuhansakal8771
@batuhansakal8771 4 жыл бұрын
Could you make CANBUS communication via ESP32 please? I guessed you mentioned it in the previous esp32 video.
@markharrisllb
@markharrisllb 3 жыл бұрын
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.
@arp_catchall
@arp_catchall Жыл бұрын
What are the SDA and SCL on ESP32-S3? There is no port 22...
@travis2470
@travis2470 6 ай бұрын
Do you have a tutorial for use in Home Assistant?
@cowyngodlonton7921
@cowyngodlonton7921 4 жыл бұрын
Love the vids!
@electronlibre7544
@electronlibre7544 3 жыл бұрын
Super tuto.merci.
@Bartnl1985
@Bartnl1985 4 жыл бұрын
Could you also make a tutorial about using servos and LED strip('s) at the same time by PWM with the 16p controller?
@martwa-craftcosplay1986
@martwa-craftcosplay1986 3 жыл бұрын
thanks a lot for your video!
@bignosethethird
@bignosethethird 4 жыл бұрын
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?
@EmbeddedClub
@EmbeddedClub 4 жыл бұрын
Great Tutorial!
@magnuswootton6181
@magnuswootton6181 3 жыл бұрын
those servo testers are good for setting the 0 position without backdriving them.
@Videogame9559
@Videogame9559 2 жыл бұрын
Very interesting thanks
@TheRealFrankWizza
@TheRealFrankWizza 4 жыл бұрын
Nevermind, You answered this in the video.
@patricklepoutre
@patricklepoutre 4 жыл бұрын
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?
@ThomasPalowitchSr
@ThomasPalowitchSr Жыл бұрын
Thanks!
@Dronebotworkshop
@Dronebotworkshop Жыл бұрын
And thank you Thomas, much appreciated!
@cliffbuck4905
@cliffbuck4905 4 жыл бұрын
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.
@philgo2024
@philgo2024 4 жыл бұрын
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 !
@-robo-
@-robo- 4 жыл бұрын
Thank you.
@SuperToughnut
@SuperToughnut 3 жыл бұрын
Can gears be used to expand/fine-tune the limit of a servo?
@supperslash1376
@supperslash1376 4 жыл бұрын
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 4 жыл бұрын
dronebotworkshop.com/about-dronebot-workshop/faq/
@jankorteweg1
@jankorteweg1 4 жыл бұрын
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 4 жыл бұрын
@@jankorteweg1 Thank you so much, and great Work. :D
@heliarms
@heliarms 3 жыл бұрын
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
@trevorloughlin1492
@trevorloughlin1492 4 жыл бұрын
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 4 жыл бұрын
You're not ambitious. Why just rule the world when you can rule the UNIVERSE, hiar hiar hiar.
@ingDemurtas
@ingDemurtas 2 жыл бұрын
16:33 what happens to the timers?
@raghibshams333
@raghibshams333 4 жыл бұрын
Please make any implementation video of esp-32 using the esp32 mcu (module) only too..... I'm requesting since a long time... pls....
@khbohl
@khbohl 4 жыл бұрын
In the part with the two servos, they are moving a bit bumpy, did you figured out why they not running smoother?
@derpclub4948
@derpclub4948 2 ай бұрын
what did the bag do
@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
@capistranogardener6100
@capistranogardener6100 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
@@malch2843 Thank You for that info
@PauloHenrique-hg7iw
@PauloHenrique-hg7iw 4 жыл бұрын
is it possible to transmit data as an im link from one to another?
@asphalt9zk8dp42
@asphalt9zk8dp42 4 жыл бұрын
i have always get error in checking code on arduino app 1.8.9 (giude me please)🙏🙏🙏
@andrewk6008
@andrewk6008 4 жыл бұрын
Well hello! :)
@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
@en_coded
@en_coded 4 жыл бұрын
esp is not cheaper than arduino?
@gilrodriguez6209
@gilrodriguez6209 9 ай бұрын
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
@zainalhas7416
@zainalhas7416 4 жыл бұрын
Love your
@KevinHarringtonBuildsRobots
@KevinHarringtonBuildsRobots 4 жыл бұрын
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
@chetanreddy8875
@chetanreddy8875 4 жыл бұрын
Sir home automation plz 🙏
@Ideatronic1
@Ideatronic1 4 жыл бұрын
HI IM IDEATRONIC CHANNEL ELECTRONIC
@zaprodk
@zaprodk 4 жыл бұрын
Eye-squared-see :)
@dr_ned_flanders
@dr_ned_flanders 3 жыл бұрын
\*thinks\* I could make an esp32 millipede. Damn it! Not enough servo motors.
@DomeGang
@DomeGang 4 жыл бұрын
Sir please make a video on aurdiuno uno programs in simple way so any one can understand.love u from india
@webforder4201
@webforder4201 4 жыл бұрын
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 4 жыл бұрын
@@webforder4201 thank you sir
@webforder4201
@webforder4201 4 жыл бұрын
@@DomeGang No problemo, you can use sites like instructables.com if you are having a really hard time aswell
@DomeGang
@DomeGang 4 жыл бұрын
@@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 4 жыл бұрын
@@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.
@rockyx3290
@rockyx3290 4 жыл бұрын
I am planning to build a low cost remotw controlled car
@davidbradley3074
@davidbradley3074 4 жыл бұрын
*************** I need a parts list to buy against, can someone help me? ******************
@memesoo.kang_
@memesoo.kang_ 4 жыл бұрын
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 4 жыл бұрын
What do you have that uses 7V, just interested. Did you put too many batteries?
@memesoo.kang_
@memesoo.kang_ 4 жыл бұрын
@@webforder4201 7.4 ish cuz it was 2cell lipo It was Vin pin in Arduino
@khbohl
@khbohl 4 жыл бұрын
For 7-8.4 V you must use a HV Servo.
ESP32 Sound - Working with I2S
46:04
DroneBot Workshop
Рет қаралды 348 М.
Servo Motors, how do they work?
15:12
The Engineering Mindset
Рет қаралды 2 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 5 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 52 МЛН
I tried the 3 Cheapest Arduino Alternatives! (That you Suggested)
13:21
Using Servo Motors with Arduino
43:06
DroneBot Workshop
Рет қаралды 1,4 МЛН
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Рет қаралды 697 М.
3 engineers race to design a PCB in 2 hours | Design Battle
11:50
Predictable Designs
Рет қаралды 441 М.
YOU can Learn the ESP32 in 15 Minutes:  Hello World!
22:52
Dave's Garage
Рет қаралды 333 М.
Beginner's Guide to Controlling Stepper Motors with Arduino
9:59
Rachel De Barros
Рет қаралды 26 М.
Build an ESP32-CAM Robot Car
46:04
DroneBot Workshop
Рет қаралды 233 М.