Discussion forum for the BasicX family of microcontroller chips.
|
Any help will be most appreciated. I am using pin 11 to pulseout to my Hitec HS-322 servo motor. I added a 4.7kohm resistor betwen pin 11 & servo signal pin. BUT SERVO IS NOT RUNNING. Is there anybody using this motor? How do u check if th servo is OK? Thank you very much. __________________________________________________ |
|
|
|
Hi Chew (bless you) Are you repeating the 1.5 MS pulse about 50 times per second?? Do you have the +5vdc and ground hooked up properly?? If your servo wire is red, white and black then the signal lead is the white wire, red is plus 5 and black is ground. if your servo wire is orange, red and brown the orange wire is signal, red is plus 5 and brown is ground if your servo wire is yellow, red and black, yellow is the signal wire, red is plus 5 and black is ground. Now assuming you have the servo connected correctly can you turn the output arm by hand?? Don't turn it too hard as you can strip the gears in there.. If it turns by hand then it's not powered.. Also you don't need the 4.7 K resistor in thesignal lead as the servo is a TTL input. The 4.7K is probably killing the signal.. Give these things a try and lets us know. Here is some test code to center the servo loop: pulseout 0,150 <--- change the 0 to what ever pin you are using.. pause 20 goto loop Mike B. ----- Original Message ----- From: Chew Wen Hao To: Sent: Saturday, May 11, 2002 6:02 AM Subject: [BasicX] Servo not running Any help will be most appreciated. I am using pin 11 to pulseout to my Hitec HS-322 servo motor. I added a 4.7kohm resistor betwen pin 11 & servo signal pin. BUT SERVO IS NOT RUNNING. Is there anybody using this motor? How do u check if th servo is OK? Thank you very much. __________________________________________________ Yahoo! Groups Sponsor ADVERTISEMENT Height: 4567 ft 01234567891011 in Weight: Sex: F M Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] |
|
From: "Mike Blier" <> > [...] > Here is some test code to center the servo > > loop: pulseout 0,150 <--- change the 0 to what ever pin you are using.. > pause 20 > goto loop Translated to BasicX-Speak: do pulseout 0, 1.5E-3, 1 '<-- change the 0 to what ever pin you are using.. delay 20.0E-3 loop -- Frank Manning -- NetMedia, Inc. |
|
OOOOpppppsssss.... WRONG PROCESSOR!! <g> Mike B. ----- Original Message ----- From: Frank Manning To: Sent: Saturday, May 11, 2002 9:17 AM Subject: Re: [BasicX] Servo not running From: "Mike Blier" <> > [...] > Here is some test code to center the servo > > loop: pulseout 0,150 <--- change the 0 to what ever pin you are using.. > pause 20 > goto loop Translated to BasicX-Speak: do pulseout 0, 1.5E-3, 1 '<-- change the 0 to what ever pin you are using.. delay 20.0E-3 loop -- Frank Manning -- NetMedia, Inc. Yahoo! Groups Sponsor ADVERTISEMENT Height: 4567 ft 01234567891011 in Weight: Sex: F M Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] |