November 24, 2024, 10:04:26 PM

News:

Be sure to checkout our Vixen interfaces in the Library forum -- if you want PC automation at near zero cost, EFX-TEK and Vixen is a great combination of tools.


Adjusting servo position with a pot

Started by JackMan, October 12, 2013, 10:30:13 AM

Previous topic - Next topic

JackMan

Is there an easy way (or any way) to adjust a servo's position by connecting a pot to the Prop-1? For example, lets say you have the servo programmed for 150 but you need to tweak it without reprogramming the Prop-1.

JonnyMac

Sure, why not. What I would tend to do is use the pot to create a scaling factor for the relay position.
Jon McPhalen
EFX-TEK Hollywood Office

bsnut

Are you looking to keep the servos position after you manually changed it's position and after you've powered down and powered back up?
William Stefan
The Basic Stamp Nut

JackMan

October 12, 2013, 06:33:05 PM #3 Last Edit: October 12, 2013, 08:19:08 PM by JackMan
QuoteAre you looking to keep the servos position after you manually changed it's position and after you've powered down and powered back up?

Yep, once the servo position is adjusted with the pot, it would need to retain that setting unless the pot is changed.

Update: OK, that was easy, got it working. Thanks Jon!  8)

bsnut

QuoteUpdate: OK, that was easy, got it working. Thanks Jon]
Great too hear Jack that you got it working. I love it when someone can push the easy button so quickly. Do you have code to share with us?
William Stefan
The Basic Stamp Nut

JackMan

It was pretty much all in the BASIC STAMP EDITOR Help file for the POT command. Didn't think to look there first.  ::)