Go Down

Topic: SG90 problem (Read 57 times) previous topic - next topic


Today I received this servo, tested this simple sketch on my Pro Mini clone (328p, 3.3V 8MHz).
One cycle goes from 0 to 180, then it moves from 180 to 150 and backa few times, and then the next cycle from 150 to 0 happens. Any reason behind it?

#include <Servo.h>

Servo servo1;      

void setup()


void loop()



Are you powering it off of the board that's running on 3.3V?


Sep 14, 2016, 08:10 pm Last Edit: Sep 14, 2016, 08:15 pm by LightningLion
Are you powering it off of the board that's running on 3.3V?
I've tried multiple options: 5.5V, 3.3V from Arduino and from an external power supply, 5V and 3.3V from USBserial adaptor...

Also, 3x1.5 AA batteries works waaay better than all of the above.

Also: the continuous "clicking" sound is pretty annoying, is it normal?


What does "works waaay better" mean? You mean it works exactly as you expect it to when it's on batteries?

Then that tells you your other setups are underpowered and/or improperly wired. You may have forgotten to connect your commons.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131