Portable PySpectrometer

Everything you need to run PySpectrometer from Les Wright on a mobile platform

Public Chat
Similar projects worth following
This is a portable Spectrometer based on a Raspberry Pi 4 with with no-ir camera and diffraction optics.

The spectral range is 310 - 760 nm in 640 channels !

Running this software made by Les Writght:

-Raspberry Pi 4 (4 Gb)
-TFT: 5" with 800 x 480 pixels
-RPi Cam without IR filter
-8 mm IR Lens
-the cable for the cam is about 15 cm long.
-3d-printed cam & optics holder
-3d-printed case. The back of the case had to been stretched in depth to fit everything in (

/*-atm with external power bank. ..looking for suitable LiPo and Converter.*/
Now with internal, wireless rechargeable power supply!

Dimensions: 123 x 100 x 40 mm

Based on:

To focus the lens correctly, just use the camera as intended and without diffraction optics and adjust the lens so a sharp picture can be seen. Now insert the diffraction optics, so the red part of the spectrum is on the right side of a picture. Get a red (650 nm) and UV-laser (405 nm) pointer and calibrate the software.


* I think i damaged my camera. Random noises appear on ccd (readouts?) sometimes.


Holder for optics and rpi camera

Standard Tesselated Geometry - 6.92 kB - 12/19/2021 at 10:10


  • Adding wireless charging & internal LiPo "powerbank"

    j02/21/2022 at 18:42 0 comments

    Upgrading the portable pySpectrometer with a LiPo and wireless charging receiver. 

    I planed to put those parts into the case:

    Will it fit ?

    Yes !

    Is the cam still okay? 

    ... but after 15 mins of usage the StepUp overheats ! - looking for a 5 Amps StepUp now.

View project log

Enjoy this project?



Similar Projects

Does this project spark your interest?

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