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.
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 :)
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."
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 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.
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
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.
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. :-)
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!
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!
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.
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?
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.
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.
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?
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
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.
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.
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
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.
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?
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?
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.
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?
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
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
@@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
@@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.
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 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.
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
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
Best darn electronics workshop on UA-cam!
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.
Perfect! Exactly what I need for an upcoming ESP32 project. Thank you so much for all your helpful videos.
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 :)
MAN AFTER SUCH A LONG TIME ,NICE TO HEAR IT. THANK YOU FOR YOUR VIDEO.
i learned from him in 3 months more than I learned in 3 years studying electronics in college 🎓
Have you watched all his videos?
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."
always look forward to your videos, you seem to answer questions that arise when watching the videos
your videos are the foundation for my Projects
So pleased your working with the ESP32, this thing is great but has far too much to take in all at once
Awesome Totally👍👍👍 You Are Awesome. Informative from begging to end. Covering mostly all bases.
Sir , i have waited so long to learn something new. Finally it's happening
Is "sir" in Indian English like "dude" in American English?
@@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
This was a VERY comprehensive tutorial - I particularly loved the beautiful web page handling. Congrats and Thank you!
Are you psychic? How did you know my next project involves EXACTLY the topics you cover today??? THANK YOU!
Same here! I'm making a servo clock.
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.
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
@@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.
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
At 26:45 the 200 amp power supply remark cracked me up ! Thanks !
Same XD
THE OG! thank you once again for a great lesson (not only a tutorial)
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.
you are a diamond in the ruff. love all your vids but this one really helped me out . thanks
Fantastic video covering everything I needed for my project!!! Thanks for the help!
this is a great place to find up to date diy info... saves me from chasing after not so koool stuff... thanks...:)
It has been a while ! Welcome back
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.
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. :-)
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!
"cheerful" lol. I would never describe Bill as cheerful! Great guy and info though!
A lot of useful information. Thank you.
Great video. Clear and well explained.
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 !!
Thank you so much that was very helpful, in love with your titorials
this really helps for pwm and html nicely organized KKudos!!
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!
You are absolutely fantastic. Thank you so much.
thank you very much for your nice video
Helpful video 👍
Dude you are my hero.
Howdy! Great video! Quick question. What exactly is that breadboard power supply. Seems super useful!
Thank you Bill great video
great video, thanks!
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 !
Servo with 555 timer is also interesting cool video.😁👍
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.
Very interesting and well presented thanks from Orlando.
Good stuff
Hi Bill, Your instructions are very helpful. Thank you! Have you been also been setting up lessons for 3D Experience?
Very pro videos! Like your videos, simple and slow enough for me! ha ha ha
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?
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
this vid was so useful thnk u so much
Amazing video as always! Thank you. Please would you consider doing a pwm dc motor driver with the esp32?
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.
Best tuts on the net for ESP32, Suubbb'd
Please also do a video on MQ-6 Gas Sensor
Love the vids!
Should there have been a common ground between the ground connection of the PCA9685 and the ground of the 5V supply for the servos?
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.
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?
Please do a video on HW 139 touch sensor with arduino
those servo testers are good for setting the 0 position without backdriving them.
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.
Great Tutorial!
thanks a lot for your video!
Super tuto.merci.
That was a nice video. How would you move both motors at the same time instead of one at a time?
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
Very interesting thanks
Nevermind, You answered this in the video.
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.
Could you also make a tutorial about using servos and LED strip('s) at the same time by PWM with the 16p controller?
nice video
11:36 why we need to connect the servo ground cable to the esp32 ground ? never understand this )=
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.
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
dronebotworkshop.com/about-dronebot-workshop/faq/
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.
@@jankorteweg1 Thank you so much, and great Work. :D
16:33 what happens to the timers?
Thank you.
Could you make CANBUS communication via ESP32 please? I guessed you mentioned it in the previous esp32 video.
Do you have a tutorial for use in Home Assistant?
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?
You're not ambitious. Why just rule the world when you can rule the UNIVERSE, hiar hiar hiar.
Thanks!
And thank you Thomas, much appreciated!
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?
Great video! I tried this but my servo buzzes consistently when not moving. Do you know why?
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
In the part with the two servos, they are moving a bit bumpy, did you figured out why they not running smoother?
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.
Can gears be used to expand/fine-tune the limit of a servo?
What are the SDA and SCL on ESP32-S3? There is no port 22...
what did the bag do
Please make any implementation video of esp-32 using the esp32 mcu (module) only too..... I'm requesting since a long time... pls....
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?
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.
@@malch2843 Thank You for that info
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
is it possible to transmit data as an im link from one to another?
Well hello! :)
Love your
Sir home automation plz 🙏
i have always get error in checking code on arduino app 1.8.9 (giude me please)🙏🙏🙏
esp is not cheaper than arduino?
Sir please make a video on aurdiuno uno programs in simple way so any one can understand.love u from india
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
@@webforder4201 thank you sir
@@DomeGang No problemo, you can use sites like instructables.com if you are having a really hard time aswell
@@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
@@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.
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()
Hello
Is it possible to rotate the servo 360 by e.g. 1000 degrees with your library?
@@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.
@@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
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
I am planning to build a low cost remotw controlled car
HI IM IDEATRONIC CHANNEL ELECTRONIC
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
\*thinks\* I could make an esp32 millipede. Damn it! Not enough servo motors.
help me sir
Eye-squared-see :)
*************** I need a parts list to buy against, can someone help me? ******************