Show Posts
Pages: [1]
1  Development / Other Software Development / Re: Servo library handling speed on: November 03, 2012, 05:49:17 am
Here it is!

I haven't take too much time to made a clear and good code, but it is working.
I didnt change the name of the class, so I can change back to the older library just by changing the include.

I wrote an example.

The new function available are:

  void writeMicrosecondsWithSpeed(int value);
  void writeSpeed(int value);
  bool moving();

The others are working without modifications.

By,

Robin
2  Development / Other Software Development / Servo library handling speed on: November 02, 2012, 01:55:44 pm
Hello!

I have made a modification on the servo library to handle speed of the servo.

I dont know if i can propose it somewere.
If someone is interested, feel free to contact me

By

Robin
3  Using Arduino / Motors, Mechanics, and Power / Servo range problem on: November 02, 2012, 11:37:42 am
Hello!

I encounter a little problem playing with my arduino board.
I am just trying to have one servo going in two positions.
The servo is a Futaba s3151 (doc here: http://www.servocity.com/html/s3151_sport_ball_bearing.html)
The Arduino Board is powered by USB, and the servo by a Laboratory Power Suply in 5V, 200mA max. Grounds are connected.

It is working perfectly fine in the mid range (30° to 160° aprox.), or (775ms pulse to 2177ms pulse)
But outside this range, the servo is de-activated.

I switched to the Servo -> Sweep example to eliminate software problem.
The servo is sweeping from 30° to 160°, the a littel pause de-activated, the sweeping  from 160 to 30, the a littel pause de-activated .....

I change to a small 9g servo, and it is working fine the whole range.

Does anyone allready had a problem like this?

Thanks you,

Robin
Pages: [1]