ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

PRO
Belgium
#18  

i saw it but you cant controle a servo on a adc port itself. i wonder would a LED work? on a adc port?

PRO
USA
#20  

Seems like you need a script:

Rich:

ADC to servo movement

:loop $value=GetADC(ADC0) $position = $value/100 $position = Round($position,0) Servo(D1,$position) Sleep(250) Goto(loop)

Or

/ ADC to servo movement

:loop $value=GetADC(ADC0) $position = $value/100 $position = Round($position,0) $position = Map($value, 54, 129, 180, 1 ) #adjusted first two values to read min/max read ADC project, 2nd two for direction (reverse 1 and 180). Servo(D0,$position) Sleep(250) Goto(loop)

PRO
Belgium
#21  

i wanted to use contineous rotation servo's.

PRO
USA
#22  

from NallyCat - @Nomad 6R there is a tutorial on synthiam for that, have a look at " Using ADC (Analog to Digital) Ports, Commands and Controls." by Steve G.

Looks like the one I already gave you - check

EzAng

PRO
Belgium
#23  

i have another question about adc ports.didn want to open another topic. is it possible to control a LED ,excample on/off ,with an adc port? i notest a led goes on from 3 volt.