Stage 2 / Your next bench session
One pot.
One push encoder.
Connect real controls to the same Pi application used by the simulator. Wire and verify one input at a time; keep the browser open to see what the instrument receives.
Have the full front assembled? Use the six-pot, two-encoder and three-button wiring plan → This earlier guide remains the direct-ADC bench circuit.
Bench reference / Physical Pico pin numbers
Your breadboard, connected to the Pico.
Current bench plan: one push encoder, two 10 kΩ pots, and two separate pushbuttons. The encoder push is an additional contact. Proposed roles: cutoff, resonance, Back and Home.
The additional pot/buttons are opt-in in the firmware: enable ENABLE_EXTRA_CONTROLS only after they are wired. Start with the pot-only test if you have not checked the parts yet.
First-control reference: one pot and encoder
Mac → SSH → Pi → USB → Pico. Program and read the Pico from the Pi. Disconnect Pico USB before changing wires.
Show the Pico’s physical pin positions
| Connection | First build | Why |
|---|---|---|
| Encoder A, B and push | Internal pull-up on GP2, GP3, GP4 | Already enabled in firmware. Open = high; contact to GND = low. No external resistor needed for the initial short-wire test. |
| Pull-down resistors | None | They are not used with this active-low wiring. |
| Pot wiper → AGND | Optional 100 nF ceramic capacitor | Helps reduce ADC noise; use one of the purchased capacitors. Place close to Pico pins 31/33. No polarity. |
| Encoder A/B capacitors | None initially | Do not add 100 nF by default: with weak pull-ups the edges can become too slow and change phase timing. |
| Push capacitor | None initially | Firmware already waits for 25 ms of stable push input. |
For a short breadboard prototype, start with the existing internal pull-ups. If noise or longer leads become an issue, an external 4.7 kΩ pull-up from each affected GPIO to 3V3(OUT) is a possible later refinement. It is not required now, has not been bench-tested, and those resistors are not in the confirmed purchase list.
Identify the actual encoder contacts before connecting it. Keep the pot/ADC between ground and 3.3 V; no 5 V connection is used for these controls.