
M0110a atmega32 thru hole pcb
esheffield/m0110a-atmega32
An ATMega32 replacement module for the Mac Plus M0110A keyboard controller.

An ATMega32 replacement module for the Mac Plus M0110A keyboard controller.
M0110a atmega32 pcb is an open-source printed circuit board by esheffield, from the esheffield/m0110a-atmega32 repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 17.8 × 51.6 mm with 5 parts on 49 nets, routed with 224 tracks and 13 vias.
It is built around the ATMEGA32A-MU. Its parts include 3 connectors and 1 IC. It belongs with the keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.
This repo contains the schematic, pcb, and code for a drop-in replacement module for the controller in the Macintosh Plus m0110a keyboard. This controller is often damage or destroyed thanks to Apple's bizarre decision to use a cable that that looks like a telephone handset cable and uses the same connectors but is wired differently. If a user tried to use a phone handset cable in place of the original, this would feed reversed polarity power to the controller and kill it.
This replacement is based on the ATMega32 microcontroller. This controller was chosen due to the high number of GPIO pins available. The keyboard uses most of these, with a 10 x 8 matrix, four additional lines for Shift, Caps Lock, Command, and Option keys, and two communication lines for a total of 24 required lines. To aid in debugging if necessary in the future, the dedicated serial TxD and RxD lines are reserved and broken out to an optional header on the module.
The module also provides a standard 6-pin ISP connection. Thanks to the layout of keyboard, it's possible to access the ISP and Serial headers by removing the spacebar.
At this time, this module will only work in the m0110a keyboard as included with the Macintosh Plus. I don't know if the 128 / 512 keyboard and numeric keypad use the same controller. I understand that the keypad in particular has to act as a intermediary between the keyboard and Mac. I expect this work could be adapted, but at the least would require updated code if not changes to the hardware itself.
The design and code are licensed under Apache 2.0.
The code for communication with the Macintosh is based on the work of Tomasz Rękawek (https://github.com/trekawek), specifically his project adapting a PS2 keyboard to a Mac Plus (https://github.com/trekawek/mac-plus-ps2). Many thanks to Tomasz for his valuable work!
| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | ATmega32A-M | Package_DFN_QFN:QFN-44-1EP_7x7mm_P0.5mm_EP5.2x5.2mm | U1 |
| 1 | Conn_01x40_Pin | m0110a:Header_2.54_W15.24mm | J1 |
| 1 | ISP | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J2 |
| 1 | Serial | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
The 4 most common of 5 parts.

esheffield/m0110a-atmega32
An ATMega32 replacement module for the Mac Plus M0110A keyboard controller.



joypad-ai/joypad-os
Universal controller firmware for building adapters, dongles, and custom controllers.

OLIMEX/OLINUXINO
OLINUXINO is Open Source / Open Hardware, low cost from EUR 24 Linux Industrial grade Single Board Computer capable to operate -25+85C

jamro/tiny-engineer
A small desktop robot that brings an AI coding assistant to life, physically acting out when it reads files, thinks, writes code, and finishes work.

hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!


It measures 17.8 × 51.6 mm and has 2 copper layers, 1.6 mm thick.
5 parts, built around the ATMEGA32A-MU. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the esheffield/m0110a-atmega32 repository on GitHub, at the commit this page was made from: the board is m0110a_atmega32_pcb/m0110a_atmega32_pcb.kicad_pcb and its schematic m0110a_atmega32_pcb/m0110a_atmega32_pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).