Incremental control of servo motor


hello all!

i'm looking way control servo motor incrementaly. mean, if want move servo, specify change of angle, instead absolute position.

in particular case:
when loop starts frst time servo position needs be, lets 90 degrees. required change +30 degrees, : 90+30= 110, , position 110 degrees must send servo , stored. when loop repeats takes 110 degrees current angle, , if next required change 50 degrees, calc 110+50=160 , write pos= 160 deg.

i may try eeprom, far know, type of memory more temporary data...
so, appreceate every opinion!

best regards

quote
so : 90+30= 110

what number base working in there?

why eeprom?
what's wrong ram, or system have hold position across reset?


Arduino Forum > Using Arduino > Storage > Incremental control of servo motor


arduino

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support