
Horloge
malik019/horloge-accelerometer
Een compact, ultra-low-power PCB-ontwerp in KiCad voor een klok (horloge). Maakt gebruik van een ATtiny MCU, een ST LIS2DW12 accelerometer voor bewegingsdetectie en WS2812B-MINI RGB-leds

A gamepad designed for retrogaming on '80s computers
RetroPad is an open-source printed circuit board by jtgans, from the jtgans/RetroPad repository on GitHub, published under the GPL-2.0 licence. It is a 4-layer board of 93 × 90.7 mm with 27 parts on 29 nets, routed with 148 tracks and 22 vias.
It is built around the ATTINY814-SSN. Its parts include 11 resistors, 2 connectors, 1 capacitor, 1 IC and 1 diode. It belongs with the retro computing and games and keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

This is an open source Commodore compatible gamepad similar in design to a Genesis or NES gamepad, but designed specifically for the Commodore and Atari 8-bit machines prior to the Amigas.
This project is part of the Nybbles and Bytes Commodore 128D programming series.
The author needed a joystick for her YouTube project, Nybbles and Bytes and felt that joysticks were too imprecise, troublesome, and wanted something more accessible. Gamepads fit the bill, but Master System and Genesis controllers used the wrong electricals and could cause damage to her systems.
The author has tested the initial prototype with a Commodore 128D, but electrically RetroPad should be compatible with any machines that support floating logic level inputs that are expected to be shorted to ground when the switches are closed (open-drain configuration, similar to I2C). This basically means it should theoretically work on the following machines:
The schematics were put together using KiCad 5.0 on a Mac. This should be cross-compatible with any other platform KiCad 5.0 runs on. The author used the DigiKey KiCad Libraries to simplify footprint and symbol selection, so you'll want to download those and set them up globally. They were not included in this project repository as project-specific since that would effectively constitute a fork or redistribution which would then require their licensing. Plus, the project wouldn't get any updated footprints.
The STL files and models of the casing were designed publicly using the parametric modelling tool, OnShape. FreeCAD was originally considered, but unfortunately it's been too unstable for the author to use thus far.
You can get to the RetroPad Shell project in OnShape here.
Search for "RetroPad" in the public models archive and you can get the source models straight from there. For folks preferring to use a different modelling program, the STL files are also available with the schematics in this repository under the case/ directory.
The "RetroPad.step" file is actually just the 3D rendering of the PCBA.
The BOM is very very simple at the moment, basically only using Omron B3F-1000 tactile switches straight from Digikey. Any 8mm pitch tactile switch with a similar profile to the B3F-1000 should work.
The connection to the computer is made using a 9-pin D-Sub connector. Any straight-through female to female 9-pin serial cable should work, supposing the housing allows for it.
Assembly is super easy since it's all through hole parts and two very large 0608 SMD resistors.
The generated BOM is available in the CSV file in this repository, but an actual BOM ordered by the author is available in the digikey.csv file.
The author prefers to use OSHPark as the PCB fab house of choice, though with some finagling you could easily adapt to other providers such as PCBWay or others.
The original PCB is available on oshpark here.
The author used her Prusa i3 Mk3s FDM 3D printer with a 0.2mm layer height and no support to print out the case. The model requires a high degree of precision in the printer, with a 0.1mm tolerance between the fire and jump buttons and the top half of the shell. The D-Pad area requires at least 0.5mm tolerance. You may have to file the parts down a small amount, depending on the resolution and precision of your printer.
Note that the case is designed to hold together using friction, so no fasteners are necessary. Also note that in the v1.1 design, there's not quite enough of a cutout for the cable strain relief to fit, so it may bow out a small amount.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 0 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R7, R8, R9, R10, R11 |
| 5 | 1K | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R1, R2, R4, R5, R6 |
| 2 | MountingHole | MountingHole:MountingHole_4mm | H1, H2 |
| 1 | 0.1uF | Capacitor_SMD:CP_Elec_4x4.5 | C1 |
| 1 | 330 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R3 |
| 1 | ATtiny814-SS | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | U1 |
| 1 | BTN1 | RetroPad:Silicone_Membrane_Pad_11mm_(7.5mm) | BTN1 |
| 1 | BTN2 | RetroPad:Silicone_Membrane_Pad_11mm_(7.5mm) | BTN2 |
| 1 | BTN3 | RetroPad:Silicone_Membrane_Pad_11mm_(7.5mm) | BTN3 |
| 1 | DB9_Male | Connector_Dsub:DSUB-9_Male_EdgeMount_P2.77mm | J1 |
| 1 | DOWN | RetroPad:Silicone_Membrane_Pad_11mm_(7.5mm) | DOWN1 |
| 1 | JUMP | RetroPad:Silicone_Membrane_Pad_11mm_(7.5mm) | JUMP1 |
| 1 | LEFT | RetroPad:Silicone_Membrane_Pad_11mm_(7.5mm) | LEFT1 |
| 1 | RAPID | RetroPad:Silicone_Membrane_Pad_11mm_(7.5mm) | RAPID1 |
| 1 | RAPID | LED_THT:LED_D3.0mm | D1 |
| 1 | RIGHT | RetroPad:Silicone_Membrane_Pad_11mm_(7.5mm) | RIGHT1 |
| 1 | UP | RetroPad:Silicone_Membrane_Pad_11mm_(7.5mm) | UP1 |
| 1 | UPDI | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Horizontal | J2 |
It measures 93 × 90.7 mm and has 4 copper layers, 1.6 mm thick.
27 parts, built around the ATTINY814-SSN. 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 jtgans/RetroPad repository on GitHub, at the commit this page was made from: the board is RetroPad.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-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).

malik019/horloge-accelerometer
Een compact, ultra-low-power PCB-ontwerp in KiCad voor een klok (horloge). Maakt gebruik van een ATtiny MCU, een ST LIS2DW12 accelerometer voor bewegingsdetectie en WS2812B-MINI RGB-leds


OklahomaOpenSourceHardware/OKC-OSH-2024-Badge
2024 badge for Oklahoma PCB Tech Conferences



CmdrZin/Educational-Projects
A group of educational projects to promote hardware and software development.

Gamu2124/RoboCupJunior2026-RobotDatas
Complete data for the robot that won the Japan and World championships / 日本大会優勝 & 世界大会優勝したロボットの全データ

pms67/HadesFCS
Complete flight control system designed from scratch. Hardware designed with KiCad.