Method for input configuration?
Archiver
Posts: 46,084
I've built a controller that will automatically choke the generator
at our cabin via a standard servo. (Using the BS1)
I have (3) pins left, and I am looking for a method to 'modify' the
distance the servo travels. I can hard code it, but I would like to
be able to put the devide into some kind of test mode, and allow user
input to determine the degree of swing.
I need some brainstorms, anyone?
TIA,
-John
at our cabin via a standard servo. (Using the BS1)
I have (3) pins left, and I am looking for a method to 'modify' the
distance the servo travels. I can hard code it, but I would like to
be able to put the devide into some kind of test mode, and allow user
input to determine the degree of swing.
I need some brainstorms, anyone?
TIA,
-John
Comments
bit of empirical testing you can use this data to know the choke arm
position. You can use the other pins as nudge inputs to set the limits
of the position.
Do I get a cookie for solving your problem?
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: ufi911 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=aqcxGWLsYCfT-Qw6XqPtSF1fx0-hr3z5LHJMOV1bs-g43RDZsan0nmUhtX9BqvA7KU2tXtIZYlz8]john@l...[/url
Sent: Saturday, January 24, 2004 7:51 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Method for input configuration?
I've built a controller that will automatically choke the generator
at our cabin via a standard servo. (Using the BS1)
I have (3) pins left, and I am looking for a method to 'modify' the
distance the servo travels. I can hard code it, but I would like to
be able to put the devide into some kind of test mode, and allow user
input to determine the degree of swing.
I need some brainstorms, anyone?
TIA,
-John
realized that the pot is completely unnecessary -- you have control of
the servo position via PULSOUT so you don't need any additional
feedback. So, hook up two inputs to nudge the position. To store a
value you can use a third button or press the original two at the same
time.
-- Jon Williams
-- Parallax
Original Message
From: Jon Williams
Sent: Saturday, January 24, 2004 8:32 PM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] Method for input configuration?
Attach the arm to a pot and use the POT instruction to read it. With a
bit of empirical testing you can use this data to know the choke arm
position. You can use the other pins as nudge inputs to set the limits
of the position.
Do I get a cookie for solving your problem?
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: ufi911 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=HlEb2_x_fC43HgA3_UaqbGrmifIZQ_aDrEZ0TodqcZADtyjoU2ZIOmT8x4x6V_8trTEtX0KCwQ]john@l...[/url
Sent: Saturday, January 24, 2004 7:51 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Method for input configuration?
I've built a controller that will automatically choke the generator
at our cabin via a standard servo. (Using the BS1)
I have (3) pins left, and I am looking for a method to 'modify' the
distance the servo travels. I can hard code it, but I would like to
be able to put the devide into some kind of test mode, and allow user
input to determine the degree of swing.
I need some brainstorms, anyone?
TIA,
-John
You lost me on the cookie part, but I'll tell you what, you can have
one of the cookies Yahoo.com left on my computer!
Thanks again,
-John
--- In basicstamps@yahoogroups.com, "Jon Williams" <jwilliams@p...>
wrote:
> Attach the arm to a pot and use the POT instruction to read it.
With a
> bit of empirical testing you can use this data to know the choke arm
> position. You can use the other pins as nudge inputs to set the
limits
> of the position.
>
> Do I get a cookie for solving your problem?
>
> -- Jon Williams
> -- Applications Engineer, Parallax
> -- Dallas Office
explained my use clearly. Your nudge buttons were the answer I was
looking for. I was trying to make it way too complicated.
And the trip to the store for ice cream explains the cookie comment!
Thanks again,
-John
Original Message
From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=5okTEgbclFn6sF7lf3ndsPuLf72rCoiGpd9ScYjPmJJvbnRwbcudQGzFE3unbgq1mXBM-lGVOoUh3tG2]jwilliams@p...[/url
Sent: Saturday, January 24, 2004 8:52 PM
To: basicstamps@yahoogroups.com
Subject: RE: [noparse][[/noparse]basicstamps] Method for input configuration?
Sorry ... on a mad dash to the corner store for some ice cream I
realized that the pot is completely unnecessary -- you have control of
the servo position via PULSOUT so you don't need any additional
feedback. So, hook up two inputs to nudge the position. To store a
value you can use a third button or press the original two at the same
time.
-- Jon Williams
-- Parallax