roryjamesallen / EuroPi-XL

Development of a new, expanded hardware version of the EuroPi reprogrammable eurorack module
1 stars 0 forks source link

[Project Suggestion] Input jack state detectable through GPIO #1

Open roryjamesallen opened 1 year ago

roryjamesallen commented 1 year ago

Input jack state detectable through GPIO

Describe your suggestion or idea
Allow the state (whether a cable is plugged in or not) of any input jack to be checked through software to allow default values to be set if not patched, or for example to allow an external clock to replace an internal one, and then immediately switch back upon removal of the patch cable.

roryjamesallen commented 1 year ago

Suggested implementation

image

This seems to work in falstad although testing on a breadboard is still required.

Any input conditioning, for example a transistor for a digital input or op-amps for an analogue input, will come after this whole stage, directly before INPUT_GPIO in the diagram.