Skip to the content
2 layers51.5 × 30 mm74HC18, the printed circuit board in 3D

30-Days-PCB-Design-Challenge

Size
51.5 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
32
Pads
64
Tracks, vias
64, 0
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
3 May 2026
Updated
20 Jun 2026

Overview

74HC18 is an open-source printed circuit board by baleshwarece-jpg, from the baleshwarece-jpg/PCB_PROJECTS repository on GitHub. It is a 2-layer board of 51.5 × 30 mm with 21 parts on 32 nets, routed with 64 tracks and 0 vias.

It is built around the 74HC138. Its parts include 8 resistors, 8 diodes, 3 connectors, 1 IC and 1 crystal. It belongs with the lEDs and displays boards of this library.

Main components

1

README

DAY19-WS28128_RGB_LED_CONTROL/README.md

WS2812B RGB LED Strip Driver

Day 19 / 30 — 30-Day PCB Design Challenge


Description

A level-shifting driver board for addressable RGB LED strips (WS2812B / WS2812 / SK6812). It takes a 3.3V data signal from any microcontroller and converts it to a clean 5V logic signal using a 74HCT245 octal buffer, with bulk and local decoupling to handle the strip's switching current. Solves the standard failure mode of driving WS2812B directly off 3.3V GPIO — flicker on the first LED(s), color errors, or signal loss past short cable runs.

Ideology

This board is part of a 30-day discipline: one PCB, start to finish, every day — schematic, layout, fab-ready output, no exceptions, no half-finished boards carried over. The goal isn't to build something novel each time; it's to internalize the process until it's automatic — datasheet → schematic → layout → DRC → gerbers — so that by day 30, starting a new board takes minutes of hesitation instead of hours.

For this specific build, the underlying principle is fix the signal, don't fight the symptom. A lot of WS2812B projects "solve" flicker with code-side workarounds (delays, retries, shorter strips). This board solves it at the hardware layer — once, permanently — so firmware never has to think about it.

Modules

ModuleFunction
Level-Shifting Module74HCT245 buffer, converts 3.3V MCU data line to 5V logic. Single channel used; OE held low (always active).
Power Input ModuleJST-XH 2-pin connector for 5V/GND. Reverse-polarity protection footprint included.
Decoupling Module1000µF bulk electrolytic at input + distributed 100nF ceramics near the buffer's VCC pin.
Output ModuleJST-XH 3-pin connector (5V / GND / Data) to the strip. 330Ω series resistor on the data line.
Ground ReferenceStar-grounded layout — power return and data return don't share a path back to source.

Steps

  1. Define the problem — identify why direct 3.3V→WS2812B drive fails (logic threshold margin at 5V supply).
  2. Datasheet research — pull timing/voltage specs for WS2812B and candidate level shifters.
  3. Component selection — 74HCT245 chosen over a simple voltage divider or MOSFET shifter for clean digital-only switching with margin.
  4. Schematic capture — buffer, decoupling, connectors, series resistor — in KiCad.
  5. PCB layout — short data trace from buffer to output connector, star ground, bulk cap near power input.
  6. Design rule check (DRC) — clearance, trace width for current path, unconnected nets.
  7. Gerber export — fab-ready output, panelized if batching with other Day-X boards.
  8. (Next) Assembly & bring-up — solder, scope the data line, verify clean 5V logic transitions before connecting a strip.
Screenshot 2026-06-01 232233 Screenshot 2026-06-01 232243 Screenshot 2026-06-01 232301

References

License

MIT


Day 19 of 30 · 30-Day PCB Design Challenge

Parts

21
QtyValueFootprintReferences
8LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD2, D3, D4, D5, D6, D7, D8, D9
8RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R2, R3, R4, R5, R6, R7, R8
2Conn_01x03_PinConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalJ1, J2
174HC138Package_DIP:DIP-16_W10.16mm_LongPadsU1
1Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1Conn_01x08_PinConnector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalY7

More from baleshwarece-jpg/PCB_PROJECTS

12

Similar boards

  • 2 layers181 × 97 mmOpenDeck r3.1.2, the printed circuit board in 3D

    OpenDeck r3.1.2

    shanteacontrols/OpenDeck

    A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

    262 parts960Apache-2.0
  • 4 layers243.8 × 171.5 mmNeotron Pico, the printed circuit board in 3D

    Neotron Pico

    Neotron-Compute/Neotron-Pico

    A Neotron powered by the Raspberry Pi Pico

    242 parts250
  • 2 layers380 × 148.5 mmKeyboard, the printed circuit board in 3D

    Keyboard

    InkboxSoftware/all-screen-keyboard

    The first open source all-screen keyboard

    500 parts241MIT
  • 4 layers100 × 100 mm2063-Z80, the printed circuit board in 3D

    2063-Z80

    Z80-Retro/2063-Z80

    Retro Z80 CPU Board

    86 parts96
  • 2 layers275 × 200 mmMidi grid, the printed circuit board in 3D

    Midi grid

    zukaitis/midi-grid

    DIY midi controller project

    328 parts92
  • 2 layers99.1 × 99.1 mmAv board, the printed circuit board in 3D

    Av board

    rjw57/buri

    This repository contains my work on designing, building and programming a 6502 microcomputer from scratch. The 6502 was the CPU used in the original Apple 1, BBC Microcomputer, NES console and many other systems from…

    42 parts68MIT
  • 2 layers216 × 150 mmMotherboard-101, the printed circuit board in 3D

    Motherboard-101

    artemisamsx/artemisa

    Schematics, PCB designs and HDL simulations to build a 8-bits MSX computer

    124 parts67
  • 2 layers144.8 × 88.9 mmPotentiostat, the printed circuit board in 3D

    Potentiostat

    iorodeo/potentiostat

    Rodeostat design files, software and firmware

    142 parts57CC-BY-4.0

Questions

How big is the 74HC18 PCB?

It measures 51.5 × 30 mm and has 2 copper layers, 1.6 mm thick.

What parts does the 74HC18 use?

21 parts, built around the 74HC138. 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 74HC18 KiCad files?

From the baleshwarece-jpg/PCB_PROJECTS repository on GitHub, at the commit this page was made from: the board is DAY28-74HC138 3-to-8/74HC18.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the 74HC18 design in my own project?

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