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
Solution:
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
Jump to solution
7 Replies
aymen ammari
aymen ammari8mo ago
Just sweep is enough
electro_coco
electro_coco8mo ago
Just implement pwm on any pin with duty cycle 50 and servo will move
aymen ammari
aymen ammari8mo 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 Ogbonna8mo ago
Great, we learn from experience
Solution
techielew
techielew8mo 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 ammari8mo ago
YES!!
techielew
techielew8mo 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