
39C3badge
hackwinkel/39C3LEDbadge
hardware design files and firmware for an electronic name tag created for 39C3

A 4-digit 7-segment digital clock, based on the inexpensive Padauk microcontrollers
Pcb s16 is an open-source printed circuit board by serisman, from the serisman/pdk-digital-clock repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 28.8 × 14 mm with 12 parts on 31 nets, routed with 236 tracks and 25 vias.
It is built around the PFS154-S16, 74HC595 and SLR0394DRC5BD. Its parts include 4 capacitors, 3 ICs, 1 connector, 1 switch and 1 crystal.
(for 16-pin PFS154, PFS173, PMS152, or PMS154C)
This PCB design was created with KiCad, and has been shared on OSHPARK. There are also gerber files available in the output/gerber/ directory.
This uses the SLR0394DRC5BD 4-digit 7-segment common cathode 'time' display, which sits over the top of the 74HC595 and the (2) 4x resistor packs. The 74HC595 is used to drive the (4) 7-segment digits, (2) outputs per digit for extra current sink capabilities. The segments themselves are driven directly by the Port B outputs of the Padauk microcontroller.
A single push button is used to set the time, with the following 'user interface':
This digital clock is powered via micro USB cable, although it should work at much lower voltages as well. It isn't really suitable for long-term battery operation, as the LED based 7-segment display consumes enough energy that it wouldn't last very long.
| Ref | Part # | Description | Footprint | Purchase Link | Price | Minimum Purchase |
|---|---|---|---|---|---|---|
| PCB | - | - | - | OSHPARK | $1.033 each | $3.10 for 3 |
| U3 | SLR0394DRA5BD | 4-digit time-mode 7-segment display | - | LCSC C225902 | $0.501 each | $0.501 for 1 |
| U1 | PMS152-S16 | 8-bit Padauk microcontroller | SOP-16 | LCSC C317590 | $0.077 each | $0.39 for 5 |
| U2 | 74HC595D | Serial shift register | SOP-16 | LCSC C93838 | $0.046 each | $0.46 for 10 |
| Y1 | - | 32.767KHz radial cylinder crystal | 2x6mm | LCSC C2236 | $0.045 each | $0.45 for 10 |
| J1 | - | Micro USB connector | - | LCSC C393940 | $0.026 each | $0.52 for 20 |
| SW1 | TS24CA | SPST side-actuated button tactile switch | - | LCSC C393942 | $0.025 each | $0.50 for 20 |
| C2 | - | 10uF capacitor | 0805 | LCSC C92786 | $0.015 each | $0.73 for 50 |
| C3,C4 | - | 20pF capacitor | 0805 | LCSC C309037 | $0.007 each | $0.36 for 50 |
| RN1,RN2 | - | 4x 680 ohm resistor network | 0603_x4 | LCSC C102679 | $0.007 each | $0.35 for 50 |
| C1 | - | 100nF capacitor | 0805 | LCSC C235732 | $0.006 each | $0.30 for 50 |
Total: ~$1.80 each (+/- depending on quantity)

| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 20pF | modules:C_0805 | C3, C4 |
| 2 | 680 | Resistor_SMD:R_Array_Convex_4x0603 | RN1, RN2 |
| 1 | 100nF | modules:C_0805 | C1 |
| 1 | 10uF | modules:C_0805 | C2 |
| 1 | 32.768kHz | Crystal:Crystal_C26-LF_D2.1mm_L6.5mm_Horizontal | Y1 |
| 1 | 74HC595 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U2 |
| 1 | BTN | modules:SMD-SW_Push_3.5x4.55_Side | SW1 |
| 1 | PFS154-S16 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1 |
| 1 | SLR0394DRC5BD | modules:SLR039DRC5BD | U3 |
| 1 | USB_B_Micro | modules:USB_Micro_B_Male | J1 |
It measures 28.8 × 14 mm and has 2 copper layers, 1.6 mm thick.
12 parts, built around the PFS154-S16, 74HC595 and SLR0394DRC5BD. 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 serisman/pdk-digital-clock repository on GitHub, at the commit this page was made from: the board is pcb-s16/pcb.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-3.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).

hackwinkel/39C3LEDbadge
hardware design files and firmware for an electronic name tag created for 39C3


tardate/LittleArduinoProjects
a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

ChrisChrisLoLo/beyblock20
The magnetic, modular, 20-key macropad that can join together to form an ortholinear board

slu4coder/Minimal-64x4-Home-Computer
My DIY TTL home computer with VGA and PS/2 and 4x the processing power of a Commodore C64 or Apple II.

electroniceel/protoboard
Advanced protoboard layout with 1.27mm pitch for smd parts

TobleMiner/DC-UPS
A small DC UPS, designed to keep small appliances like consumer network equipment running during power outages
