Current built architecture: DE10-Lite FPGA, Raspberry Pi, comparator, OPA657 analog front end, photodiode, MCP4725 DAC, USB link to Pi, Pi-derived 3.3 V digital rail, and 18650-powered analog side.
1) System block diagram
Photodiode: Converts optical LiDAR flashes into current pulses.
OPA657 front end: Main analog stage that converts and amplifies the photodiode signal.
Comparator: Turns the analog waveform into a digital edge for the FPGA.
MCP4725: Adjustable DAC-based threshold source for the comparator.
Raspberry Pi: Host-side recorder over USB and source of the 3.3 V digital rail in the current build.
18650 supply: Separate analog-side power for the op-amp section.
2) Simplified electronic schematic
This is a functional schematic of the LiDAR beam analyzer project, not a final CAD capture with locked resistor values, supply part numbers, or exact DE10 / Pi header pin numbers. It is accurate to the architecture: photodiode -> OPA657 -> comparator -> DE10-Lite, with MCP4725 threshold control, Pi USB logging, Pi-derived 3.3 V digital rail, and 18650-powered analog front end.
3) Wiring summary
Optical path:
PD1 photodiode -> U1 OPA657 transimpedance / gain stage -> U2 comparator -> DE10-Lite GPIO capture input
Threshold path:
Raspberry Pi I2C (SCL/SDA) -> U3 MCP4725 DAC -> DAC OUT -> comparator threshold input (Vth)
Data / control path:
DE10-Lite <-> USB <-> Raspberry Pi
Power path:
Raspberry Pi 3.3 V -> DAC and digital-side support circuitry
3x18650 analog supply -> OPA657 analog front end
Common ground required between analog and digital sections