Skip to the content
2 layers48.8 × 43.9 mmAmiga-500-usb kb stamp, the printed circuit board in 3D

A USB keyboard adapter for the Amiga 500 based on the Pi Stamp RP2040

Size
48.8 × 43.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
48
Pads
153
Tracks, vias
141, 17
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
8 Sep 2022
Updated
16 Jan 2024

Overview

Amiga-500-usb kb stamp is an open-source printed circuit board by wiretap-retro, from the wiretap-retro/A500-USB-Keyboard-Adapter-RP2040 repository on GitHub. It is a 2-layer board of 48.8 × 43.9 mm with 18 parts on 48 nets, routed with 141 tracks and 17 vias.

It is built around the TXS0104ED and USB3075-30-A. Its parts include 9 connectors, 4 resistors, 2 capacitors and 2 ICs. It belongs with the retro computing and games boards and the RP2040 boards of this library.

Main components

2

README

README.md

A500 USB Keyboard Adapter RP2040

A USB keyboard adapter for the Amiga 500 based on the Pi Stamp RP2040

front-pcb

Intro

This is a USB keyboard adapter I designed a board for to use in my Amiga 500 tower. It is based on the amigahid-pico firmware by borb (nine). The KiCAD files, Gerbers, and BOM are in this repository. The completed board attaches to the A500's keyboard header and provides a USB pin header for your interface device. On my build, I used a pin header to female USB Type A cable that screws into in the rear of my case on a PCI bracket.

Demo Video: https://youtu.be/7yw0AOvhLqg (Rev 0 board with bodges/resistors. These have been corrected and implemented in Rev 1.)

Parts

  • PCB: I ordered the PCB's from JLCPCB by uploading the Gerber files, but any PCB house should be able to make these since it is a simple/small design. (PCBway, OSH Park, AllPCB, etc.)
  • Pi Stamp RP2040: https://shop.pimoroni.com/products/rp2040-stamp
  • All other PCB mounted components were sourced at Mouser per the BOM. Other sources for the components could be Digikey, Farnell, RS, etc. depending on what is available in your location. Chip/component shortages may impact your ability to get everything all in one place. Substitutions may need to be made.
  • You will need to find a pin header to USB cable that suits your case needs. (Amazon, Ebay, Aliexpress, etc.)

Building the Adapter

  • Solder the smallest SMD components first. (resistors, capacitors, logic level shifter, MicroUSB connector)
  • Solder the right angle pin connectors. (USB header, both LED headers)
  • Solder the through-hole LED resistors.
  • Solder the Pi Stamp RP2040 into place. You can solder directly onto the board, or optionally use the male and female headers to socket mount it. I recommend using the male and female pin headers so you can easily pull the RP2040 out if you need to use it again in the future on another project.
  • Solder the vertical USB_BOOT header into place. The J5 and J6 headers are optional and untested on this design. J5 is for a small OLED screen, and J6 is for debugging.
  • Solder the A500 keyboard connector female headers onto the rear of the PCB. There are two, since some revisions of A500's may have the clock and data pins swapped.
  • I recommend checking all solder joints under magnification to ensure everything is connected with no shorts.

Flashing the Firmware

First off, a huge thank you to Nine for developing the amigahid-pico, as this design uses its firmware. Firmware is located at: https://github.com/borb/amigahid-pico/

  1. Build the firmware per the instructions at https://github.com/borb/amigahid-pico/blob/main/doc/installation.md
  2. Place a jumper on the USB_BOOT pin.
  3. Plug a MicroUSB cable to the PCB's MicroUSB port and plug the other end into the PC you just compiled the firmware on. It will then show up as a mass storage device.
  4. Remove the jumper from the USB_BOOT pin.
  5. Copy the amigahid-pico.uf2 file from the "build/src/" directory you compiled to the RP2040's mounted USB storage volume. It will then disconnect/reset.
  6. Disconnect the USB cable from the PC and keyboard adapter PCB.

Installation into the Amiga

  1. Gain access to your Amiga 500 motherboard.
  2. Disconnect the keyboard if it is still connected.
  3. Plug the PCB into the A500's keyboard header either the Type A or Type B socket. For reference my Amiga 500 Rev 6A needed Type A.
  4. Plug your USB cable into the pin header. Pay close attention to the orientation of the leads.
  5. Plug the keyboard or wireless keyboard adapter into the other end of the USB cable.
  6. Boot the Amiga and test it out!

Optional Stuff

  • If using a tower case, you can plug in the Power LED and HDD LED to the pin headers on the PCB to show the status indications.
  • USB HID mouse support is included in Nine's firmware, but none of the mice I used would work with it. I use a DB9 connected OpenLaserMouse anyway, but maybe you'll have better luck testing various mice to see if one works. I know the firmware is still an in-progress project, or maybe I didn't do something right when I compiled the firmware.
  • Amiga keys are currently mapped to right and left windows keys. Before compiling the firmware, you can modify those keys if necessary at your own discretion.
  • Reset is initiated by Left Ctrl + Left Win + Right Win (CTRL + AMIGA + AMIGA)

Miscellaneous

This board is provided as-is and open source. It does not provide firmware and relies on a different project as linked above. I have personally built and tested this on my Amiga 500 Rev 6A with a custom mechanical keyboard utilizing QMK/VIA firmware. If you plan to sell this board, firmware is per the license at: https://github.com/borb/amigahid-pico/

Revisions

  • Rev 2 - Current rev, corrected floating ground on logic conversion.
  • Rev 1 - Corrected resistor pullup/pulldown. Depreciated.
  • Rev 0 - Depreciated

Parts

18
QtyValueFootprintReferences
2100nFCapacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolderC1, C2
210kResistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolderR1, R4
2R_SmallResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2, R3
1DEBUGConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ6
1Floppy LEDConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ8
1I2CConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ5
1Power LEDConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ7
1RP2040_StampSamacSys_Parts:RP2040_Stamp_THTU1
1TXS0104EDSOIC127P600X175-14NIC1
1Type AConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ3
1Type BConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ4
1USB3075-30-AUSB307530AJ1
1USB_BOOTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ9
1USB_HEADERConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ2

The 17 most common of 18 parts.

Similar boards

  • 2 layers55.2 × 53 mmAmiga-2000-usb kb stamp, the printed circuit board in 3D

    Amiga-2000-usb kb stamp

    wiretap-retro/A2000-USB-Keyboard-Adapter-RP2040

    A USB keyboard adapter for the Amiga 2000 based on the Pi Stamp RP2040

    14 parts11
  • 2 layers36 × 43 mmAsac fc rev a, the printed circuit board in 3D

    Asac fc rev a

    victorhook/asac-fc

    asac fc is an rp2040 based flight controller made for FPV drone flying

    119 parts52GPL-3.0
  • 4 layers33.8 × 46 mmOSW rakWisblock, the printed circuit board in 3D

    OSW rakWisblock

    a-allard/OSW_rakWisblock

    Derivative of the OSW using the RAK WisBlock

    70 parts2
  • 4 layers115 × 75 mmRF module, the printed circuit board in 3D

    RF module

    putsolardynamics/Telemetry-Module

    146 parts2MIT
  • 2 layers20.6 × 26.2 mmProg, the printed circuit board in 3D

    Prog

    korneliuszo/nhci

    USB for Win95 on PCMCIA

    12 parts14
  • 2 layers30.8 × 24.4 mmWii Bluetooth Replacement, the printed circuit board in 3D

    Wii Bluetooth Replacement

    JSnowden33/Wii-Bluetooth-Replacement

    This project is a full replacement for the Nintendo Wii's Bluetooth module. Emulation of the Bluetooth module is performed on the PIC32 based on rnconrad's emulator, while controller connectivity on the ESP32 is based…

    50 parts48GPL-3.0
  • 2 layers115.2 × 78.6 mmL0destar, the printed circuit board in 3D

    L0destar

    m4rkw/l0destar

    l0destar open-source tracker project

    164 parts43
  • 2 layers85 × 54 mmGps mezzanine, the printed circuit board in 3D

    Gps mezzanine

    96boards/mezzanine-community

    Repository for community designed mezzanine boards for the 96boards specification.

    182 parts32

Questions

How big is the Amiga-500-usb kb stamp PCB?

It measures 48.8 × 43.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Amiga-500-usb kb stamp use?

18 parts, built around the TXS0104ED and USB3075-30-A. 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.

Where can I download the Amiga-500-usb kb stamp KiCad files?

From the wiretap-retro/A500-USB-Keyboard-Adapter-RP2040 repository on GitHub, at the commit this page was made from: the board is amiga-500-usb-kb-stamp/amiga-500-usb-kb-stamp.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Amiga-500-usb kb stamp design in my own project?

Its repository states no licence, so its author keeps all rights: ask wiretap-retro before reusing the design.