From: firstname.lastname@example.org (Mike)
Subject: Re: PIC/Microcontroller recommendation?
Date: 16 Dec 2002 21:26:51 -0800
NNTP-Posting-Date: 17 Dec 2002 05:26:52 GMT
I like that idea....now I can change my design before I even get
Have extend, retract and stop pushbuttons as originally stated.
Instead of the two pots, have (1) 3 position toggle switch. Positions
would be manual, auto and set.
When in manual position, extend and retract "jog" (or run) the
respective motors; hardcode a min and max position to avoid
overrunning the motor.
When in set position, pressing extend or retract stores the current
arm position as the limit. So in manual mode, you'd put the arm where
you want it, then switch to set and store the appropriate limit.
When in auto position, 3 buttons act as originally described, but the
limits are those set via the above procedure, instead of by the pots.
Based on the statement below, I assume some of the microcontrollers
discussed have the ability to store data in nonvolatile memory during
standard program running operation?
"Frank Bemelman" wrote in message news:<email@example.com>...
> Low-ohmish 1K pullups and a bit of software filtering... eh
> perhaps up/dn keys for jogging the arm into position - and
> autostore the position feedback in the PIC's e2prom, saving
> 2 pots on the PCB. Timeouts on the motor, for protection, in
> case the feedback doesn't work anymore. There must be more
> we can add ;)
> This is a really nice little project, in particular for those
> who never have used a little microcontroller before.
That would be me. I figure easier to learn this than get out my
circuit design and logic books and start from square one building
logic circuitry though.