Visible Light Sensor Design


Done — I regenerated the manufacturing files from the current updated design and confirmed the latest checks show no open errors/warnings.
Files generated:
If you’re using a different assembler, use the matching BOM format from the export list and the OpenPNP pick-and-place file instead of the JLCPCB CPL.
i can not export gerbers due to errors in review
I’ll inspect the current review errors that are blocking Gerber export, identify the specific issues, and fix or tell you exactly what needs attention before exporting again.
Fixed the export blocker and regenerated the Gerbers.
What was wrong:
  • Review was failing because C5, R6, and the 5V/GND probe testpoints were missing manufacturer part metadata.
  • I added MPN/manufacturer metadata for C5/R6 and marked the PCB-only probe pads as excluded from BOM/pick-and-place with testpad metadata.
  • Re-ran the blocking manufacturing/DRC checks: clean.
New Gerber package:
Open item:
  • If you are ordering assembly too, regenerate/download the BOM and CPL after this metadata fix so they match the final design.
Export assembly files
Review final package
Check BOM availability
Create bring-up checklist
Verify photodiode orientation

J1
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