0
\$\begingroup\$

I am trying to control regular SG90 servo with a Raspberry Pi Pico. My problem is that those servos produce maximum torque while powered by voltage between 4.8V to 6V (5V is optimal for me.)

I powered the servo with an external power supply and connected the signal wire to one of Pico's GPIO pins. I produced a PWM signal on the pin using th Arduino Servo library, but the motion of the servo is very slow and shaky compared to regular 5V Arduino Nano board doing the same task.

Do I have to level shift the PWM signal to also correspond to 5V logic? If so, what would be the best way to do it?

\$\endgroup\$
3
  • \$\begingroup\$ Have you done a search here about level shifting? \$\endgroup\$ Commented May 6, 2023 at 16:18
  • 2
    \$\begingroup\$ Did you remember to connect the power supply ground to the Pico ground? \$\endgroup\$ Commented May 6, 2023 at 16:20
  • \$\begingroup\$ Yes I did connect them :D \$\endgroup\$ Commented May 6, 2023 at 18:47

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.