ESP32 Audio Stream Selector

Got it: you want a 3-bit DIP switch to select the Ultranet channel pair in hardware.
  • I’ve prepared a plan to add a 3‑position DIP, tie it into the PLD with pull resistors/optional RC, define the 0–7 code-to-pair truth table, and wire through to the DSP/DAC.
  • Optional: mirror the DIP bits to U3 for status.
Click Start to run the plan. Any preference for pull-up vs pull-down and debounce (yes/no)?
EXPORT TO PDF
This is what the Flux documentation says about exporting a schematic to PDF:
“Can I export my schematic as a PDF?
No, you cannot export a PDF of your schematic from Flux right now.” Source
Which did you want to export to PDF: the schematic or the PCB layout?
Ask about layout PDF
Ask available exports
Ask for BOM export
Ask about images
Ask manufacturing exports

Started implementing a plan

# Goal

- Integrate a 3-bit DIP switch into the Portable Audio DSP project to select the Ultranet channel pair in hardware. The DIP switch setting will feed the PLD, which decodes the 3-bit code and routes the corresponding two audio channels to the DSP and DAC.

# Implementation plan

1. **DIP Switch Integration**

1. Place a 3-bit DIP switch footprint in the schematic.

2. Connect each DIP pole to dedicated PLD input pins with appropriate pull-up or pull-down resistors to ensure stable logic levels.

3. Optionally add RC debounce circuits for noise immunity.

2. **PLD Logic Setup**

1. Define the 3-bit truth table mapping (codes 0–7) to the eight possible channel pairs.

2. Modify the PLD symbol to expose the DIP switch input pins and document the channel pair associations as part of the design notes.

3. **Routing to Audio System**

1. Connect the PLD outputs corresponding to the selected channel pair to the I2S/TDM path leading to the DSP and DAC.

2. Ensure all routing remains on the safe (non-isolated) side of the barrier.

4. **Optional ESP32 Status Monitoring**

1. Route the DIP switch signals to the ESP32 GPIOs as status inputs, verifying that the 3.3V logic levels are met.

2. Label these nets clearly for documentation and testing purposes.

# Success criteria

- A 3-bit DIP switch is integrated and correctly feeds the PLD inputs with stable logic levels (enhanced by pull-ups/pull-downs and optional RC debounce).

- The PLD implements the defined truth table mapping the DIP switch bits (0–7) to eight channel pairs and routes the selected channels to the DSP/DAC.

- Optional routing to the ESP32 for status is completed and verified for 3.3 V compatibility.

- All changes are documented in the design notes, including DIP switch mapping and PLD interface details.

To get started, talk to Flux or create a New Document.

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    Portable Audio DSP.png

    Portable Audio DSP.png

    Portable Audio DSPThumbnail

    Portable Audio DSP

    Portable Audio DSP thumbnail
    Portable Audio DSP project utilizing multiple ICs, capacitors, resistors, and LEDs for advanced audio processing and control. Designed for embedded audio applications with ESP32, ADC, DAC, and interface components. #audioDevices #DSP #ADC #audio #DAC

    Pricing & Availability

    Distributor

    Qty 1

    Arrow

    $27.43–$34.61

    Digi-Key

    $20.38–$60.88

    LCSC

    $110.19–$110.81

    Mouser

    $65.83

    TME

    $34.50

    Verical

    $24.04–$30.84

    Controls