I read in your 1st post that you had tried another servo and another battery holder, but they did not work either.
Well, I have looked at the sketch and the photo, and I am out of ideas, except:
could the jack connecting the battery holder is backwards, with red going to negative and black to positive?
its not backwards i have checked.
but thanks for the help anyway
the next thing i wil check is if i am getting the right volts and amps out of the baterry pack
wait I think i found whats wrong and it is with the code, arduino servo does 1k to 2k milliseconds pulses when the servo is using 1.1k to 1.9k usec pulses
1.5k usec to 1.5 milliseconds it is saying it in https://www.pc-control.co.uk/servo_control.htm
and in the Servo - writeMicroseconds() - Arduino Reference
attempting to drive a servo past its endpoints (often indicated by a growling sound) is a high-current state. which explains the sounds
but idk cant try for like 5 hours.
this is shit, it is 1k to 2k microseconds instead of milliseconds and i am asuming
us and usec is the same thing since i cant find it when i search
so a 100 difrence on usec i need and the microseconds used instead of the more than 1000 difrence
i got the idea while seaching on Control System: +Pulse Width Control 1500usec Neutral from the specifikation sheet http://www.letmodel.cz/technical-data/serva/hs-311.pdf and came apon https://www.pc-control.co.uk/servo_control.htm
and it said something about pulse lenght then i seached what pulse lengt the servo library uses then came apon Servo - writeMicroseconds() - Arduino Reference
and it didnt match the spec sheet(Direction: Clockwise/Pulse Traveling 1500 to 1900usec) and it matched the growling sound i hear from the servo but it just a theory there is some hours before i get home to check
ill try delay(200);
on both instead because i am using 4.8 volt and in the spec sheet
Operating Speed (4.8V): 0.19sec/60° at no load
but thanks, you are really helpfull, hope you continue giving good advice
i have switched library and code to fit the pulse and now its not giving out quite the same sound but when get it on smooth surface it moves now so i think its internal
i have 2 HS-311
one is just making sounds without moving
one is moving switching the way its moving, around 0.2 seconds delay and 0.4 seconds delay witch maches with my new code(i have changed to pin 6 but no other changes was made in the circuit)
#include"ServoTimer2.h"
ServoTimer2 servo1;
void setup()
{
servo1.attach(6);
}
void loop()
{ // put your main code here, to run repeatedly:
servo1.write(1100); //min pulse width for 0 degree
delay(200);
servo1.write(1500); //pulse width for 90 degree
delay(200);
servo1.write(1900); //max pulse width for around 180 degree
delay(200);
}
i have a CARSON B 13374 servo(i couldnt find a sheet to say what it needed so i am afraid to test it).
with moving i mean it is turning it self but it is not turning nub
i got my other servo to work(CARSON B 13374)
thanks guys, i have already tried it before without it working, so you did help
if you are reading this then I appreciate you
Just to clarify: the splined part that is sticking out of the servo body (that you attach the servo arm to) is not moving? Then what is moving?
As far as the Carson servo is concerned, do you know what it was intended to be used for or in? If it is for RC models, then usually the minimum voltage they take is 5V. Some of the high voltage (HV) servos can take 7.2V (2 cell lipos).