Skip to content

03OxiLight Inc.May – Aug 2026

OxiLight biosensor

Picoamp front end, board bring‑up, firmware

Co-op

~41 photons per flash at 100 fM

LED DRIVERUV LED365 nmSAMPLE · EUROPIUM LABELPHOTODIODEZERO BIAS10 pFRESETINTEGRATORZERO-DRIFT OP-AMPADC16-BIT ADCDIFFERENTIALESP32-C6OLEDFIRES EACH FLASHUV FLASH1 µs4 µs WAITEUROPIUM GLOWABOUT 600 µsINTEGRATOR OUTPUTNOT TO SCALE

Fig. 00The measurement chain. A generic schematic of the chain, with one flash playing under it: pulse, wait, glow and ramp.

OxiLight makes a handheld saliva test. A UV flash makes a europium label glow red, and the glow lasts about 600 µs after the flash ends, so a photodiode can measure it once the flash is gone. At the sensitivity the company needs, that signal is a few picoamps. I was the only electronics and firmware co-op, and I reported to the CEO.

UV LED365 nmEUROPIUM GLOWat the photodiodeINTEGRATORoutput, 10 pFTHE PHOTODIODE IS READ HERE, AFTER THE FLASH IS GONE1 µs4 µs waitabout 600 µsNOT TO SCALE · THE TIME AXIS IS BROKEN AFTER THE WAIT
Fig. 01One flash. The glow outlasts the flash, so the photodiode is read after the LED is fully off.

The measurement chain I designed

A 365 nm UV LED pulses for 1 µs. After a 4 µs wait for the LED to switch off fully, a zero-bias photodiode's picoamp current goes into a zero-drift op-amp integrator with a 10 pF cap, then a 16-bit differential ADC, then an ESP32-C6 for timing, readout and the display.

Starting from the physics

Before picking parts I modelled the signal from photons to charge, through eight versions. At 100 fM it works out to about 41 photons per flash. The photodiode's own thermal noise sets the limit, and a signal-to-noise ratio of 3 takes about 4 seconds.

Three redesigns I didn't plan

The integrated front-end chip was discontinued mid-design, so I built the front end from discrete parts. The MCU changed from an RP2040 to an ESP32-C6, and the display from a TFT to an OLED. When I removed a voltage reference I noticed the front end was left floating, and fixed it with a resistor divider that costs 3 cents.

PLANNEDBUILTFRONT ENDone integrated chipADCop-amp, 10 pF, 16-bit ADCCHIP DISCONTINUEDMID-DESIGNMCURP2040ESP32-C6DISPLAYTFTOLED3-CENT DIVIDERholds the front endat a known levelDIM: WHAT THE DESIGN STARTED WITH · GENERIC SYMBOLS
Fig. 02Three forced redesigns. What changed under the design while it was being built.

Getting boards made

I did the 4-layer layout and placed the JLCPCB order myself, working through BOM mismatches, out-of-stock parts and a failed design audit, which I fixed the same day. Two assembled boards and five bare ones arrived in August.

Bring-up

I wrote ESP32-C6 bring-up firmware for the ADC, OLED, buttons and LED driver, plus a self-test that injects a known 250 nA current and checks the integrator ramp against V = It/C. I handed off 5 test sketches.

250 nAknown test current10 pFINTEGRATOR UNDER TESTV OUT0 µs20 µs40 µs60 µs80 µs0.0 V0.5 V1.0 V1.5 V2.0 VTIMEINTEGRATOR OUTPUTEXPECTED: V = I·t / C25 mV / µsA FAULTY BOARD RAMPS OFF THE LINEGENERIC SCHEMATIC
Fig. 03The self-test. Inject a known current and check the ramp against V = It/C.

A board that wouldn't power on

The laptop refused to power it over USB. Continuity showed VBUS shorted to ground, from a trace running across the CC2 and ground pads. DRC missed it because I had relaxed the clearance rules. Battery power still worked, so testing went on.

USB-C PAD ROW · GENERICGNDVBUSCC2D+D−CC1VBUSGNDVBUS TRACE BRIDGES CC2 AND GROUNDDRC: NO ERRORSclearance rules relaxedBATTERY PATHSTILL WORKED
Fig. 04Dead on USB. A generic pad row, drawn only to show the fault.