Can anyone provide me with a code for 2 servo motor with esp32

Can anyone provide me with a code for 2 servo motor with esp32
7 Replies
aymen ammari
aymen ammari2mo ago
Just sweep is enough
electro_coco
electro_coco2mo ago
Just implement pwm on any pin with duty cycle 50 and servo will move
aymen ammari
aymen ammari2mo ago
I find out that the usual servo library does not support esp32 only arduinos... After a bit of search I found another library named ServoESP32.. But the newest version have some bugs I choose 1.0.3 older one but effective.. So I discovered that esp32 can't provide enough current to power 2 servos so I had to add external 5v powersply with common GND with the esp... So this was my experience today.😅 I hope someone does not fall in my fault
Joseph Ogbonna
Joseph Ogbonna2mo ago
Great, we learn from experience
techielew
techielew2mo ago
GitHub
GitHub - RoboticsBrno/ServoESP32: ⚙️ Generate RC servo signal on a ...
⚙️ Generate RC servo signal on a selected pins with ESP32 device and Arduino framework. - RoboticsBrno/ServoESP32
aymen ammari
aymen ammari2mo ago
YES!!
techielew
techielew2mo ago
Great. Will catalog in a forum channel and mark as solution to save the learning.
Want results from more Discord servers?
Add your server
More Posts
Can you provide detailed information about ultrasonic sensor HC-SR05 maximum detection range?@boualleg sabrina I'm considering using an ultrasonic sensor HC-SR05 for distance measurements. I'm Why you should consider .8mm PCBs over 1.6mm PCBs?Hello, I'm working on an article about why you should consider .8mm PCBs over 1.6mm PCBs (mostly in Do you think it's better to use a Raspberry Pi with an external ADC, or any other suggestions?@Petr Dvořák Do you think it's better to use a Raspberry Pi with an external ADC, or do you have anyany info on object detection and segmentation using raspberry pi 4 model B with USB cameraHi , Myself Dileep , can anyone provide me with information or video content on object detection andi need Zynq dev board with LVDS pins exposed, please suggest me boards ?Hey team i need Zynq dev board with LVDS pins exposed, please suggest me boards ? Thank you in advanI was publishing sunrise &sunset time but while using in code its not working. can anyone assist me?I am using MQTT for a small project where through openweather API and Node-red i am publishing surModern C Development EnvironmentThis article provides a comprehensive guide to setting up a modern development environment for C/C++How to Install and Secure the Mosquitto MQTT Messaging Broker on Ubuntu 18.04https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-the-mosquitto-mqtt-messagNEW ARM64 AIOT boards!!!As title, I made two boards base on ARM64 MPU with source code providinng, Yocto/Android/Ubuntu can Embedded Software Contract JobIf you are an Embedded software Engineer and have worked on Nordic SoC e.g nRF52xxx SoC. Just Identi