Hackaday.io Hackaday.io
Projects
Discover Contests Courses Stack
More
Courses Tutorials Events Hackerspaces Hackaday.com Tindie Marketplace
Sign up Log in
Close
0%
0%

The Optical Inch

An approach to entry-level wideband spectrometry (color temperature & CRI, UV-A /UV-B dosimetry, material identification, ...)

helgehelge
Following Follow project
Liked Like project

Become a Hackaday.io member

Not a member? You should Sign up.

Already have an account? Log in.

Sign up with Github
Sign up with Twitter
OR
Forgot your password?

Just one more thing

To make the experience fit your profile, pick a username and tell us what interests you.

Pick an awesome username
hackaday.io/
Your profile's URL: hackaday.io/username. Max 25 alphanumeric characters.
Pick a few interests
Projects that share your interests
People that share your interests

We found and based on your interests.

Choose more interests.

OK, I'm done! Skip
Join this project
Similar projects worth following
4.9k views
0 comments
41 followers
33 likes
  • Description
  • Details
  • Files 1
    • View all
  • Components 0
  • Logs 16
    • View all
  • Instructions 0
  • Discussion 0
View Gallery
4.9k
0
41
33

Team (1)

  • helgehelge

Join this project's team
completed project
spectrometer low profile

Related lists

Spectrometer Projects

Analyze spectra with these projects

This project was created on 07/23/2014 and last updated a year ago.

Description

The Optical Inch is an exploration of LEDs as narrow-band, multi-spectral detector arrays for spectrometry. I'm also covering related approaches and technologies in the project logs. While the project currently uses an extremely sensitive x-ray detector front-end solution, cheap opamp-based circuits are also possible, and will be used for a more practical implementation. I hope you'll join me on a journey from multi-spectral photodiodes to x-ray imagining with PiN diode arrays.

The Optical Inch does not contain diffractive or refractive optics and is currently 2mm tick - with the potential to get below 1mm thickness. Depending on the technology we may even see it go down to the thickness of an RFID tag.

Files

20170102 DDC118 basic test.ino

basic demo for the Stellaris Launchpad (LM4F120H5QR) that streams rows of tab separated integer values. Use With Energia. Latest version on github!

ino - 9.99 kB - 01/02/2017 at 16:58

Download

Project Logs
Collapse

  • Final Remarks

    helge • 08/01/2024 at 11:59 • 0 comments

    The future isn't all that bad when it comes to multispectral multipixel sensors. As for this project: it has been a great journey and inspiration. The new frontier these days is, at least for me, in the short-wave infrared (900-2500 nm), where it becomes ever harder to piece something together with a few photodiodes or LEDs.

    Here's to more compact, affordable single-pixel spectrometers, intriguing analog front-end, CCD learning experiences and ubiquitous multispectral imaging, far beyond what The Optical Inch initially set out to do.

    Let's enjoy the adorable MEMS Fabry-Pérot interferometer for SWIR spectroscopy, low-cost 10+ channel spectral profiling sensors and lastly the absolutely cool computational approach below that reconstructs spectra based on the responses of definitely-not-narrowband dielectric filters.

    Tune in next time when there is a next time! Stay curious.

    https://www.hamamatsu.com/us/en/product/optical-sensors/spectrometers/mems-fpi-spectrum-sensor/C13272-03.html

    "AS7262 AS7341 Visible Infrared Color Spectrometer Sensor Module High Precision"
    https://look.ams-osram.com/m/24266a3e584de4db/original/AS7341-DS000504.pdf



    Kim, C., Ni, P., Lee, K.R. et al. Mass production-enabled computational spectrometers based on multilayer thin films. Sci Rep 12, 4053 (2022). https://doi.org/10.1038/s41598-022-08037-y


  • Perovskites

    helge • 06/03/2023 at 07:31 • 0 comments

    A news flash on Hackaday (1) highlights recent work (2) on using Perovskite pixel mosaics to implement multispectral imaging. Similar to Sigma Foveon sensors, layers can be stacked in the optical path to obtain a spectral decomposition of the incident light rays.

    The reconstruction is achieved through fitting of a set of coefficients which approximatively encode the inverse transform to the spectral cross-talk owed to overlapping absorbance spectra and incomplete extinction (= "neuromorphic" in fancy-speak).

    Depending on the chemical composition, different absorption edges are found:


    Unlike the Foveon sensor though, at this stage, the authors do stack this sensor together with individually spin-coated, laser machined and pre-qualified single-Perovskite sensor planes:

    "Figure S28 displays the testing setup, where we used a projector (M6 Pico Projector, AAXA Technologies) to generate a panchromatic source image and used a lens to focus the incident light onto the chips. Blue, green, and red chips are sequentially stacked (six-terminal stacking) from front to back, where blue, green, and red channels of current are read out independently."

    Which is fine for the paper, but points at the compounding difficulty of 2.5D integration - a factor which translates into years of research and a super-linearly growing difficulty in adding more and more spectral bands.


    Perovskites are envisioned to be put on plastic foils (3) for solar photovoltaics applications, but here sensors can be kept under vacuum or inert gas in hermetically sealed ceramic packages with glass windows, eliminating some of the stability issues with this class of materials (4):

    But if I were to bet, I think it's more likely we'll see Bayer pattern and, at best, 4-6 wavelength sensors with more elaborate CFA-like patterns (5) before high integration happens:

    For the proclaimed satellite imaging applications (if lifetime issues can be controlled), sequential stripes in push broom imagers should rule out the need for intricate, low-yield stacked pixels.


    Addendum: just how hard can it be? "Non-dissipative internal optical filtering with solution-grown perovskite single crystals for full-colour imaging" (7) has you covered:

    and in "Beyond Tristimulus Color Vision with Perovskite-basedMultispectral Sensors" (8):

    (Note: the C1-C2, C3-C4 and C5-C6 stacked perovskite layers should be similar to gradient engineered light absorption layers, not anti-series diodes. The illustration is a bit strange in that regard. Figures S14 and S15 show adequately contacted organic diode structures as well.)

    "Direct contact of perovskite layers appears challenging in the view of known halide-ion mixing. This problem might be mitigated by insertion electrically conductive, optical transparent and halide-ion-impermeable contact layers."

    Essentially, some form of mesa etching, passivation, barrier contact formation and metalization would need to take place, as sketched below:

    This looks a lot more involved than the initially advertised simple spin coating process and resemble what is being done to form III-V diode structures (9) and lasers.


    References

    1. https://hackaday.com/2023/06/02/perovskite-sensor-array-emulates-human-retina-for-panchromatic-imaging/
    2. https://www.science.org/doi/10.1126/sciadv.ade2338
    3. https://onlinelibrary.wiley.com/doi/full/10.1002/adem.201901217
    4. https://www.frontiersin.org/articles/10.3389/felec.2021.712785/full
    5. http://www.quadibloc.com/other/cfaint.htm
    6. https://doi.org/10.1109/JSTARS.2021.3090256
    7. https://www.nature.com/articles/am2017163
    8. https://pubs.acs.org/doi/10.1021/acsami.1c25095
    9. https://doi.org/10.3390/s19153399

  • A Few Pictures

    helge • 03/25/2023 at 13:28 • 0 comments

    1 Signal GND shield over IC and input-side pads.

    of 2 u.fl connectors added instead of 2.54mm pin headers.

    3 pin diode array with Pb aperture. Signal GND inside is left disconnected from the sensor head chassis GND and only connected on the DDC118 board.

    4 An incomplete iteration - the LDO is still on Rev.1E. Attempts were made :)Should I have a need to build another board, it'll probably look very different today.

    • u.fl connectors are okay for prototyping and even for photo diodes spread across a larger area, but it serves well to keep everything on the same PCB. Whether it's worth moving to shielded mezzanine connectors or not, remains to be seen.
    • Common-mode noise isolation via digital isolators.
    • separate board with JST XH or Molex KK 254 header..
    • Common-mode filter in the power supply lines. Local 5.0V LDO. Optionally a low-noise isolated converter can be used (Ti SN650x + transformer).
    • An array of DIP switches to short every input individually. Alternatively, the board could also be fitted with a flexprint connector to minimize the length of input traces / exposed conductor length. A folded piece of Cu tape, or a bit of Nickel foil can be inserted into the FFC header.
      These ICs are highly susceptible to ESD damage, and separate protection diodes might invite unwanted leakage paths. For assembly, transportation and initial tests, all inputs should be connected to signal GND. DDC118 is rather expensive, so it's hard to imagine scenarios where it should be exposed to damage.
    • Source-side series termination resistors in the data lines could reduce any possible impacts of fast slopes.

    WE-SHC shielding components:

    WE-SHC Shielding Cabinet | Passive Components | Würth Elektronik Product Catalog

    Hirose DF40GL shielded mezzanine connectors:

  • Ushio Epitex to deliver 8-LED clusters

    helge • 12/14/2021 at 12:15 • 0 comments

    A recent HaD article highlighted an LED array reflectance sensor for plastics identification. As it's obviously related to this project, I've rummaged around for another source of LED arrays for hyperspectral imaging, absorption / reflection spectrometry and spectral fingerprinting. Check out USHIO's 8-in-1 LED package with a miniature BGA footprint.

    It's really becoming clear how these emitters could pave the way for hyperspectral imaging integrated into smartphones, as they are a lot better integrated than single LEDs. Smartphones might even be reworked to replace the LED light / flash with a multi-spectral source for such occasions.


    I can also see how a repeating pattern of sequential light pulses can be combined with short exposure times and a rolling shutter sensor to extract a lower-resolution 2D hyperspectral image. Shout-out to [Jerry de Vos], [Armin Straller], and [Jure Vidmar] :)



    https://www.ushio.eu/multi-wavelength-leds/

  • "Infrared-based sensor system for contactless monitoring of wetness and ice"

    helge • 07/05/2021 at 15:53 • 0 comments

    Here's an inverse solution - when detecting in a wavelength range where LEDs are the go-to light sources and consequently narrow-band, multispectral sensing is easier to do, and the spectral resolution is more sharply defined.

    This goes both ways though, as a set of LED dies needs to be available for both photodiode-mode and emitting diodes.


    https://jsss.copernicus.org/articles/9/133/2020/

  • Senop makes them!

    helge • 03/01/2021 at 16:22 • 0 comments

    Sometimes I find I entertaining how ideas go full circle. As I was researching some other optical principle, these "multichannel optodetectors" crossed my way. They're effectively what I was striving for with the Optical inch project, albeit at a more reasonable price point than these hermetically sealed optical hybrid modules ;)


    Meanwhile I'll keep claiming the approach with LEDs while it lasts.

    https://senop.fi/industry-research/electro-optical-components/?gclid=Cj0KCQiAvvKBBhCXARIsACTePW_9TKZ8SHfsQSvjR5_61XxJX4urAwqVYn11wzNPV1-3hjlV2FYxYHYaAo65EALw_wcB


  • achievement unlocked: x-ray vision

    helge • 04/10/2017 at 20:59 • 0 comments

    40x40 mm² stainess square tubing with 8mm tapped holes - one for mounting an aluminium cube, the other to pass the "light" through and the PIN diode array PCB glued to the cube. Add a 1.5x3 mm² pinhole made from 2mm thick lead sheet, light seal all openings with copper tape, Al tape over the pinhole. Done. Note: this is not a transmission measurement but a backscattering geometry.

    horziontal: time (50ms intervals), vertical: 7 of 8 channels (something went wrong, maybe a connector came off...)

    What you see here is the raw 1D image of an 8 pixel x-ray pinhole camera observing a piece of stainless steel illuminated by an x-ray tube ~8cm away as I'm waving it around (duct-taped to a PP tube and held where the dose rate is <2µSv/h).

    ...And here's just the channels with a bit of smooth kdensity. At approx. sample #610 the x-ray supply is switched off.

    It has proven effective to let the analog ground float inside the metal enclosure and connect case GND to the digital ground of the launchpad.

    Let me conclude this log entry with a snapshot of the pinhole camera setup. Note this is a different board but I still put that Faraday shield over the exposed input pads. Black cable is chassis GND.

    edit: Settings: 18kV, 110µA. Nice.

  • overdue layout update

    helge • 03/27/2017 at 01:26 • 0 comments

    "I still have the parts for your DDC118 booster pack, do you have any assembly instructions?"

    "throw that old PCB away"

    Here's the new one. Guess I'll find out tomorrow that those u.fl connectors are spaced too closely or that the diff pairs have a polarity twist somewhere.

    new minor revision:

    - has proper footprints for U.FL connectors. They feel right for the job, right now I don't care much about the added capacitance due to coaxial cable

    - tidies up passives

    - actually spells out the channel numbers at the connectors and signal names near the pin headers ;-)

    - removes LDO

    - introduces differential DIN / DOUT

    - introduces series termination resistors

    - has 2x1 receptacle and 2x2 pin header for stacked daisychaining (first board has GND jumpers, all except for the base board omit R5/R6 in favor of a pair of wires that re-route DOUT/!DOUT, last board is unmodified (not pretty, but I couldn't be bothered to go 4-layer at this point

    - introduces NC7SZ175 SC70-6 single UHS D-type flipflop which synchronizes CONV transitions to CLK_4X rising edge within < 5ns as per requirement (ds: sub-10ns for best performance), since I don't want to ensure these stay synchronized no matter what the Timer/Counter configuration I'll sync it in hardware. Will have to investigate beating anyway (+/- 0.5 clock cycles = 200-250ns w.r.t. 100µs-10ms integration time...)

    - not yet given up on shields

    - short circuits at the corners to avoid power-up when board is in wrong orientation (avoids killing the expensive IC)

    "todo":

    - see if moving SPI clock (not in sync with converter) up past the REF3040 (U1) changed anything

    - not too excited about those digital traces running across the reference buffer. DOUT/!DOUT now diff routed to cancel capacitively coupled possibly async (w.r.t. ADC clock) bitstream, async SPI clock trace relocated, rest of the signals are static

    - build 2 new boards and use a full 16 pixel sensor. Oh boy...

    ____

    edit: had a few hours of sleep, found mistakes and fixed them ;-)

  • SPM64 kills the optical inch (for VIS-IR)

    helge • 02/16/2017 at 09:41 • 0 comments

    What's more important - achieving a goal or seeing a project through? You decide. ESPROS obviously managed to get a simple (diffraction based?) filter matrix slapped onto a camera sensor, making a cost effective and elegant device called Viavi.


    Need UV A/B as well? Grab a VEML6075.


    Meanwhile the Optical Inch will continue its journey with an LED array and Si PIN diodes for in-situ x-ray imaging. Stay tuned.

    https://www.espros.com/photonics/spm64/

  • AS7263 - A near miss to the Optical Inch

    helge • 01/26/2017 at 13:37 • 2 comments

    Just found this very interesting simple-ish NIR spectroscopic fingerprinting sensor which goes in the general direction of the Optical Inch. Same class of device although the impelementation is quite different because it uses dielectric narrowband filters.

    Time will tell if this will evolve and how filter based arrays compare to the Optical Inch band gap array.

    How do you feel about commercial products that crop up and do similar things to what you're working on?

    _________________________________

    6-Channel Visible Spectral_ID Device with Electronic Shutter and Smart Interface


    "The AS7263 is a digital 6-channel spectrometer for spectral identification in the near IR (NIR) light wavelengths. AS7263 consists of 6 independent optical filters whose spectral response is defined in the NIR wavelengths from approximately 600nm to 870nm with full-width half-max (FWHM) of 20nm.

    An integrated LED driver with programmable current is provided for electronic shutter applications.
    The AS7263 integrates Gaussian filters into standard CMOS silicon via Nano-optic deposited interference filter technology and is packaged an LGA package that provides a built in aperture to control the light entering the sensor array. Control and Spectral data access is implemented through either
    the I²C register set, or with a high level AT Spectral Command set via a serial UART."

    article http://www.azosensors.com/news.aspx?newsID=11749

    distribution http://ams.com/eng/content/download/976611/2309519/498778 (Digi-Key $4.90)


View all 16 project logs

Enjoy this project?

Share

Discussions

Log In/Sign up to comment

Become a Hackaday.io Member

Create an account to leave a comment. Already have an account? Log In.

Sign up with Github
Sign up with Twitter
OR

Does this project spark your interest?

Become a member to follow this project and never miss any updates

Going up?

About Us Contact Hackaday.io Give Feedback Terms of Use Privacy Policy Hackaday API

© 2025 Hackaday

Yes, delete it Cancel

Report project as inappropriate

You are about to report the project "The Optical Inch", please tell us the reason.

Send message

Your application has been submitted.

Remove Member

Are you sure you want to remove yourself as a member for this project?

Project owner will be notified upon removal.