[sdiy] Jack insertion detection
tim.parkhurst at gmail.com
Tue Jul 24 05:08:33 CEST 2018
Optical detection? I'm thinking a 3D printed part that is held in place by
the jack, has a fitting for an LED on one side and a phototransistor on the
other, and covers most of the jack to block out most ambient light (use IR
LED and transistor for a little extra rejection of ambient light, maybe
even SMT parts for maximum smallness).
Mechanical? A small tact switch engaged by the tip of the jack or a moving
contact of the jack itself.
Magical? A Tiny Wizard (tm) that relays the jack status back to his other
Tiny Wizard Brothers and Sisters (tm) back on the main board.
Tim (maybe the Harry Potter binge weekend is affecting me) Servo
"Imagination is more important than knowledge." - Albert Einstein
On Mon, Jul 23, 2018 at 2:21 PM, Tim Ressel <timr at circuitabbey.com> wrote:
> Hello supremely helpful folks!
> I've got another challenge: how to detect when a plug is inserted into a
> jack. These are 3.5mm mono jacks btw. The current method is to use a stereo
> jack. When a mono plug is inserted the ring connection gets shorted to
> ground by the sleeve of the plug. This method works well, but the stereo
> jacks are taller than the mono jacks.
> The only jack I can use is a switched mono jack where switched port is
> tied to the tip port until a plug is inserted. My idea is to use the switch
> port to feed an out of range voltage to the tip port, probably a negative
> voltage. Then use a comparator to detect when the tip port goes high.
> Any other thoughts?
> --Tim Ressel
> Circuit Abbey
> timr at circuitabbey.com
> Synth-diy mailing list
> Synth-diy at synth-diy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Synth-diy