On a sunny day (Fri, 11 Jan 2008 15:08:30 -0800) it happened Joerg
<PFShj.13779$6%
[email protected]>:
Jan Panteltje wrote:
Ideas and thoughts about a 2 knob control approach for the (PIC)
oscilloscope
Well you know how it goes, I looked, I thought 'It has enough pins
(this PIC)'
so it will drive the graphics (I am talking about a 16F690, and
64x128 LCD),
have 2 analog inputs, a trigger input, huh, but only 20 pins, minus
supply
makes 18.
IO expanders is cheating, and I already have the PICs.
So to find a nice quick system to set the following things, with
only TWO
IO pins left free ;-)
gain ch1, gain ch2, trigger level, trigger polarity, trigger mode,
pos ch 1, pos ch 2, timebase speed, timebase vernier, etc.
Now what I came up with is this (and I will have to use it, so it
better work):
2 potentiometers on 2 analog inputs of the PIC -FOR ALL CONTROLS-.
The list above displayed on the bottom of the graphics LCD like this:
CH1 CH2 tr. level tr. source etc
5mV/div 100mV/div -1 CH1
A B C D E
Now turning one potentiometer (pot1) selects horizontally
either A, B, C, D, E, etc (possibly highlighted),
and you can quickly move between settings.
The other potentiometer sets the value for the selected item.
So if for example A is selected, then turning pot2 switches from
2mV to 10mV to 50mV etc,
Some items are adjusted continuous (like trigger level), and some
in steps (like
trigger polarity).
I have come to the conclusion that this way of controlling is very
very fast,
only requires 2 analog knob turns for every control, one if you
stay with a control.
------------------------------------
| |
| | <-- trace display area
| |
| |
| .. .. .. .. .. .. .. .. .. .. .. | <------- on screen items
------------------------------------
In1 In2 Tr. in P1 P2
^^^^^^^--------- The only 2 controls!
connectors
So I hereby put this idea in the public domain, if anyone wants to
patent it, then
you are faced with prior art.
Copyright (C) Jan Panteltje Fri Jan 11 23:47:15 CET 2008
IIRC there is a scope that does the same, except that it uses rotary
pulse encoders instead of a potmeter. So there might be prior prior
art ;-)
mm, yes, that is possible, in that case you are out of luck if they also
patented potentiometers.
But why pulse encoders? The PIC ADC is 10 bits, there is visual
feedback,
if too many items, then I can perhaps software scroll the list
horizontally.