Pinecone Computer
Docs · Keyboards

Keyboards

Which keyboards the Daisy One Plus takes, how to wire each one, and what the keys do.

The Daisy doesn't need a particular keyboard. Whatever is plugged in, DaisyOS turns its keys into the same set of Daisy keys, so PyCone, the editor and DaisyTerm work the same on all of them. There are three ways to connect one. The wiring for the rest of the machine is on the build page.

Option 1: an Atari XEGS keyboard, wired straight to the Pico#

This is what the reference machine uses, and it is the one that has run the most. The XEGS keyboard has two 4051 multiplexer chips on it, so it needs only eight signal lines: the Pico drives six code lines (K0-K5) to pick a key and reads two return lines (KR1 for most keys; KR2 for BREAK, SHIFT and CONTROL). That's what the Atari's POKEY chip did; the Pico reads the whole keyboard every 2 ms.

The Atari XEGS keyboard.
The Atari XEGS keyboard.

The wiring is the table under "Main Pico to the keyboard" on the build page. In short: J1 pins 3, 2, 1, 7, 6, 5 to GP6-GP11, J1 pin 4 to GP21, J1 pin 8 to GP22, J1 9 and 10 to 3.3 V, J1 13 and 15 to ground. The keyboard runs fine at 3.3 V, and then no level shifting is needed.

Main Pico to the XEGS keyboard's J1 connector.
Main Pico to the XEGS keyboard's J1 connector.

Pin 1 of J1 is the top pin on the keyboard's sub-board (C100425). It's worth checking with a meter before you solder: J1 13 and 15 should beep through to a 4051's pin 8, J1 9 and 10 to its pin 16.

Option 2: the keyboard controller (C64, Laser 50, XEGS, or your own matrix)#

For other keyboards there is a small keyboard controller: an ATmega328P (the chip from an Arduino Uno) that scans the keyboard and sends each key press and release to the Pico over two wires. It works like the Amiga's keyboard: the controller only reports which key went down or up, and DaisyOS does all the translating, using the keymap for the keyboard the controller says is attached.

It has firmware for:

A Commodore 64 keyboard.
A Commodore 64 keyboard.
The VTech Laser 50's keyboard.
The VTech Laser 50's keyboard.

Status: the controller and the Pico's side are written and pass their tests in the emulator (the real controller firmware running against the real Pico firmware). They have not yet been run on hardware, so expect some bring-up.

Download (beta): daisy-keyboard-controller-1ed9d48.zip (12.9 KB) has the controller's firmware for each keyboard above. It's beta: tested in emulation only. It needs the main Pico running the keyboard-link build of DaisyOS (below).

Wiring the controller#

The controller runs at 3.3 V, from the Pico's 3V3, on its internal 8 MHz clock (no crystal). Its two link wires go to the pins the XEGS keyboard's KR1 and KR2 would have used:

ATmega328P (DIP-28)Goes to
2 (PD0)KCLK: main Pico GP22
3 (PD1)KDAT: main Pico GP21
4 (PD2)RUN on the main Pico (it resets the Daisy on the reset chord)
7, 203.3 V
8, 22GND
5, 6, 9-14Keyboard rows 0-7
18, 19, 23-28Keyboard columns 0-7
15, 16, 17BREAK, SHIFT, CTRL on their own lines (or RESTORE on a C64)
1RESET, for programming only

Both link lines use the Pico's own pull-ups. The main Pico runs the keyboard-link build of DaisyOS, daisyos-pycone-keylink-3.1.52.uf2 from the Daisy firmware, instead of the usual one (see Flashing).

The diagram below shows, for each of the three keyboards, which connector pin goes to which pin of the ATmega328P, and how the chip wires to the Pico. The controller is programmed through its ISP pins with any AVR programmer, or with a Raspberry Pi and avrdude. Hold no keys while you program it: CTRL and columns 0 and 1 share the programming pins.

The keyboard controller's 28 pins: what each keyboard's connector wires to each one, and the five wires to the Pico.
The keyboard controller's 28 pins: what each keyboard's connector wires to each one, and the five wires to the Pico.

What the controller does besides#

Option 3: a USB keyboard#

Planned, not built yet: an ordinary USB keyboard on the main Pico's USB port, through an OTG adapter, with its keys mapped the way the emulator maps a PC keyboard today.

The keys#

The Daisy's keyboard is laid out like an Atari XE's. On other keyboards the same keys are wherever the keymap puts them.

Updated 2026-12-04