Author Topic: HS-425BB centering  (Read 3264 times)

0 Members and 1 Guest are viewing this topic.

Offline Adityav95Topic starter

  • Full Member
  • ***
  • Posts: 64
  • Helpful? 0
HS-425BB centering
« on: December 26, 2010, 10:13:16 AM »
Can anybody tell me how exactly to modify a Hitec HS-425BB servo using a ROBODUINO using arduino IDE? I have to modify the servo for continuous rotation.

Once u send the signal which is programmed, does the servo automatically center itself on connecting it to the roboduino with the battery or like do u have do some other action like pressing some button etc? I'm a total beginner, so pls bear with me.

Thnx
« Last Edit: December 26, 2010, 10:19:24 AM by Adityav95 »

Offline greasemonkey94

  • Jr. Member
  • **
  • Posts: 29
  • Helpful? 1
Re: HS-425BB centering
« Reply #1 on: December 28, 2010, 09:41:52 AM »
you have to send a pwm signal to the servo to centre it.
the pwm should have width of 1.5 ms to centre it.It depends on the serov ou are using
but i assume its the same for this servo.

look at this-------------->http://www.societyofrobots.com/actuators_servos.shtml
and this---------------->http://arduino.cc/en/Tutorial/Sweep

In the arduino IDE the command should be something like

servo servo1;
servo1.write(90);


Offline Adityav95Topic starter

  • Full Member
  • ***
  • Posts: 64
  • Helpful? 0
Re: HS-425BB centering
« Reply #2 on: January 03, 2011, 04:41:46 AM »
thanks greasemonkey94! i was able to center my servo for modification :)
This was the exact code i used:

#include <Servo.h>
Servo servo1;
int pos = 0;
void setup()
{servo1.attach(9);}
void loop()
{servo1.write(90);
}

 


Get Your Ad Here

data_list