~mrp/atreoid_328

0b66c56f — Mark Penner 7 months ago
update readme
3fd7318b — Mark Penner 2 years ago
convert readme.org to README.md; add LICENSE
6dc6b4b9 — Mark Penner 2 years ago
save schematic and pcb in kicad 6

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~mrp/atreoid_328
read/write
git@git.sr.ht:~mrp/atreoid_328

You can also use your local clone with git send-email.

#Atreoid 328 Keyboard

A keyboard based on the Atreus, powered by an Atmega328 microcontroller. It uses the 44 key layout of the Keyboardio Atreus, rather than the 42 key original.

Atreus homepage

Atreus repo

Keyboardio Atreus

#Hardware:

There are two 3d printed 'cases' to glue the keyswitches into, one for each side. They are drawn with OpenSCAD. In case.scad you can set the show = "layout" to see the finished layout, or printable_left or printable_right to export .stl files. (The .stl files are also in the repo.) The KiCAD files for the pcb are in atmega328_board/. It is single-sided and fairly simple, so I acid-etched it. Since the Atmega328 doesn't have built-in USB, V-USB is used for software USB. As described here, USB data lines are expected to be max 3.6v, but the USB supplies power at 5v. I use the zener diode solution to clamp the voltage on the data lines.

How to Build a Custom Keyboard by Matt3o

QMK Handwiring Guide

A modern handwiring guide - stronger, cleaner, easier

#Firmware:

USBaspLoader for the bootloader. In Makefile.inc set DEVICE = atmega328p and PROGRAMMER = -c usbtiny or whatever programmer you're using. In firmware/bootloader.cfg, set the pin numbers to match the pcb with #define USB_CFG_DMINUS_BIT 3 and #define JUMPER_BIT 5. Run make, hook up your programmer to the Atmega328, make flash, make fuse, and it should be ready for QMK.

QMK

QMK GitHub

QMK Docs

Squeezing the most out of AVR

Reducing Firmware Size in QMK