Servo making ticking noise and not moving

Hi!I have a problem, I have a code in which a servo is moved after some time to 90 degrees.Everything is soldered, when powering from the computer usb everything works(switch opened from battery), the servo moves without any strange noise.But when powering from battery and voltage regulator at 5.8v the servo starts ticking and doesn't move, and I can move the servo arm with my hand, no resistence is present. Another servo does the same, the voltage regulator can output enough current I think it said that it can output 2A. What's the problem?

Please post it, using code tags when you do

Which Arduino board do you have and how is the battery power connected to it ?

Arduino Nano, the output from the voltage regulator positive goes to VIN and the negative to GND, you can see the whole thing in the photo I uploaded.

In order to power the Nano via the Vin pin teh voltage needs to be at least 7V because it then goes through a voltage regulator on the Nano

If the battery voltage is not more than 12V then feed it directly to the Vin pin and let the on board regulator drop it down to 5V

Out of interest, what type of battery are you using ? Is it by any chance a 9V PP3 battery with 2 terminals on the top ?

1S 3.7v LiPo battery

That makes no sense when you say

Is the "battery regulator" actually a boost converter ? Details please

It'a booster, the output voltage is 5.8v that what I wanted to say

As I explained, the Vin pin requires a supply of at least 7V

Can you change the output voltage of the boost converter and if so, what range of voltahe is available ?

If I'm not wrong, up to 12v?

What is the lowest voltage that it can output ?

I think 2V

Set the output of the boost converter to 5V and connect it between a GND and 5V pin on the Nano. This will bypass the built in voltage regulator and supply current directly to the Nano

If that works, which it should, then I have another comment on your project but get it working first

Strange, now with the battery connected the board doesn't power on and the battery shows 0.18v, but if I open the switch, the battery reads back to normal 3.6v, I also tried to power it with something else and the same happens the output voltage is 0.46v constant, doesn t matter how I power it....

It sounds like you have connected something wrongly.

  • Disconnect everything from the Nano.
  • Check the output voltage of the boost converter and make sure that it is 5V.
  • If it is then connect it to the Nano using the GND and 5V pins
  • Turn on the switch so that the Nano is powered up
  • What is the voltage at the output of the boost converter ?

Well I didn't modify anything, everything is as it was previoulsy....the regulator is broken?

I don't know what is wrong but you did change something because instead of supplying voltage to the Vin pin you supplied it to the 5V pin or should have if you followed my instructions

Please try the steps in reply #14 and report your observations

So I desoldered as you said, first I desoldered the nano from the voltage regulator then tested the regulator, still the same problem.After that I desoldered the servo and then the regulator worked, couls the servo be the issue?

I do not know what problem that is

Please answer these questions

With the output of the boost converter not connected to anything can you set its output voltage to 5V ?

With nothing connected to the Nano except the output from the boost converter which has been previously set to 5V, what is the output voltage of the boost converter ?

With nothing connected to the Nano except the output from the boost converter which has been previously set to 5V, what is the voltage of the battery ?

...

The servo could certainly require more current than the boost converter or the battery can supply

To avoid misunderstandings of language or terminology please answer the questions in reply #18 and these questions. Remeber that I cannot see what you are doing so a phrase such as "the regulator worked" means nothing

With the servo connected to the Nano and the boost converter which has been previously set to 5V connected, what is the output voltage of the boost converter ?

With the servo connected to the Nano and the boost converter which has been previously set to 5V connected, what is the output voltage of the battery ?