Skip to the content
2 layers100 × 100 mmTach v1.0, the printed circuit board in 3D

Precision non-contact optical tachometer (0–9999 RPM/RPS) built entirely with discrete CMOS logic & 555 timers; no microcontroller, no firmware. Includes KiCad EDA, 3D model, Python simulation, and bench validation.

Size
100 × 100 mm
Copper layers
2
Thickness
1.6 mm
Parts
99
Nets
149
Pads
378
Tracks, vias
942, 14
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
22 Oct 2026
Updated
22 Oct 2026

Overview

Tach v1.0 is an open-source printed circuit board by maheen-ahmed1, from the maheen-ahmed1/OptoTACH repository on GitHub. It is a 2-layer board of 100 × 100 mm with 99 parts on 149 nets, routed with 942 tracks and 14 vias.

It is built around the CD4026BE, CD4017BE and CD4060, with the NE555P, CD4093 and TCRT5000 among its other parts. Its parts include 45 resistors, 22 capacitors, 14 ICs, 4 diodes and 2 transistors.

Main components

6

README

README.md

OptoTACH

A Precision Non-Contact Optical Tachometer Built Entirely Without a Microcontroller

Hardware Status EDA Tool Architecture PCB Specs License

OptoTACH is a discrete hardware engineering project that implements a full-featured, 4-digit optical tachometer (0–9999 RPM / RPS / Event Counter) using pure CMOS logic and analog timing circuits—completely free of microcontrollers, firmware, and software dependencies.

⚡ Showcase & Physical Verification

3D CAD VisualizationAssembled Hardware PrototypeLive Calibration vs Commercial Bench Standard
OptoTACH 3D RenderOptoTACH Assembled HardwareLutron DT-2236 vs OptoTACH
Raytraced 3D model in KiCadPhysical board with socketed DIP ICsBenchmark vs Lutron DT-2236 (2267 vs 2280 RPM)

🎬 Live Bench Demo

The board measures the rotational velocity of a high-speed cooling fan equipped with a reflective marker. The reading automatically updates every 4 seconds with zero display jitter.

OptoTACH Bench Test Demo
Live demonstration: OptoTACH benchmarked alongside an industrial Lutron DT-2236 photo/contact tachometer.
▶️ Download / View Full 1080p Demo Video (2 min 50 sec, 35 MB MP4)

🔄 Inspiration & Circuit Redesign (Overcoming IC Obsolescence)

This project was inspired by the original design published by Mousa Simple Projects (August 2020). However, the schematic in OptoTACH is fundamentally redesigned due to component obsolescence and supply-chain constraints.

The Problem: Obsolescence of the CD40110

The original 2020 design relied on 4 × CD40110 integrated circuits. The CD40110 incorporates an up/down decade counter, 7-segment decoder, and an internal display latch into a single package. Because the CD40110 has been largely discontinued and is unobtainable in South Asian markets (including Bangladesh), building the circuit directly from the original schematic was impossible.

The Solution: Re-engineering with the CD4026BE

OptoTACH replaces the obsolete chips with the widely available CD4026BE (decade counter with 7-segment decoder). However, the CD4026 has no internal display latch. Without a latch, displaying raw pulses as they accumulate during a 1-second counting window would result in an illegible rolling blur.

To solve this without adding extra counter or latch ICs, OptoTACH introduces a synchronized digital gating & display blanking mechanism:

Feature / SubsystemOriginal Mousa Circuit (2020)OptoTACH v1.0 (Redesigned)Why the Change Matters
Counter ICs4 × CD40110 (Obsolete / Discontinued)4 × CD4026BE (Standard / Readily Available)Overcomes supply-chain unavailability
Display StorageInternal CD40110 Display LatchDigital Blanking Window (CD4026 Pin 3 DE)Enables rock-solid readout without latch ICs
Gating TimingContinuous asynchronous display1.000 s Gate once every 4.000 sDigits blank during 1 s count; hold static for 3 s
Gate DerivationR/C & basic logicExact Quartz Binary Division ($Q_4 \text{ AND } Q_5$)Zero drift (<0.005%) derived from 32.768 kHz crystal
Silicon OverheadSpare gates left unused100% Gate Utilization of CD4093Blanking & gating use spare Schmitt NAND gates (0 added ICs)
Operating ModesSingle fixed mode3 Switchable Modes (RPM, RPS, Counter)Onboard 4-position DIP switch (SW1)
Physical PCBPrototype breadboard / perfboardProduction 2-Layer 100×100mm PCBSocketed ICs, ground planes, DFM compliant

🎯 Key Specifications

ParameterSpecificationNotes / Hardware Source
Measurement Range0 – 9,999 RPM (or RPS / Events)4-digit common-cathode 7-segment display (DS1–DS4)
Measurement ModesRPM, RPS, and Continuous CounterConfigured via onboard 4-way DIP switch (SW1)
Sensor TypeVishay TCRT5000 Optical Reflex Sensor950 nm IR emitter + phototransistor; 0.2–15 mm sensing gap
Timebase Reference32.768 kHz Quartz Crystal (Y1)Division via dual CD4060BE ripple counters; drift < 0.005%
Measurement Window1.000 s Gate every 4.000 sDigital AND gating (Q4 & Q5) via Schmitt NAND (CD4093)
Multiplier Ratio×60 Pulse Multiplier (for direct RPM readout)Dual CD4017 cascade gating a high-frequency NE555 burst
Operating Supply5.0 V – 6.0 V DC (4 × AA cells or bench PSU)Reverse-polarity protected with onboard bulk decoupling
PCB Dimensions100.0 × 100.0 mm, 2 layers, FR-4100% Through-Hole Technology (THT) for easy hand assembly
Fabrication StateJLCPCB Ready (DRC 0/0, ERC 0/0)Gerbers, BOM, drill files, and assembly maps verified

🧠 System Architecture & Circuit Operation

text
                                    +-----------------------------------------------+
                                    |               MODE SELECT (SW1)               |
                                    |   RPM: 0110   |   RPS: 0101   |   CNT: 1000   |
                                    +-----------------------+-----------------------+
                                                            |
 [Target Shaft]                                             v
  +----------+       +---------------+       +------------------------------+       +-------------------+
  |Reflective| ----> |   TCRT5000    | ----> | Optical Conditioning & Burst | ----> |   4-Digit CD4026  |
  |  Marker  |       | Sensor (U1)   |       | Multiplier (NE555 + CD4017)  |       |   Counter Chain   |
  +----------+       +---------------+       +------------------------------+       | (U11,U12,U13,U14) |
                                                            ^                       +---------+---------+
                                                            |                                 |
 [Quartz Timebase]                                          | Gate Signal                     v
  +----------+       +---------------+       +--------------+---------------+       +-------------------+
  |32.768 kHz| ----> | 2 x CD4060BE  | ----> |   CD4093 NAND Logic Gate     | ----> | 4 x 7-Segment LED |
  | Crystal  |       | Dividers      |       |  (1.0s Gate / 4.0s Period)   |       |  Displays (DS1-4) |
  +----------+       +---------------+       +------------------------------+       +-------------------+
                                                            | Display Blanking
                                                            +---------------------------------> Pin 3 (DE)

1. Digital Quartz Timebase

The 1.000-second count window is derived with zero passive R/C timing dependencies: $$\text{Gate Period} = \frac{32,768\text{ Hz}}{2^{12} \times 2^{5}} = 0.25\text{ Hz} \quad (4.000\text{ seconds})$$ A logical AND combination of the CD4060 outputs $Q_4$ (0.5 Hz, 50% duty) and $Q_5$ (0.25 Hz, 50% duty) generates an active gate window of exactly $1.000\text{ s}$ once every $4\text{ s}$.

2. ×60 Pulse Burst Multiplier (RPM Conversion)

At 1 pulse per revolution, counting for 1 second yields Revolutions Per Second (RPS). To display Revolutions Per Minute (RPM) directly without software:

  1. Each detected optical edge triggers a high-speed NE555 oscillator burst.
  2. Two cascaded CD4017 decade counters count exactly 60 pulses and shut off the oscillator.
  3. The resulting 60 pulses feed into the CD4026 display counter chain for every revolution, achieving an exact direct RPM conversion.

3. Mode Selection Truth Table

An onboard 4-pole DIP switch (SW1) configures the instrument mode:

ModeSwitch 1Switch 2Switch 3Switch 4Functional Behavior
RPMOFFONONOFF1 s gate, ×60 burst multiplier enabled (Direct RPM readout)
RPSOFFONOFFON1 s gate, direct sensor pulse routing (Direct RPS readout)
CNTONOFFOFFOFFContinuous event counter; display permanently enabled

4. Integrated Circuit Roles & Signal Flow

RefDesPart NumberPackagePrimary Circuit Role / Subsystem
U1TCRT50004-pin OpticalReflective optical sensor (950 nm IR LED + phototransistor)
U2CD4093BEDIP-14Quad 2-input Schmitt NAND (gating window logic & display blanking)
U3PC817DIP-4Optical trigger galvanic isolation & pulse conditioning
U4NE555PDIP-8Burst gate monostable latch (active burst control)
U5PC817DIP-4Gate reset isolation & pulse transmission
U6NE555PDIP-8Astable burst clock oscillator ($f \approx 4.8\text{ kHz}$)
U7CD4017BEDIP-165-stage Johnson decade counter (burst units: $\div 10$)
U8CD4017BEDIP-165-stage Johnson decade counter (burst tens: $\div 6$, auto-reset at 60)
U9CD4060BEDIP-1614-stage ripple counter & 32.768 kHz oscillator ($\div 2^{12} = 8\text{ Hz}$)
U10CD4060BEDIP-1614-stage ripple counter ($\div 2^4 = 0.5\text{ Hz}, \div 2^5 = 0.25\text{ Hz}$)
U11CD4026BEDIP-16Decade counter & 7-segment decoder (Digit 1 - LSD)
U12CD4026BEDIP-16Decade counter & 7-segment decoder (Digit 2 - Tens)
U13CD4026BEDIP-16Decade counter & 7-segment decoder (Digit 3 - Hundreds)
U14CD4026BEDIP-16Decade counter & 7-segment decoder (Digit 4 - MSD)
DS1–47SEG-CC10-pin DIP0.56" Common-Cathode red LED displays

🔬 Bench Validation & Accuracy Analysis

The assembled hardware was benchmarked in an instrumentation laboratory using a calibrated Lutron DT-2236 Photo/Contact Tachometer on a variable-speed brushless DC blower:

Reference Instrument (Lutron DT-2236)OptoTACH v1.0 Measured ValueAbsolute DeviationError (%)Validation Result
1,007 RPM1,020 RPM+13 RPM+1.29%Within $\pm 1$ count ($\pm 60$ RPM)
2,267 RPM2,280 RPM+13 RPM+0.57%Within $\pm 1$ count ($\pm 60$ RPM)
2,434 RPM2,438 RPM+4 RPM+0.16%High-precision alignment

Quantisation Theory: In RPM mode with a 1-pulse target marker and a 1-second gate, the fundamental digital resolution is 60 RPM per count. Any reading within $\pm 60$ RPM of the continuous reference is within theoretical limits. Increasing target markers (e.g., 2 or 4 reflective strips) scales resolution down proportionally.

📐 Schematic & Circuit Diagram

The complete schematic was designed in KiCad (clean ERC: 0 errors, 0 warnings).

OptoTACH Complete Wired Schematic
OptoTACH v1.0 Full Schematic Sheet. Vector PDF available in fabrication/tach_v1.0_schematic.pdf.

🛠️ PCB Layout & Hardware Design

The printed circuit board was designed from scratch in KiCad with rigorous DFM standards:

  • Dimensions: 100 mm × 100 mm (optimised for JLCPCB 5-for-$2 standard manufacturing tier)
  • Layer Stack: 2 layers, 1.6 mm FR-4, 1 oz copper
  • Ground Strategy: Solid continuous ground pours on both top and bottom layers, interconnected via stitched return vias
  • Corner Fillets: Smooth $R = 5\text{ mm}$ rounded corners on Edge.Cuts for enclosure fit and ergonomic handling
  • Mounting: 4 × M3 (3.2 mm NPTH) mounting holes routed with clear copper/keepout zones
  • Serviceability: All 13 integrated circuits are socketed in dual-in-line (DIP) packages, allowing easy replacement or debugging
  • Silkscreen Guide: Onboard mode selection table and resistor group markings embedded directly on F.SilkS
Isometric PerspectiveTop Layer OrthogonalBottom Layer / Solder Side

Interactive 3D Viewer: You can inspect and rotate the complete 3D assembly in your browser via GitHub's native 3D viewer by clicking media/optotach_3d_model.glb.

📂 Repository Structure

text
OptoTACH/
├── README.md                          # Repository portfolio overview & documentation
├── LICENSE                            # MIT Open Source Hardware License
├── .gitignore                         # KiCad EDA & OS build artifact filter
│
├── hardware/                          # KiCad Source Project (EDA Files)
│   ├── tach_v1.0.kicad_pro            # KiCad project definition
│   ├── tach_v1.0.kicad_sch            # Full schematic sheet (ERC: 0 errors)
│   ├── tach_v1.0.kicad_pcb            # PCB layout (DRC: 0 errors / 0 unconnected)
│   ├── tach_v1.0.kicad_dru            # DRC custom design rules
│   ├── tach_v1.0.kicad_prl            # Project local settings
│   ├── sym-lib-table & fp-lib-table   # Local symbol & footprint library tables
│   ├── tach_lib.kicad_sym             # Custom schematic symbol library
│   └── tach_fp.pretty/                # Custom footprint library (displays, ICs)
│
├── fabrication/                       # Ready-to-Order Manufacturing Package
│   ├── tach_v1.0_gerbers_jlcpcb.zip   # 1-Click Gerber & Drill archive for JLCPCB / PCBWay
│   ├── gerbers/                       # Unpacked RS-274X Gerber & Excellon drill files
│   ├── BOM_OptoTACH_v1.0.csv          # Complete structured Bill of Materials
│   ├── tach_v1.0_assembly.pdf         # Assembly and component reference drawing
│   ├── tach_v1.0_fitted_parts.pdf     # Visual parts fitting and orientation map
│   ├── tach_v1.0_fitted_parts.png     # High-resolution visual parts placement guide
│   ├── tach_v1.0_schematic.pdf        # High-resolution printable schematic sheet
│   └── SHOPPING_LIST.md               # Sourcing notes, LCSC part numbers & socket guide

🚀 How to Recreate This Project

1. Order the PCB

  1. Download fabrication/tach_v1.0_gerbers_jlcpcb.zip.
  2. Upload the ZIP file directly to JLCPCB or PCBWay.
  3. Default settings work out-of-the-box:
    • Dimensions: 100 × 100 mm
    • Layers: 2
    • PCB Thickness: 1.6 mm
    • Solder Mask: Black (or your choice of color)
    • Silkscreen: White

2. Source the Components

Review the detailed Component Shopping List and BOM CSV. Key ICs and precision timing parts:

ComponentQuantityDesignationKey Sourcing Notes
CD4026BE4U11, U12, U13, U14Decade Counter / 7-Segment Decoder (DIP-16)
CD4060BE2U9, U1014-Stage Ripple Binary Counter / Oscillator (DIP-16)
CD4017BE2U7, U85-Stage Johnson Decade Counter (DIP-16)
CD4093BE1U2Quad 2-Input NAND Schmitt Trigger (DIP-14)
NE555P2U4, U6Precision Bipolar Timer (DIP-8)
PC8172U3, U5High-Isolation Optocoupler (DIP-4)
TCRT50001U1Reflective Optical Sensor with Phototransistor Output
32.768 kHz1Y1Cylindrical Quartz Tuning Fork Crystal ($3 \times 8\text{ mm}$)
7-Segment Display4DS1, DS2, DS3, DS4Common-Cathode 0.56" Red Displays
DIP Switch1SW14-position 2.54 mm pitch DIP switch

3. Assembly Checklist

Follow the visual layout in fabrication/tach_v1.0_fitted_parts.pdf:

  1. Solder all passive resistors (using the onboard $220\ \Omega$ segment resistor group).
  2. Install small ceramic capacitors ($22\text{ pF}$, $100\text{ nF}$) and diodes (1N4148).
  3. Solder IC sockets before inserting integrated circuits (prevents thermal damage).
  4. Solder DIP switch SW1, power terminal block, and reset button.
  5. Solder the four 7-segment displays (DS1–DS4) and the TCRT5000 sensor.
  6. Insert ICs into sockets and power with 5.0 V–6.0 V (4 × AA battery holder recommended). Follow the staged test procedure in docs/BRING_UP_GUIDE.md to safely bring up each subsystem.

📚 Technical Documentation & Simulation Suite

To run the simulation locally:

bash
cd simulation
python sweep.py     # Generates raw sweep.json
python mksvg.py     # Generates vector SVG curves
python mkchart.py   # Renders sweep_report.html

👨‍💻 Project Team & Attribution

Developed at Ahsanullah University of Science and Technology (AUST)
Department of Electrical and Electronic Engineering
Course: Instrumentation Laboratory (EEE 3212)

  • Sarkar Maheen Ahmed
  • Amir Hamza Talib
  • Azmain Muksit Anam
  • Nahinul Islam Prottoy
  • Lion Ahmmed Fahim

Concept originally inspired by Mousa Simple Projects (2020), re-architected for CD4026 CMOS logic, custom digital gating, and discrete layout.

📜 License

This project is licensed under the MIT License — feel free to use, modify, and build upon this design for academic, hobby, and commercial applications.

Parts

99
QtyValueFootprintReferences
28220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR20, R21, R22, R23, R24, R25, R26, R30, R31, R32, R33, R34, R35, R36, R40, R41 +12
16100nFCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC1, C2, C3, C7, C9, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22
61KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3, R4, R7, R8, R9, R14
47SEG_CC_0.56inDisplay_7Segment:7SegmentLED_LTS6760_LTS6780DS1, DS2, DS3, DS4
4CD4026Package_DIP:DIP-16_W7.62mm_LongPadsU11, U12, U13, U14
4MountingHoleMountingHole:MountingHole_3.2mmH1, H2, H3, H4
31N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D3
210KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2, R17
210nFCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC10, C11
22.2MResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR5, R6
222pFCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC4, C5
22N2222Package_TO_SOT_THT:TO-92_InlineQ1, Q2
2CD4017Package_DIP:DIP-16_W7.62mm_LongPadsU7, U8
2CD4060Package_DIP:DIP-16_W7.62mm_LongPadsU9, U10
2NE555PPackage_DIP:DIP-8_W7.62mm_LongPadsU4, U6
2PC817Package_DIP:DIP-4_W7.62mm_LongPadsU3, U5
1100KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR13
1100uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC8
110MResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR11
11uFCapacitor_THT:C_Disc_D3.0mm_W1.6mm_P2.50mmC6
1200Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
120KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR16
1220KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR12
12KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR15
132.768kHzCrystal:Crystal_C38-LF_D3.0mm_L8.0mm_VerticalY1
16.8KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR10
1CD4093Package_DIP:DIP-14_W7.62mm_LongPadsU2
1LEDLED_THT:LED_D5.0mmD4
1MODEButton_Switch_THT:SW_DIP_SPSTx04_Slide_9.78x12.34mm_W7.62mm_P2.54mmSW1
1PWR 5-6VConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1RESETButton_Switch_THT:SW_PUSH_6mmSW2
1TCRT5000tach_fp:TCRT5000_NoClipU1

Similar boards

  • 2 layers77.2 × 54.6 mmPCD with routing, the printed circuit board in 3D

    PCD with routing

    mariam-essam2/Timer-555-PCB-project

    A hardware-based 60-minute Pomodoro timer with dual 7-segment displays, manual/auto-reset, and buzzer alert. Fully simulated, tested, and ready for PCB fabrication with complete schematics, footprints, and Gerber files

    23 parts
  • 2 layers97 × 91 mmClockPCB, the printed circuit board in 3D

    ClockPCB

    akbar-q/Circuits-PCB-HardwareDesign

    The High Voltage Arc Detector is a non-contact RF-based sensing system that detects high-voltage electrical arcs.

    77 parts
  • 2 layers49.5 × 98 mmMatcher, the printed circuit board in 3D

    Matcher

    elektrouwe/YATMA

    Yet Another Transitor MAtcher

    86 parts7CC0-1.0
  • 2 layers53.3 × 63.5 mmZx2 clock, the printed circuit board in 3D

    Zx2 clock

    krzys9876/ZX_Spectrum_diy

    KiCad projects (schematics and boards) for a full-diy ZX Spectrum replica

    24 parts2MIT
  • 4 layers60.5 × 56.4 mmCLOCK, the printed circuit board in 3D

    CLOCK

    Trilobyte-CPU/8-bit-computer

    A DIY 8-bit computer built mostly with discrete logic chips

    31 parts2
  • 2 layers63.8 × 35.5 mmMiains timer 2, the printed circuit board in 3D

    Miains timer 2

    reivax-boucoi/PCB_Kicad

    Repo for all my home projects involving PCBs developped with Kicad

    40 parts1
  • 4 layers73.1 × 97.6 mmUlp daughterboard, the printed circuit board in 3D

    Ulp daughterboard

    Ismael034/ulp_daughterboard

    KiCad project files for a hardware CTF challenge used during the 2026 ULP CTF. The board is meant to be used with the ch32v203-dev development board.

    65 parts3

Questions

How big is the Tach v1.0 PCB?

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

What parts does the Tach v1.0 use?

99 parts, built around the CD4026BE, CD4017BE, CD4060 and NE555P. 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 Tach v1.0 KiCad files?

From the maheen-ahmed1/OptoTACH repository on GitHub, at the commit this page was made from: the board is hardware/tach_v1.0.kicad_pcb and its schematic hardware/tach_v1.0.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Tach v1.0 design in my own project?

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