Human Interface Object to elicit a fine tuned output
dragonvet
Posts: 17
Hello,
I am an amateur at electronics and just getting started with Propeller. I apologize for wimping out but because I'm not sure what some things mean , in the name of saving time, I would like to know if there exists;
1)Hardware : a rotary switch that allows infinite adjustment of a frequency output
2)Object: to allow communication of said switch with Propeller
3)Object: to allow Propeller to display the frequency chosen with said switch on 2x16 Serial LCD (non backlit)
Thanks in advance to anyone who can help,
Rich
I am an amateur at electronics and just getting started with Propeller. I apologize for wimping out but because I'm not sure what some things mean , in the name of saving time, I would like to know if there exists;
1)Hardware : a rotary switch that allows infinite adjustment of a frequency output
2)Object: to allow communication of said switch with Propeller
3)Object: to allow Propeller to display the frequency chosen with said switch on 2x16 Serial LCD (non backlit)
Thanks in advance to anyone who can help,
Rich
Comments
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
I made a unit with basic stamp that has set frequencies at each pin which are chosen with a six position switch. What I would like to do, with Propeller, is be able to dial in more precise frequencies with infinite precision or more precise precision ie down to the hundreths of a Hz ie " 145.67 Hz". I wondered if there was a "knob" or "dial" type adjuster like the ones in cars nowadays that do nothing when the power is off but spin around without any kind of set detentes or positions. Also, as the above would imply, instead of using different I/O pins for different frequency outputs I would like to know if there is an Object code to allow for this infinite variation in frequency from one output pin and then to complicate it further, code to allow the adjuster to see what frequency has been chosen via LCD. It would be nice if this was determinable before the frequency emitter was powered up but if adjustment had to wait until after it was already on that would be fine.
Thanks,
Rich
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
I believe the device you're looking for is called a rotary encoder. Some have detents, some don't.
... and you use the Quadrature Encoder object.
Mind you, the knob adjustment interface is slow, you need a scale adjustment button(s), the HP signal generators used to do that well. I have not got around to that yet, so keep winding, and winding, and winding.