i run the same mid posn program on a bot board and it sets my mid posn all the way clockwise. i also tried it at 750 and there was no difference. what’s going on? my batteries are charged, my jumpers are set, maybe its got something to do with being in the southern hemisphere? anyone?
Um, maybe on newer or a digital $ervo but on a standard analog servo (specifically I use futaba in planes) the frame rate will influence the position. They used to just rectify the signal in the servo so changing the frame rate is equivalent to changing the duty cycle. I checked with another EE here who has also designed systems controlling rc and industrial servos and this is what he recollects as well. On the other hand if newer analog servo amplifier designs have changed to some sort of pulse width locked loop design in the servo amplifer maybe it works the way you describe.
OK, I resubmit that the frame rate does not appreciably effect the servos output shaft position. Especially in the contect of this thread. What I was referring to is that the pulses on time is what is used to command the output shafts position. The frame rate my have some influence on the final position, but it’s not designed to do this as a control method. okie?
yep i ran the program in the tutorial written by beth frye and the one suggested by head honcho (without the ‘low p0’ at the top) and still the same. the servo posn goes just short of full right. i have hi-tec hs-422 servos…and am running two battery packs in series
If you’re using an Atom you must put the low p0 in there. It makes sure the servo pulses are low/high/low. Without it the pulses usually revert to the high/low/high output which will cause the servo to move full right. It does this because it is seeing a 20mS pulse. This is out of range, but the servo still tries.
Yes, any Atom controller requires you set the output pin the the desired level before sending pulsout commands to that pin. It can be done once at the top of the program.
am running the basic atom, with the low p0 code, have applied vs jumper to the first i/0 bus p0-3 (i.e not the +5v dc jumper configuration - ref. abb manual - p.2)., the pulses are generated and the servo resists turning, but still sets mid posn full right.
Please submit the code you are running. Also please tell us again, you’re using the Atom 28, not the Atom Pro correct? Do you have another servo you could try?
Well I’m at a loss. The program you are running will send 1.5mS pulses to the servo connected to I/O pin0. Are you sure the servo is connected to the correct place on the board? Can you take a digital image of the board so I can check the jumper settings?
I know you said the servo resists turning, but are you able to turn it? If so, does it move relatively slowly back to full CW? If a servo has power on black and red, but the yellow wire is left floating (not connected to a high or a low, and it’s in the vacinity of electrical noise, it can and will rotate slowly till the end stop is reached.
Try moving the servo to another I/O pin and change it in the program. This will verify if the I/O pin is the problem. Are you sure the servo is connected to I/O pin0 and not on AX0?
can’t get a digi image, but my jumpers are as follows:
if you look at the opening page of the lynxmotion Atom Bot Board manual, i have installed the VS/VL jumper (i.e number 7, p.1), and i have applied VS to the i/o bus (i.e diagram 2nd from left in the first row in ‘shorting bar jumpers and connectors at a glance’ , p.2).
i tried it on pin1 and it’s the same…and the servo firmly resists rotation, i can feel the pulses being sent when i try. i don’t suppose there’s any software setup issues (file filters?).
also, i’m running two 3.6v 1200 mAh batteries in series. i know u recommend 1600, could this be a problem?