0

I bought an SG90 servo motor, seller demonstrated by direct supply check, it works there but with Arduino servo sweep check it does not respond: no error during compiling and uploading, but it does not respond.

While other Arduino examples are working correctly like blink example. I have changed another one but result is the same.

Neither it moves by Arduino nor after installing a grbl shield, where is the problem?

enter image description here

  • 1
    Please, post your arduino sketch and schematic connections. – leoc7 Jan 4 at 15:28
  • Even a small servo motor requires a lot of current. You could add a power supply. Do you use a good quality usb cable? The component on the right of the arduino board, with the golden stripes is a polyfuse of 500mA. That servo motor can draw 500mA or more. – Jot Jan 4 at 16:25
  • Leoc 7, I have already attached a picture. – Adnan Tahir Jan 4 at 17:47
  • @AdnanTahir please post your code. As Leoc7 said, usually powering servos from the Arduino directly isn't the best idea, but in my personal projects I've powered several servos from my arduino, as long as they weren't under any load :) – HavocRC Jan 4 at 17:57
  • Arduino can readily power an SG90 servo under no load in my own experience. Also see this question on Electrical Engineering SE. If you're seeing no response, there is a fault in the wiring, the code, or the servo itself. I think I'm seeing the servo's signal wire (orange) connected to the yellow wire to pin 9. Is your sketch attaching pin 9? What is the brown wire connected to the Arduino near the servo's power & ground (red & black)? – JRobert Jan 4 at 18:45

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.