engineeringhardware

Building Kifaa on Perfboard: Lessons From Our First Prototype

Back to Blog
Kifaa Team
16 October 2026
engineeringhardware

Before a factory-made circuit board, there is a hand-soldered one. Here's what our first perfboard prototype taught us about measuring twice, trusting nothing, and designing for the mistakes students will make.

Kifaa's final form will be a manufactured circuit board. But you don't order a thousand boards on a guess. First, you build one by hand, and you find out everything you got wrong.

Our first permanent prototype is being built on perfboard: a sheet of fibreglass with a grid of holes, 2.54 mm apart, where every connection is a wire and a solder joint you make yourself. Here is what it has taught us so far.

Lesson 1: Socket the brain, don't solder it

The heart of Kifaa is an ESP32-S3 microcontroller on a development board. We could have soldered it straight onto the perfboard. Instead, it sits in two rows of female headers, so it can be pulled out and replaced.

The reason is simple: Kifaa is built for students, and students will make mistakes. If one ever does destroy the microcontroller despite every protection we add, a school should be able to swap a board costing a few dollars, not throw away the whole device.

Lesson 2: Dry-fit before you solder anything

Our layout tool placed the two header rows 9 holes apart. The development board needs them 10 holes apart. That is a 2.5 mm difference, small enough to look right on screen.

We caught it by pushing the module into the headers before soldering a single pin. Had we trusted the drawing, we would have soldered 44 header pins and only then discovered the board would not fit. The fix took one line of code. The habit it taught is worth far more: the physical part is the source of truth, not the diagram.

Lesson 3: Two boards with the same name are not the same board

The module we had on hand is a third-party ESP32-S3 with a larger, faster type of memory (octal PSRAM) than the one we designed for. It looks identical. Its pins are labelled identically. But on this variant, three of the pins printed on the board, GPIO 35, 36 and 37, are secretly wired to that memory and cannot be used.

If we had connected students' circuits to those pins, three of Kifaa's sockets would simply never work, and the first person to discover it would be a confused student. Instead, we now run an acceptance test on every module before building: read the memory size, toggle each of those pins, and watch them with a meter. The firmware supports both variants, selected with a single build setting.

Lesson 4: Assume the student will wire it wrong

A breadboard invites experimentation, and experimentation means short circuits. So we listed every realistic mistake a learner could make, from connecting an output straight to ground to wiring two outputs against each other, and designed a defence for each:

- A resistor in series with every student pin. Even a direct short to ground is limited to about 15 mA, which the chip handles safely, while LEDs and buzzers still work normally.

- No 5 V on the student breadboard. The most dangerous mistake is feeding 5 V into a 3.3 V pin, so we removed the 5 V connection from the student area entirely. The servo still gets its 5 V, but through a dedicated plug that never touches the breadboard.

- A self-resetting fuse on the student power rail. If a student shorts the power rail, only their breadboard loses power. The screen and the microcontroller stay on, and the firmware detects the drop and shows a message: "Short on the 3V3 rail, check your wiring."

The goal is that a mistake becomes a lesson, not a broken device.

Lesson 5: Build and test the power first

The most expensive mistake in hardware is connecting a miswired power supply to everything else. So the build order is deliberate: battery, charger and voltage booster first, adjusted and measured with a meter before anything else is attached. Then the fuses, which we will short on purpose to check they trip and recover. Only then does the microcontroller go in.

Lesson 6: Work with what you have

Not every part arrives on time. Our board turned out to have two more rows than our layout assumed, so we used them for the ground line and an edge margin. We had no screw terminal for the power input, so the power wires are soldered directly. Neither is ideal, and neither is a reason to stop. Adapting to the parts you have is a skill every Kifaa student will need too.

What comes next

When the perfboard prototype is finished, its real test begins: we will deliberately commit every wiring mistake on our list and confirm the device survives each one. Everything we learn goes into the design of the manufactured Kifaa board.

Building by hand is slow. But every error we catch on our bench is one a student will never have to meet.