Visible Light Sensor Design

do i need to provide both of those for a manufacturer?
Usually no — provide the centroid file format your manufacturer asks for.
  • JLCPCB assembly: use the JLCPCB centroid/CPL CSV.
  • OpenPNP / generic assembly house / desktop pick-and-place: use the OpenPNP CSV unless they request a specific format.
  • If ordering bare PCBs only, you do not need either centroid file — just Gerbers/drill files.
  • If ordering PCB assembly, you typically provide Gerbers + BOM + one pick-and-place/centroid file.
So for JLCPCB assembly: upload Gerbers, BOM, and the JLCPCB CPL/centroid CSV.
Export JLCPCB package
Check BOM MPNs
Bare PCB files
Export OpenPNP centroid

Refine this doc
Ask about this doc
Visible Light Sensor TIA Design Notes
Requirements
  • Visible light/near-IR photodiode sensor.
  • Photodiode operated in reverse bias for speed.
  • Op amp amplifies photodiode output using a transimpedance topology.
  • Output smoothing capacitor included.
  • DIP switches allow feedback resistor changes during testing.
Selected Parts
  • D1: SFH 203 photodiode, user-specified Mouser 720-SFH203.
  • U1: OPA381AIDGKR transimpedance amplifier, user-specified Mouser 595-OPA381AIDGKR.
  • SW1: TE Connectivity 1825360-3, 4-position SPST DIP switch.
  • J1: 3-pin 2.54 mm header for +5V, GND, and analog output.
Circuit Topology
D1 cathode is connected to +5V and D1 anode is connected to the OPA381 inverting input summing node. U1 non-inverting input is tied to GND, so the summing node is held near ground while the photodiode is reverse-biased. Photocurrent is converted to voltage at U1 OUT through the selected feedback resistance.
The OPA381 output drives R5 and C4 as an output low-pass/smoothing filter before J1 pin 3. C1 is always connected from U1 OUT to the summing node as a feedback compensation capacitor.
Feedback / Gain Options
Switches enable feedback resistors in parallel:

Table


Switch branchResistorNominal transimpedance
SW1 position 1R1 = 10kΩ10 mV/uA
SW1 position 2R2 = 100kΩ100 mV/uA
SW1 position 3R3 = 1MΩ1 V/uA
SW1 position 4R4 = 10MΩ10 V/uA
If multiple switches are on, the effective feedback resistance is the parallel combination of the enabled resistors.
Filters and Stability
  • C1 = 10pF feedback capacitor across the active feedback network for TIA stability and bandwidth control.
  • R5 = 1kΩ and C4 = 100nF create an output smoothing pole of approximately 1.6 kHz.
  • C2 = 100nF local bypass capacitor for U1.
  • C3 = 10uF bulk capacitor on +5V.
Assumptions / Notes
  • Supply is assumed to be +5V from J1 pin 1.
  • J1 pinout: pin 1 = +5V, pin 2 = GND, pin 3 = ANALOG_OUT.
  • The SFH 203 datasheet/library indicates reverse-bias operation is valid; +5V reverse bias is well below the listed reverse-voltage capability in distributor/library metadata.
  • Very high gain settings, especially 10MΩ, may saturate in bright light and should be tested under expected illumination.
  • Remaining review airwires are expected before PCB placement/routing; the schematic netlist is intentionally complete.

    Requirements

    Selected Parts

    Circuit Topology

    Feedback / Gain Options

    Filters and Stability

    Assumptions / Notes

Documents

    Visible Light Sensor TIA Design Notes

    Manufacturing Handoff

Assets

Assets are files uploaded to this project which can be used in various ways.

Visible Light Sensor TIA thumbnail
Reverse-biased photodiode visible-light sensor with op-amp transimpedance amplifier, DIP-switch-selectable gain resistors, and output smoothing.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$1.94–$2.61

Digi-Key

$1.17–$1.55

HQonline

$0.15

LCSC

$3.57

Mouser

$4.84

TME

$2.08

Verical

$1.20–$52.45

Controls