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.
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.
A Precision Non-Contact Optical Tachometer Built Entirely Without a Microcontroller
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 Visualization
Assembled Hardware Prototype
Live Calibration vs Commercial Bench Standard
Raytraced 3D model in KiCad
Physical board with socketed DIP ICs
Benchmark 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.
🔄 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 / Subsystem
Original Mousa Circuit (2020)
OptoTACH v1.0 (Redesigned)
Why the Change Matters
Counter ICs
4 × CD40110 (Obsolete / Discontinued)
4 × CD4026BE (Standard / Readily Available)
Overcomes supply-chain unavailability
Display Storage
Internal CD40110 Display Latch
Digital Blanking Window (CD4026 Pin 3 DE)
Enables rock-solid readout without latch ICs
Gating Timing
Continuous asynchronous display
1.000 s Gate once every 4.000 s
Digits blank during 1 s count; hold static for 3 s
Gate Derivation
R/C & basic logic
Exact Quartz Binary Division ($Q_4 \text{ AND } Q_5$)
Zero drift (<0.005%) derived from 32.768 kHz crystal
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:
Each detected optical edge triggers a high-speed NE555 oscillator burst.
Two cascaded CD4017 decade counters count exactly 60 pulses and shut off the oscillator.
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:
Mode
Switch 1
Switch 2
Switch 3
Switch 4
Functional Behavior
RPM
OFF
ON
ON
OFF
1 s gate, ×60 burst multiplier enabled (Direct RPM readout)
RPS
OFF
ON
OFF
ON
1 s gate, direct sensor pulse routing (Direct RPS readout)
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 Value
Absolute Deviation
Error (%)
Validation Result
1,007 RPM
1,020 RPM
+13 RPM
+1.29%
Within $\pm 1$ count ($\pm 60$ RPM)
2,267 RPM
2,280 RPM
+13 RPM
+0.57%
Within $\pm 1$ count ($\pm 60$ RPM)
2,434 RPM
2,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).
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 Perspective
Top Layer Orthogonal
Bottom 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.
Solder all passive resistors (using the onboard $220\ \Omega$ segment resistor group).
Install small ceramic capacitors ($22\text{ pF}$, $100\text{ nF}$) and diodes (1N4148).
Solder IC sockets before inserting integrated circuits (prevents thermal damage).
Solder DIP switch SW1, power terminal block, and reset button.
Solder the four 7-segment displays (DS1–DS4) and the TCRT5000 sensor.
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
📖 OptoTACH Technical Report (38 Pages): Full engineering documentation covering circuit equations, component tolerances, bring-up procedures, and board revision history.
🛠️ Hardware Bring-Up & Test Procedure: 7-stage bench testing procedure with power-rail cold checks, probe test points, and troubleshooting matrix.
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.
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
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.