A
Adrian Jansen
Guest
No, I am not doing anything wierd with the micro ports. In fact when the
scope picture I posted was taken, the micro was disconnected. I wanted some
answers to a simple question, and got them, thanks to all, but I certainly
didnt create some odd setup just for the fun of it.
--
Regards,
Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
"Spehro Pefhany" <speffSNIP@interlogDOTyou.knowwhat> wrote in message
news:307mb01uep8ckvien9n0itbjc3fnh69hbs@4ax.com...
scope picture I posted was taken, the micro was disconnected. I wanted some
answers to a simple question, and got them, thanks to all, but I certainly
didnt create some odd setup just for the fun of it.
--
Regards,
Adrian Jansen
J & K MicroSystems
Microcomputer solutions for industrial control
"Spehro Pefhany" <speffSNIP@interlogDOTyou.knowwhat> wrote in message
news:307mb01uep8ckvien9n0itbjc3fnh69hbs@4ax.com...
On Mon, 31 May 2004 11:30:02 +0200, the renowned "Frank Bemelman"
f.bemelmanx@planet.invalid.nl> wrote:
"Adrian Jansen" <qqv@noqqwhere.com> schreef in bericht
news:40ba9483@duster.adelaide.on.net...
I posted an image of the rotary encoder bounce to
alt.binaries.schematics.electronic
Same topic as here.
The strange thing is that when contact A opens in a normal way,
the voltage rises from 0V to 2.5V and then rises slowly furhter,
but when it opens due to bouncing, it rises from 0V to 4V ????
How do you do that? Can we see a piece of schematic showing
the encoder, filter and uC inputs?
I'm thinking maybe he's triggering an interrupt from the falling edge
of B, which is doing something unpleasant in sofware via both the A
and B "inputs". Is it an 8051-style pseudo-bidirectional port?
(Re?)writing the 1's to such a port (as you do for an input)will
momentarily turn on the "strong" transistor pullups for a fixed period
of time. Maybe changing any port bit (to high?) will do this (RMW on
the port), but that's more detail than I try to remember, and I've
never run into any problems to really burn the data in. ;-)
Anyway, disconnect the micro, look at the data lines, and you'll know
very quickly.
Best regards,
Spehro Pefhany
--
"it's the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers:
http://www.trexon.com
Embedded software/hardware/analog Info for designers:
http://www.speff.com