Teaching with Keyboard Builder

For computer science, computer technology and STEM teachers, co-op leaders and parents. One period on how a keyboard finds a key, one on what a key sends, one on switches and repairs, and what to say about the parts the app makes up.

Using this with a class? Make a free class and add your students yourself: each gets a username and password, with no email or Google account needed. Or give them one join code. Using Google Classroom? Post the link there; with a free class, the link also puts each student in your class, so you see their work. mytekDev is also available from the Google Workspace Marketplace, so your school's Google admin can install it for everyone.A first lesson: One period on the Matrix bench: count the pins, hold Q, W and A, catch the ghost key, and fix it two ways. A second period on the Keymap bench: put the arrow keys on a board that has none, and make one key type a whole line. A third for the Switch bench, two repairs and the build sheet.

Set up a free class Share to Google Classroom
Put this on your class site

Students can use Keyboard Builder right on your page, with no account. What they make stays on that page; to keep their work, they make a free account.

Google Sites: Insert, then Embed, then By URL, and paste this address.

https://mytekdev.com/try/keyboardbuilder?embed=1

Canvas, a blog, or any page that takes HTML: paste this code where you edit the page as HTML.

<iframe src="https://mytekdev.com/try/keyboardbuilder?embed=1" width="100%" height="640" style="border:0" allow="fullscreen" title="Keyboard Builder demo from mytekDev"></iframe>

About these notes

Keyboard Builder is one keyboard on five benches: Build, Switch, Matrix, Keymap and Type. What a student picks on one bench is the board on all of them. Twelve orders from customers are the puzzles. An order closes when the keyboard passes its test, and the test reads the keyboard as built, so a student cannot close an order by clicking around.

Students arrive knowing the videos: the sizes, the switch colors, the sound. That is the way in, and the Build bench gives it to them. The teaching is on the other four benches. If time is short, do the Matrix bench and skip the rest.

The app opens on a plain 60 percent board. Key sounds are off until a student turns them on, and Setup can keep them off for the whole class.

Three periods

Period 1, the Matrix bench: how a keyboard finds a key.

  1. Count the pins (5 minutes) On the projector, ask how many wires a keyboard with 61 keys needs. Open the Matrix bench and pick Wiring: One wire per key. The chip reads 61 pins and the line says the controller has 26. Pick Rows and columns: 19 pins. Ask what was given up to get from 61 to 19. Nobody will know yet.
  2. Watch the scan (5 minutes) Click one key so it stays down. A bright pulse steps along the columns, and the key lights when the pulse reaches its column. Press Step one column to move it by hand. A small controller does this whole pass about 1,800 times a second.
  3. Catch the ghost (10 minutes) Students take the order A letter nobody pressed and click Q, W and A so all three stay down. Within a few seconds S lights pink, and the line reads: The board sees 4 keys. You are holding 3. Ask what the four keys have in common. They are the corners of a rectangle: two rows, two columns. That is what the 19 pins cost.
  4. Fix it two ways (15 minutes) Turn Diodes on and hold the same three keys: three lights, and the order closes. Then take It says anti-ghosting on the box: diodes off, Block the doubt, the same three keys. No ghost, and the line says the board dropped A. Students pick what anti-ghosting meant on that board.
  5. Their own keyboards (10 minutes) Students click the board, then hold Q, W and A on the real keyboard in front of them and read the count under The keyboard in front of you. If it stops at 2, their keyboard dropped the third key. Have them hunt for other threes that fail. Which ones fail depends on the keyboard, so there is no answer key for this part.

Period 2, the Keymap and Type benches: what a key sends.

  1. A key sends a number (10 minutes) On the Type bench students click the keyboard and type. The line under it reads, for example: Row 2, column 9. The board sent code 0C. Your computer turned that into "i". Hold Shift and press a letter: the line says Shift turns on one of eight modifier bits, and the letter's code does not change. Ask who makes the capital.
  2. Arrows on a board with none (15 minutes) Students take Arrows under my fingers. On the Keymap bench they pick Layer 1, click I and pick the up arrow, and do the same for J, K and L. The order closes. On the Type bench they click Fn on the board, which holds it down, and press I: the line says Layer 1 answered and the code is 52. A Chromebook or a Mac has no key where this board has Fn, which is why a click holds it.
  3. Backspace on Caps Lock (5 minutes) Nobody needs Caps Lock there. The catch is in the customer's second sentence: Caps Lock has to go somewhere. A student who only does the first half is told they now have no Caps Lock at all.
  4. One key, a whole line (10 minutes) One key for a whole line: a macro that types Thanks, Sam, on a key. The line under the Type bench says the board pressed 13 keys, Shift included. Ask where the other two came from.
  5. Does Fn reach the computer? (5 minutes) Ask the class. On a board like this one it never does: the keyboard's own controller reads Fn and only changes which layer it looks at.

Period 3, the Switch bench, repairs and the build sheet.

  1. Press it slowly (10 minutes) On the Switch bench pick Light linear and press Press it slowly. The dot climbs a straight line, the key is sent at 2 mm with 45 grams of push, and the bottom is at 4 mm. Pick Tactile: the dot goes over a hill of 55 grams at 1.3 mm, before the key is sent. Ask where on the graph the key is sent. It is never the bottom.
  2. Where is the click? (5 minutes) With sound on, press Clicky slowly. The click comes partway down, before the key is sent. Sharp clicky clicks right about where the key is sent and again, more quietly, on the way up.
  3. A dead key (10 minutes) My H does nothing. Students click keys on the Matrix bench until they find the one that is outlined and never lights, then choose a repair for that key: its switch, its column line or its row line. A wrong choice is counted and the customer says why it was wrong.
  4. A dead column (10 minutes) A column of keys died at once. The reasoning is the lesson: several keys dying together points at what they share. One switch cannot stop a whole column.
  5. The build sheet (10 minutes) Build sheet in the top bar: the keyboard's picture, its parts and price, what the student changed, the orders closed, and the written questions. Hand in needs an answer to every question.

What students get wrong, and where the app answers it

Students often thinkWhere the app answers it
Each key has its own wire to the computerOne wire per key on the Matrix bench: 61 pins, and a controller with 26.
The keyboard sends lettersThe line under the Type bench: a row and a column, then a code, then the character the computer made of it. A remapped key sends a different code from the same key.
Shift and A is a different key from aThe code stays 04. Shift turns on one modifier bit. On the high school level the eight-byte report shows both.
Anti-ghosting means every key always worksBlock the doubt: the ghost is gone, and so is a real key.
A USB keyboard can only send six keysOn the high school level, six keys fill the simple report and the modifiers are still sent. The help says this is a limit of that one message and not of USB.
The key is sent when it hits the bottomThe Switch bench marks where the key is sent, about halfway down, on every switch.
The click is the key hitting the bottomThe click sounds partway down on both clicky switches.
A mechanical switch makes you type fasterThe app says the few studies are small and do not settle it, and that the student is still pressing their own keyboard.
If four keys are dead, replace four switchesThe column repair: a new switch on a dead key changes nothing, and the customer says one switch cannot stop a whole column.
QWERTY was made to slow typists downThe app does not teach this either way. If it comes up: historians do not agree on why the letters sit where they do, and that story is not supported.

These are beliefs teachers report. We found no study of how students think a key press reaches the screen, so treat the left column as things to listen for, not as measured.

The twelve orders

OrderBenchWhat closes itWhat it is about
One for the backpackBuildA 60 or 65 percent board, not clicky, in a clear case, for $85 or lessA size and a switch chosen for where the board will be used
The school storeBuildA board with a number pad and a tactile switch, for $125 or lessLeaving every other part cheap to afford the one that matters
A small deskBuildArrow keys and F keys on a board 32 cm wide or less, for $105 or lessWhat each size gives up. A tenkeyless is too wide
Loud and long lastingBuildA clicky switch and PBT keycaps, for $105 or lessReading what is a fact about a part
A letter nobody pressedMatrixA ghost seen, then the same three keys read as three with diodes onGhosting and the diode
It says anti-ghosting on the boxMatrixA key dropped by Block the doubt, and the right meaning pickedJamming, and what a word on a box can hide
My H does nothingMatrixThe switch under H swappedOne dead part
A column of keys died at onceMatrixThe column line of T redoneWhat the dead parts share
Arrows under my fingersKeymapAll four arrows on letter keys on layer 1, with a key on layer 0 that gets thereLayers
Nobody needs Caps Lock thereKeymapThe Caps Lock key sends Backspace, and Caps Lock can still be reachedA remap has consequences
One key for a whole lineKeymapA macro that types Thanks, Sam, on a key that can be reachedA macro is a list of key presses
I press 7 and get 8KeymapThe 7 key sends 7 againNot every fault is a broken part

An order closes only while it is the one in hand, so a board that happens to fit another customer does not close an order nobody read. A failed test answers the way the customer would, one thing at a time.

The budgets are tight on purpose. The school store order can only be met by keeping the case, plate and caps at their cheapest.

What the app simplifies, on purpose

An independent review checked every key code, datasheet number, help sentence and answer key against sources before the app went live. What it found wrong was fixed, and what is still a judgment is in the list above.

Middle school and high school

The level is a menu in the top bar. Middle school, the default, uses plain words: rows, columns, pins, ghost key, layer, a key's code as a number, grams and millimeters.

High school adds three things. On the Type bench, the eight-byte report being sent: the modifier bits, a byte that is always 00, then up to six keys, and what a seventh key does to it. On the Switch bench, the dashed return line, which sits lower because of rubbing, and the clicky collar switch letting go a little higher than it catches. And contact bounce: with the controller waiting 0 ms, one press is counted four times; waiting 5 ms, once.

The build sheet, Setup and the answer key

The build sheet has the keyboard's picture, its parts and price, the matrix numbers, the keys the student changed, the orders closed, and ten written questions: pins, the ghost, the two fixes, what dead keys share, where a key is sent on the force graph, what Shift and A sends, layers, Fn, whether a switch makes you faster, and one build order. Hand in needs every answer, and editing an answer after handing in takes the sheet back. Print gives the sheet alone, two pages.

Setup, in the top bar, is for the teacher. It picks which of the ten questions are on the sheet, adds up to ten of your own, and opens the answer key. It also has two switches for the room: keep the key sounds off for the class, and leave out the timed line on the Type bench.

The choices are saved in the project. Set it up, save, and share the project with the class as a starter.

The timed line and the sounds

The Type bench has a short line to type. The clock starts on the first key and stops at the end of the line or after a minute. A wrong key does not move the line on. The result is words a minute, counting five keys as a word, percent right, and the keys missed most. It is never saved, never on the share page, and there is no leaderboard. If speed makes your class anxious, leave it out in Setup.

Thirty keyboards clicking is a lot. Sound is off until a student turns it on. Headphones solve it, and so does the switch in Setup. A student who cannot hear loses nothing that an order or the sheet depends on.

The sound tuner on the Type bench has five sliders (pitch, ring, brightness, the sound coming back up, and the click) and four starting points in the builders' own words: thocky, clacky, creamy and poppy. It changes the sound the app makes. It is there because the sound is why students care, and it is not a claim about what any real part does.

Standards

Not claimed: keyboarding standards such as CCSS W.6.6, because the app does not teach typing, and NGSS MS-PS4-3, whose boundary leaves out the specific mechanism of any given device.

More help

Is something on this page wrong or not clear? Write to us.

Page last reviewed November 2026.
Google, Google Classroom and Chromebook are trademarks of Google LLC.