Interpreting servo consistent jump


i connected 2 arduinos via serial, attached servo each , included fsr send pressure information servo on other board.  i kept noticing occasional drop in servo, attached oscillator servo's signal line , noticed interesting.  

i modified servo.h file servos @ rest @ 544ms, low end of 544-2400 range.  then noticed every few seconds or signal pop 644ms, 100ms, when @ rest.  i noticed when used fsr send angle commands 644ms signal appear again, time drawing servo down level brief moment, short go way, noticeably moving servo down.  what cause of signal goes 644ms?

icek

this going become complicated fast.

my best estimate sometime interrupt service routine of servo library delayed isr or code disables interrupts time time. if happens right when servo pin needs turned off, additional pulse length. going length of delay, don't think it's timer tick millis(), wouldn't surprised if delay due isr in communication library.

to analyse , fix dumped gory entrails of libraries you're using. sometime can fix it, in other situations you'll out of luck. messy.

have fun!

korman


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Interpreting servo consistent jump


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums