

Diffuino selector
Elixpo’s canonical collection for public build-and-release Chapters, bringing open-source software, reproducible research, hardware, and community contributions into one attributable record.
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 46
- Nets
- 31
- Pads
- 115
- Tracks, vias
- 0, 0
- Routed
- Not yet
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 5 Oct 2024
- Updated
- 7 Nov 2026
Overview
Diffuino selector is an open-source printed circuit board by elixpo, from the elixpo/elixpo_chapter repository on GitHub. It is a 2-layer board with 46 parts on 31 nets.
It is built around the 74AHC1G08GW, 74AHC1G04SE and 74AHC1G32GW. Its parts include 18 resistors, 11 capacitors, 6 switches, 5 diodes and 4 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
374AHC1G08GW
SOT-353-40℃~+125℃ 1 1.5V~3.85V 1.9V~2V、2.9V~3V、3.7V~3.94V、4.4V~4.5V 100mV、360mV~550mV 10nA 2 2V~5.5V 500mV~1.65V 74AHC Series 9.5ns@3.3V,15pF AND Gate Overvoltage-tolerant input StandardCMOS SOT-353 Logic Gates ROHSMDDLogic Gates74AHC1G04SE
SOT-353-40℃~+125℃ 1 1 1.5V~3.85V 1.9V、2.9V、4.4V 1uA 2V~5.5V 500mV~1.65V 7.5ns@5V,50pF 74AHC 8mA 8mA Noise suppression function Schmitt trigger SOT-353 Inverters ROHSDiodes IncorporatedInverters74AHC1G32GW
SOT-353-40℃~+125℃ 1 1.5V~3.85V 1.9V、2.9V、3.94V、4.4V 100mV、100mV、100mV、550mV 1uA 2 2V~5.5V 500mV~1.65V 7.5ns@5V,50pF 74AHC Series 8mA 8mA OR Gate Overvoltage-tolerant input SOT-353 Logic Gates ROHSNexperiaLogic Gates
README
monodiffuse/hardware/diffuino_selector/README.mdDiffuino BCD selector
This KiCad project documents the hardware selector used by Diffuino. Four switches present a BCD value to Arduino UNO Q pins D2--D5. A validity network allows the generate button to reach D6 only for decimal values 0--9, and a separate reset button drives D7.
The request equation is:
VALID = NOT(BCD3 AND (BCD2 OR BCD1))
D6 = GENERATE_BUTTON AND VALIDBCD0 does not participate in validation because values 10--15 are identified by BCD3 together with either BCD2 or BCD1.
Revision from the breadboard prototype
The publication schematic deliberately improves the working prototype:
- 10 kOhm pull-downs replace 220 Ohm signal pull-downs, reducing the high-state current from about 23 mA to 0.5 mA per input;
- 10 nF switch filters and 100 nF button filters reject short transients, while the STM32 firmware independently applies a 40 ms debounce;
- 1 kOhm series resistors limit fault current into D2--D7;
- the trigger indicator is driven through a 2N3904 so it cannot load the logic output sent to D6;
- every logic IC has a 100 nF local bypass capacitor and the rail has a 10 uF bulk capacitor; and
- unused CMOS gate inputs must be tied to ground.
The final circuit uses single-gate 74AHC1G32, 74AHC1G08, and 74AHC1G04 devices powered from the UNO Q 5 V rail. This avoids the unused-input problem of the three multi-gate breadboard ICs while preserving exactly the same Boolean network. Their inputs are driven only by rail-to-rail switches. The UNO Q datasheet documents D2--D7 as 5 V-tolerant MCU digital inputs. Do not reuse this design on non-5-V-tolerant pins or on the UNO Q's 1.8 V MPU GPIO.
Pin mapping
| Signal | UNO Q pin |
|---|---|
| BCD0 / 2^0 | D2 |
| BCD1 / 2^1 | D3 |
| BCD2 / 2^2 | D4 |
| BCD3 / 2^3 | D5 |
| Valid generate pulse | D6 |
| Reset | D7 |
Files
diffuino_selector.kicad_sch: editable KiCad schematic;diffuino_selector.svganddiffuino_selector.pdf: generated exports;generate_schematic.py: reproducible schematic source generator;BOM.csv: component list; andtruth_table.csv: exhaustive validity table.
Regenerate the schematic (requires kicad-sch-api) and publication assets with:
python generate_schematic.py
kicad-cli sch export svg --output . diffuino_selector.kicad_sch
kicad-cli sch export pdf --output diffuino_selector.pdf diffuino_selector.kicad_schThe external RC components improve noise immunity but are not the sole debounce mechanism. The STM32 samples the BCD lines only after accepting D6, locks out additional requests during inference, and leaves the final digit displayed until a debounced D7 reset.
Parts
46| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | 1k | Resistor_SMD:R_0805_2012Metric | R5, R6, R7, R8, R9, R10, R11, R12, R14, R16, R18 |
| 7 | 10k | Resistor_SMD:R_0805_2012Metric | R1, R2, R3, R4, R13, R15, R17 |
| 6 | 100nF | Capacitor_SMD:C_0805_2012Metric | C5, C6, C7, C8, C9, C10 |
| 4 | 10nF | Capacitor_SMD:C_0805_2012Metric | C1, C2, C3, C4 |
| 2 | 74AHC1G08 | Package_TO_SOT_SMD:SOT-23-5 | U2, U4 |
| 1 | 10uF | Capacitor_THT:C_Radial_D5.0mm_H5.0mm_P2.00mm | C11 |
| 1 | 2N3904 | Package_TO_SOT_THT:TO-92_Inline | Q1 |
| 1 | 74AHC1G04 | Package_TO_SOT_SMD:SOT-23-5 | U3 |
| 1 | 74AHC1G32 | Package_TO_SOT_SMD:SOT-23-5 | U1 |
| 1 | ARDUINO_UNO_Q | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J1 |
| 1 | BCD0 | LED_SMD:LED_0805_2012Metric | D4 |
| 1 | BCD0 | Button_Switch_THT:SW_DIP_SPSTx01_Slide_9.78x4.72mm_W7.62mm_P2.54mm | SW4 |
| 1 | BCD1 | Button_Switch_THT:SW_DIP_SPSTx01_Slide_9.78x4.72mm_W7.62mm_P2.54mm | SW3 |
| 1 | BCD1 | LED_SMD:LED_0805_2012Metric | D3 |
| 1 | BCD2 | LED_SMD:LED_0805_2012Metric | D2 |
| 1 | BCD2 | Button_Switch_THT:SW_DIP_SPSTx01_Slide_9.78x4.72mm_W7.62mm_P2.54mm | SW2 |
| 1 | BCD3 | Button_Switch_THT:SW_DIP_SPSTx01_Slide_9.78x4.72mm_W7.62mm_P2.54mm | SW1 |
| 1 | BCD3 | LED_SMD:LED_0805_2012Metric | D1 |
| 1 | GENERATE | Button_Switch_THT:SW_PUSH_6mm | SW5 |
| 1 | GREEN | LED_THT:LED_D3.0mm | D5 |
| 1 | RESET | Button_Switch_THT:SW_PUSH_6mm | SW6 |
Similar boards
- 6 layers100 × 220 mm

- 4 layers90 × 88 mm

Control
AJain9199/AOS16
Table of Contents About The Project Pictures Technical Details Directory Structure To-Do Acknowledgments
129 parts1 - 2 layers33 × 85 mm

Lab3
moi-script/pcb_ui
A simple one-layer PCB "drawer": read a KiCad board, extract the copper traces, and turn them into travel-optimized G-code you can plot on a pen-plotter / small CNC driven by a microcontroller (GRBL — an Arduino running…
19 parts - 2 layers100 × 100 mm

- 4 layers281 × 142 mm

Turing Machine
MelonMars/TuringPCB
A Turing Machine that does not use any premade microchips, but rather is built exclusively on simple components.
255 parts - 2 layers74.2 × 114.5 mm

- 2 layers90.2 × 95.9 mm

Batt Boardv1
UChicago-Space-Program/pulse-hardware
This is the central repository for documents related to PULSE-A hardware development.
60 parts1 - 10 layers130.9 × 63.9 mm

Questions
What parts does the Diffuino selector use?
46 parts, built around the 74AHC1G08GW, 74AHC1G04SE and 74AHC1G32GW. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Diffuino selector KiCad files?
From the elixpo/elixpo_chapter repository on GitHub, at the commit this page was made from: the board is monodiffuse/hardware/diffuino_selector/diffuino_selector.kicad_pcb and its schematic monodiffuse/hardware/diffuino_selector/diffuino_selector.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Diffuino selector design in my own project?
Its repository states no licence, so its author keeps all rights: ask elixpo before reusing the design.