
Mysterium pcb
coseyfannitutti/mysterium
TKL keyboard that can be entirely assembled using only through hole components, including usb type-c

Isolated-Word Speech Recognition on ATmega32A Using ADC-Based Audio Input
Atmega32 dev board is an open-source printed circuit board by seifmaazouz, from the seifmaazouz/atmega32a-speech-recognition repository on GitHub. It is a 2-layer board with 28 parts on 59 nets, routed with 310 tracks and 14 vias.
It is built around the ATMEGA32A-PU and LM358. Its parts include 7 resistors, 7 connectors, 3 capacitors, 3 diodes and 2 ICs. It belongs with the microcontroller boards boards and the AVR (ATmega, ATtiny) boards of this library.
This repository contains two parts:
speech_training_pipeline/ — Python training and template generationSpeechRecognition.X/ — MPLAB X firmware project for the ATmega32AThe system is split into two halves that work together using a "fingerprinting" approach:
templates.c/.h).We don't compare raw audio files because they are too large and change too much based on how fast or loud you speak. Instead, we use 45 compressed features:
First, the system automatically trims the silence from the beginning and end of the recording so it only analyzes the actual spoken word.
The spoken word is split into 3 equal parts: Beginning, Middle, and End. This allows the system to understand how a word changes over time (e.g., "OFF" starts with a vowel and ends with a "FF" sound).
For each of the 3 segments, we calculate:
Total: 3 segments × 15 numbers = 45 features per word.
speech_training_pipelineSpeechRecognition.XFinal Project/
├── README.md
├── speech_training_pipeline/
│ ├── config.py
│ ├── prepare_dataset.py
│ ├── record_samples.py
│ ├── extract_features.py
│ ├── test_classifier.py
│ ├── generate_templates.py
│ ├── run_pipeline.py
│ ├── raw_samples/
│ ├── samples/
│ └── extracted_features/
└── SpeechRecognition.X/
├── main.c
├── classifier.c/.h
├── features.c/.h
├── templates.c/.h
├── config.h
├── adc.c/.h
├── audio.c/.h
├── lcd.c/.h
├── timer.c/.h
└── nbproject/speech_training_pipeline/templates.c and templates.h into SpeechRecognition.X/A GitHub Actions workflow is provided to automatically compile the firmware into a .hex file without needing MPLAB X installed locally.
To run the build:
atmega32-firmware-hex artifact from the run summary.Run these commands from the speech_training_pipeline/code/ directory.
python prepare_dataset.py --dataset dataset_3When to use: Use this to convert raw 44.1kHz audio files in raw_samples/dataset_3 into the 8kHz mono format required by the MCU. It saves the processed files in samples/dataset_3.
python augment_dataset.py --dataset dataset_3 --output dataset_3_aug --val-ratio 0.2When to use: Use this to create an augmented version of your dataset (adding noise, pitch shifts, etc.). This makes your model much more robust to real-world background noise. It creates a train and val split.
python run_pipeline.py --dataset dataset_3When to use: Use this for a standard run (feature extraction, testing, and template generation) using the clean/base dataset.
python run_pipeline.py --dataset dataset_3 --samples-subdir dataset_3_aug/trainWhen to use: Use this when you want to train on augmented data but automatically validate against a held-out "clean" validation set. This ensures your model generalizes well and isn't just memorizing noise.
All training/testing audio must be 8000 Hz, mono, 8-bit PCM.
pip install numpy scipy soundfile pyaudio| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 330 ohm | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2, R3, R4 |
| 2 | 10Kohm | Potentiometer_THT:Potentiometer_Alps_RK163_Single_Horizontal | RV1, RV2 |
| 2 | 33PF | Capacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mm | C1, C2 |
| 2 | Red LED | LED_THT:LED_D5.0mm | D2, D3 |
| 1 | 100 nF | Capacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mm | C3 |
| 1 | 10K ohm | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R6 |
| 1 | 11.0592MHz | Crystal:Crystal_HC49-U_Vertical | Y1 |
| 1 | 1K ohm | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R7 |
| 1 | 5_to_3V3 | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | J3 |
| 1 | 8.4K ohm | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R5 |
| 1 | ATmega32A-P | Package_DIP:DIP-40_W15.24mm | U1 |
| 1 | AVR_ISP_6 | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | J7 |
| 1 | Green LED | LED_THT:LED_D5.0mm | D1 |
| 1 | Jumper | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | J2 |
| 1 | LCD1602A | Display:WC1602A | DS1 |
| 1 | LM358 | Package_DIP:DIP-8_W7.62mm | U2 |
| 1 | MAX9814_Mic | Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_Vertical | J4 |
| 1 | Push Button | Button_Switch_THT:SW_PUSH_6mm | SW3 |
| 1 | SRAM_L | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | J5 |
| 1 | SRAM_R | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | J6 |
| 1 | USB2TTL | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J1 |
| 1 | push button | Button_Switch_THT:SW_PUSH_6mm | SW2 |

coseyfannitutti/mysterium
TKL keyboard that can be entirely assembled using only through hole components, including usb type-c




null-ll/basketweave
Through-hole Alice-style keyboard with arrow keys and a rotary encoder


lyso1/LCK75
a 75% through-hole keyboard designed by myself with inspiration from the CFTKB Discipline and Yiancar Gingham

dsanchezseco/punk75
Ortholinear keyboard with 75 keys and all components through hole
28 parts, built around the ATMEGA32A-PU and LM358. 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.
From the seifmaazouz/atmega32a-speech-recognition repository on GitHub, at the commit this page was made from: the board is Speech_Rec_PCB/atmega32 dev board.kicad_pcb and its schematic Speech_Rec_PCB/atmega32 dev board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask seifmaazouz before reusing the design.