So, I got these breadboard power supplies, and tried connecting the 5V of a SG90 Servo to the 5V and the GND of it to the Gnd of the power supply. Then, I put the other pin to digital pin 9 on the Uno, and used the USK guide code #8 for the servo code. I connected a 9V battery to the DC-IN part of the power supply, and uploaded the code. When I turned the power supply on, the servo spun around really fast to the 180 degree position, so I unplugged it. When I connected the entire servo, GND and 5V and all, it worked with the code perfectly fine. I can't figure out why the Servo is not working with the power supply. Any help is appreciated!
Thanks in advance, Danny.