Skip to the content
PCBKitNew board
2 layers65 × 56.5 mmRPi Hat, the printed circuit board in 3D

I wanted an alternative to the SD2IEC on my Commodore 64, and I almost instantly took a liking to Pi1541 software. I did however need to design a board for it and this was the end result - even includes beepers, OLEDs and two IEC connectors

Size
65 × 56.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
23
Pads
126
Tracks, vias
413, 51
Pours
1
Routed
Yes
KiCad
KiCad 4
Created
23 Aug 2018
Updated
11 Oct 2020

Overview

RPi Hat is an open-source printed circuit board by tebl, from the tebl/C64-Pi1541-Module repository on GitHub. It is a 2-layer board of 65 × 56.5 mm with 22 parts on 23 nets, routed with 413 tracks and 51 vias.

Its parts include 5 switches, 4 ICs, 3 resistors, 1 capacitor and 1 diode. It belongs with the retro computing and games boards of this library.

README

README.md

PI1541 Hat

OK, so the new and shiny SD2IEC wasn't all you wanted from a lowcost floppy emulation solution for your Commodore 64! Sure, there are other good solutions out there for those willing and able to put a lot of money into the FPGA-based alternatives - personally can see myself affording one of them someday, but that needs saving up some money I don't currently have. Also, I don't want my other retro computers to think I'm completely biased towards the Commodore-stuff so options were needed...

Thankfully, some enterprising folks have taken it upon themselves to create a solution based on the Raspberry Pi (3B or newer) and with some extra modifications we all can build one. Personally I prefer clean and nice PCBs over hacked together stuff, so away I went to make one in KiCAD. My design is based on what the original coder of the Pi1541 software has named option B, but given that option A assumes only one device on the serial bus I wanted something that would work with a physical 1541 drive as well (how else am I supposed to backup my old rotting disks?).

For more details on the software, see https://cbm-pi1541.firebaseapp.com/ for more details not included in my humble hobby project. The base template used as a starting point for the RPi hat, including RPi-specific connectors, is found on https://github.com/xesscorp/RPi_Hat_Template.

Pi1541 Revision B Pi1541 Installed and mounted on Raspberry Pi 3B+

BOM

This is the part list as it stands now, everything should be readily available from your friendly neighbourhood electronics store - for me that means ebay, but your mileage may wary. The design of the board has been kept simple so that anyone with access to a reasonably sized soldering iron should easily be able to assemble it themselves, all parts are through-hole so no need to fear those tiny SMD-parts because you won't find any of them here!

Values in parenthesis are components that are to be considered optional, but if you want to build it for yourself I higly recommend them as they only slightly increases the overall cost of doing this project. Displays should be of the I2C-variety with 4 pins in the following order: GND, VCC, SCL and SDA.

ReferenceItemCount
PCBFabricate using Gerber files (order)1
J12x20 pin long female header1
BZ1Buzzer (7mm pin spacing, 5mm OK)(1)
C1100nF ceramic capacitor1
R1100 Ohm resistor1
R2, R31k Ohm resistor2
IEC1, IEC2Female S-terminal 6pin DIN PCB1 (1)
IC1SSD1306 OLED-display 128x64 (0.96")(1)
IC27406 DIP1
IC34ch I2C level converter module1
IC4SSD1306 OLED-display 128x32 (0.91")(1)
SW1-SW5Momentary push button, 6x6mm(5)
D15mm LED, red for authenticity1

Please use the order link above when signing up to help me support this project, I'll get a small discount on future orders and hopefully that means I can afford to keep developing new and exciting modules in the future. By using the URL you won't have to deal with the rather daunting order forms for PCB fabrication, but if you want to go that route they'll probably want a zipped-up copy of the files in the export-directory!

Parts

22
QtyValueFootprintReferences
4RPi_Hat:RPi_Hat_Mounting_Hole, , ,
21KResistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R3
2C64_IECC64_IEC:C64_IECIEC_1, IEC_2
10.96_I2C_OLEDIIC_OLED:0.96_I2C_OLEDIC1
10.96_I2C_OLEDIIC_OLED:0.91_I2C_OLEDIC4
1100Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
1100nFCapacitors_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC1
17406Housings_DIP:DIP-14_W7.62mm_SocketIC2
1Add DiskButtons_Switches_THT:SW_PUSH_6mm_h5mmSW5
1BuzzerBuzzers_Beepers:Buzzer_12x9.5RM7.6BZ1
1DownButtons_Switches_THT:SW_PUSH_6mm_h5mmSW3
1ExitButtons_Switches_THT:SW_PUSH_6mm_h5mmSW4
1I2C LCIIC_4CH_Level_Converter:4CH_I2C_Level_ConverterIC3
1LEDLEDs:LED_D5.0mmD1
1RPi_GPIORPi_Hat:Pin_Header_Straight_2x20J1
1SelectButtons_Switches_THT:SW_PUSH_6mm_h5mmSW1
1UpButtons_Switches_THT:SW_PUSH_6mm_h5mmSW2

Questions

How big is the RPi Hat PCB?

It measures 65 × 56.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RPi Hat use?

22 parts. 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 RPi Hat KiCad files?

From the tebl/C64-Pi1541-Module repository on GitHub, at the commit this page was made from: the board is RPi_Hat.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the RPi Hat design in my own project?

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

Similar boards

  • 2 layers158 × 11 mmDaylight Matchstick, the printed circuit board in 3D

    Daylight Matchstick

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    22 parts1.1kGPL-3.0
  • 2 layers57 × 65 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    22 parts1kGPL-3.0
  • 2 layers81 × 57.2 mmRP2040-Macropad, the printed circuit board in 3D

    RP2040-Macropad

    hackclub/OnBoard

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

    22 parts915
  • 2 layers54.6 × 70.9 mmBeagleLogic Cape, the printed circuit board in 3D

    BeagleLogic Cape

    abhishek-kakkar/BeagleLogic

    A Software Suite that implements a logic analyzer with the PRU on the BeagleBone / BeagleBone Black.

    22 parts479GPL-3.0
  • 2 layers66.4 × 24.5 mmConnecting piece, the printed circuit board in 3D

    Connecting piece

    Chrismettal/flipper-zero-backpacks

    Backpack-style addon boards for the Flipper Zero!

    22 parts456
  • 2 layers51 × 70 mmDMG A04-01, the printed circuit board in 3D

    DMG A04-01

    HDR/NintendoPCBs

    Replacement pcb's for Nintendo games.

    22 parts321
  • 2 layers27.8 × 16 mmSpi 1v8 level shifter, the printed circuit board in 3D

    Spi 1v8 level shifter

    CRImier/MyKiCad

    My KiCad boards. Can't be bothered uploading individually anymore, so here you go.

    22 parts253GPL-3.0