Skip to content

matejpokorny/40-percent-ortholinear-rpi-pico-keyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D printed 40 percent ortholinear raspberry pi pico based mechanical keyboard

This is a 3D printed 40 percent ortholinear mechanical keyboard powered by Raspberry pi pico. The repository contains the firmware and tutorial on how to build the keyboard.

If you want to read more about the build, you can find the articles on my blog:

keyboard

* When the heat inserted threaded inserts arrive, the zip ties will be replaced with screws.

The keymaps

The firmware currently contains 3 layers - the default layer, a control layer and a symbol layer.

Default layer

default layer

Control layer

control layer

Symbol layer

symbol layer

You will need

  • 3D printer
  • Raspberry Pi Pico
  • 40 Cherry MX compatible switches
  • 40 keycaps (can be also printed if you want to)
  • 40 1N4148 diodes
  • some wire
  • soldering iron
  • a lot of patience

Tip: if you are cheap like me, you can harvest most of the parts from a cheap second hand mechanical keyboard

Build

  1. Print the case from https://www.printables.com/model/345568-fortyorty

The printed parts in the photos are the unfinished prototype later replaced with the model mentioned above.

base_plate

  1. Assemble all the switches and stabilizer to the base plate

switches

I did not use the stabilizers in the end, as the 2U spacebar works just fine without them.

  1. Solder diodes to the switches and connect them in a row as shown in picture below.
  • You can also use another wire to connect the diodes in a row instead of connecting them directly.

diodes

  1. Solder wires to the rows of diodes and route them to one place

wires

  1. Solder wires to the switches in columns as shown in picture below

wires

  1. Choose your GPIO pins on the pico based on your firmware in pins.py and solder the wires to the pico

pico

  1. Carefully put the pico inside the keyboard.
  • I wrapped the pico in electrical tape to prevent short circuits inside the keyboard.

Currently in its second generation, the case still does not fit correctly, I modified the second prototype with side cutters and the case works with zip ties. If I get around to another model and print, I will update this repo.

Flashing the firmware

  1. Install circutpython on your pico
  2. Copy the adafruit_hid folder to the lib folder on pico.
  3. Modify your keymaps in keymaps.py
  4. Copy the keymaps.py, pins.py and code.py files to the pico.
  5. When you are done testing your firmware, you can copy the file called boot.py to your pico to prevent it appearing as a usb drive on your pc.

Sources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages