Teaching a Cardputer to Recognise Kurdish Numbers

Published October 1, 2026CardputerESP32Machine LearningKurdish

Over the weekend, I spent some time experimenting with an ESP32-based Cardputer. I wanted to see if I could train a small neural network and get it running on the device, using recordings of my own voice.

A tiny neural network2,405 parameters
Model architecture with illustrative activity. This is not a live model prediction.

What I ended up with is a simple audio classifier that recognises me saying 1, 2, and 3 in Ardalani Kurdish. The network has just 2,405 parameters.

I recorded the examples, trained the model from scratch on my Mac, and then put it on the Cardputer. Once it’s installed, the device handles the audio processing and predictions entirely offline. Press Enter, say a number, wait a moment, and the result appears on the screen.

Cardputer resting on a laptop, with the Kurdish number classifier prompting me to say 1, 2, or 3.

Getting there involved a fair amount of recording, listening back, and trying again. Even before training, I needed to check that the microphone was capturing usable audio. Testing the model with fresh recordings brought its own surprises: sometimes it recognised the number correctly, and sometimes it showed “Unsure.”

It’s still a small experiment, and recognition needs more work. But going through the whole process made the pieces much easier to understand: collecting examples, training a model, and seeing how it behaves when I actually use it.

The most satisfying part was saying a number in Kurdish and seeing it appear on that tiny screen, with the model running right there on the device.