Project · Featured

Veritas

A low-cost, pocket-sized, owl-shaped screener that checks pills for counterfeits by reading how they absorb light.

Role
Creator: firmware, PCB, enclosure and iOS app
Built with
  • C++
  • ESP32-S3
  • KiCad
  • Fusion 360
  • SwiftUI

Counterfeit pills look exactly like the real thing. Veritas is a pocket-sized, owl-shaped device that screens a pill at a cost that makes sense outside a lab.

How it works

A tablet dissolves in a small chamber while Veritas measures how the solution absorbs light at 6 wavelengths, from 405 to 940 nm. That absorption pattern acts like a fingerprint that can be compared against what the pill claims to be.

What I built

  • Firmware: C++ on an ESP32-S3 that drives the LEDs, reads the sensor and runs the measurement.
  • Electronics: a custom PCB designed in KiCad.
  • Enclosure: the owl-shaped body, modelled in Fusion 360.
  • iOS app: a SwiftUI app that checks photos of a pill against FDA data, so the look and the chemistry are both verified.

I took Veritas from idea to working device in 30 days.