Skip to the content
PCBKitNew board
2 layers25 × 10 mmPhotodiode TIA, the printed circuit board in 3D

Designed as a modular Analog Front-End (AFE), this board converts ambient light intensity into a clean, stable analog voltage (0–3.3V) suitable for direct sampling by microcontrollers (e.g., ESP32, STM32, Arduino) using…

Size
25 × 10 mm
Copper layers
2
Thickness
1.6 mm
Parts
8
Nets
5
Pads
30
Tracks, vias
26, 1
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
22 Mar 2026
Updated
22 Mar 2026

Overview

Photodiode TIA is an open-source printed circuit board by shyver, from the shyver/Precision-Light-Sensor-AFE repository on GitHub, published under the MIT licence. It is a 2-layer board of 25 × 10 mm with 8 parts on 5 nets, routed with 26 tracks and 1 via.

It is built around the MCP6001R-I/OT and BPW34. Its parts include 3 capacitors, 2 resistors, 1 IC, 1 diode and 1 connector.

Main components

2

README

README.md

Precision Photodiode Analog Front-End (AFE)

Status: Complete Hardware: KiCad License: MIT

📌 Project Overview

This repository contains the hardware design files and LTspice simulations for a high-precision, low-noise Photodiode Signal Conditioning Board.

Designed as a modular Analog Front-End (AFE), this board converts ambient light intensity into a clean, stable analog voltage (0–3.3V) suitable for direct sampling by microcontrollers (e.g., ESP32, STM32, Arduino) using a Transimpedance Amplifier (TIA) architecture.

pcb_3d

✨ Key Features

  • Transimpedance Amplifier (TIA): Converts microscopic photodiode currents into a measurable voltage with a calculated gain of 68kΩ.
  • Optimized Stability: Includes a precisely calculated 20pF feedback capacitor to compensate for the photodiode's junction capacitance and prevent op-amp oscillation.
  • ADC Shock Absorption: Features an RC low-pass output filter (100Ω + 10nF) to eliminate high-frequency noise and stabilize the signal against MCU ADC sampling glitches.
  • Ultra-Low Leakage: Utilizes the MCP6001 CMOS operational amplifier with an input bias current of just 1pA to ensure the sensor signal is not degraded.
  • Plug-and-Play Interface: Standard 3-pin connector (VCC, GND, OUT) for seamless integration into embedded systems.

🛠️ Hardware Specifications

ComponentPart / ValueDescription
PhotodiodeBPW34SBroadband silicon photodiode. High photocurrent (~50µA at 1000 Lux), low dark current (2nA).
Op-AmpMCP6001Single-supply, Rail-to-Rail Output (RRO), CMOS input (1pA Bias Current).
Gain Resistor ($R_f$)68 kΩSets the voltage output range (Max 3.3V at ~50µA input).
Compensation Cap ($C_f$)20 pFPrevents ringing/oscillation caused by the photodiode's 72pF junction capacitance.
Supply Voltage3.3VSingle-supply operation. Decoupled via 0.1µF capacitor.

📐 Circuit Architecture & Theory

1. The Sensor Stage

The BPW34S photodiode is operated in photovoltaic/zero-bias mode. This configuration minimizes dark current leakage, resulting in the highest possible precision and lowest noise floor for ambient light detection.

2. The Transimpedance Stage

The core of the board is the TIA. The gain is set by the feedback resistor ($R_f$). Using Ohm's Law ($V = I \times R$), a peak ambient room light producing $~50 \mu A$ of current is multiplied by $68 k\Omega$ to produce a $~3.4V$ output, perfectly utilizing the 3.3V ADC range of modern microcontrollers.

3. Stability & Compensation

Photodiodes with large active areas (like the BPW34S) have high junction capacitance ($C_j \approx 72pF$). Without compensation, this capacitance creates a phase shift in the op-amp's feedback loop, causing severe ringing and instability. A 20pF feedback capacitor ($C_f$) was mathematically calculated and verified via SPICE simulation to critically damp the circuit and provide a smooth transient response.

📂 Repository Structure

  • /kicad - KiCad 9.0 project files (Schematic, PCB Layout, Footprints).
  • /Simulation - LTspice .asc files demonstrating Transient and AC (Frequency Response) analysis.
  • /Docs - Datasheets for the BPW34S and MCP6001.
  • /Manufacturing - Gerber files, Drill files, and BOM ready for PCB manufacturing (e.g., JLCPCB).
  • /Media - Project media and screenshots.

🚀 Getting Started

  1. Clone this repository: git clone https://github.com/shyver/Precision-Light-Sensor-AFE.git
  2. Open the .pro or .kicad_pro file in KiCad.
  3. To view the simulations, open the .asc files located in the /Simulation folder using LTspice.

📝 License

This project is open-source and available under the MIT License.

Parts

8
QtyValueFootprintReferences
10.1µCapacitor_SMD:C_0201_0603MetricC2
1100Resistor_SMD:R_0201_0603MetricR2
110nCapacitor_SMD:C_0201_0603MetricC3
120pCapacitor_SMD:C_0201_0603MetricC1
168kResistor_SMD:R_0201_0603MetricR1
1BPW34OptoDevice:Osram_DIL2_4.3x4.65mm_P5.08mmD1
1Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalJ3
1MCP6001RPackage_TO_SOT_SMD:SOT-23-5U1

Questions

How big is the Photodiode TIA PCB?

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

What parts does the Photodiode TIA use?

8 parts, built around the MCP6001R-I/OT and BPW34. 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 Photodiode TIA KiCad files?

From the shyver/Precision-Light-Sensor-AFE repository on GitHub, at the commit this page was made from: the board is kicad/photodiode_TIA/photodiode_TIA.kicad_pcb and its schematic kicad/photodiode_TIA/photodiode_TIA.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Photodiode TIA design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layersCourseWorkScheme, the printed circuit board in 3D

    CourseWorkScheme

    NasterVill/BSUIR_Labs

    Here are gathered all the labs from my CMSnN studying course.

    40 parts27Apache-2.0
  • 2 layers68.5 × 53.3 mmIot wifi uno hw, the printed circuit board in 3D

    Iot wifi uno hw

    iotmakervn/iot-wifi-uno-hw

    Open hardware ESP8266 Uno board - Internet Of Things WiFi Uno

    56 parts26
  • 2 layers37.1 × 8.6 mmNogasm, the printed circuit board in 3D

    Nogasm

    DunkelRatte/nogasm

    This is a fork of the original nogasm project.

    60 parts10
  • 2 layers273.1 × 186.1 mmIon pump controller, the printed circuit board in 3D

    Ion pump controller

    AlexW-proj/ion-pump-controller

    open source controller that takes 24V in and spits out 0 - 7000V, set by a knob with an adjustable ramp time

    63 parts2
  • 2 layers170 × 55.1 mmEC426, the printed circuit board in 3D

    EC426

    jacoblinnabary/JCOBB-Controller-Board

    Analog PWM generator for RC/drone control. Produces 1–2 ms pulses at a 20 ms frame using an RC ramp and comparator.

    49 parts1MIT
  • 4 layers190 × 145 mmMotor izleme karti, the printed circuit board in 3D

    Motor izleme karti

    melikeatilgan/asenkron-motor-bakim

    15 kW asenkron motor için arıza ağacı analizi, aylık bakım formu ve KiCad'de tasarlanmış üç izleme kartı

    191 parts1
  • 2 layers38.2 × 11.9 mmLeviosa, the printed circuit board in 3D

    Leviosa

    Kay-Jack/Leviosa

    A Levitating Pen

    59 parts