By signing up, you agree to the Code of Conduct, which applies to all online and in-person spaces managed by the Public Lab community and non-profit. You also agree to our Privacy Policy.

As an open source community, we believe in open licensing of content so that other members of the community can leverage your work legally -- with attribution, of course. By joining the Public Lab site, you agree to release the content you post here under a Creative Commons Attribution Sharealike license, and the hardware designs you post under the CERN Open Hardware License 1.1 (full text). This has the added benefit that others must share their improvements in turn with you.

Log in

Open-Lux

Revision of a Thermal Flashlight prototype, with added RGB+NIR sensors.

Previously ...

Public Lab's Thermal Flashlight design is intended to provide an accessible and engaging tool for identifying thermal leaks in a home or building. The design requires a bunch of bright, RGB LEDs, and a sensor that can detect thermal-band radiation. When beginning to put together a prototype for the Thermal Flashlight, though, it became clear that simply adding a thermistor to the same device might also make the device useful for Public Lab's [Thermal Fishing bob] idea, in which one measures the temperature of water, and display that temperature visually with color. This was what led to the configuration in the Thermal Flashlight REV A prototype. Well, and then I kept a buzzer in there, too, because the entire prototype design I was using was based off Rui Wang's wearable computing Square Wear design, which had a buzzer. (Gieger counter-like indications of temperature might be fun?)

... now, with added LUX!

Okay, so here's the updated version -- which I'm calling "Open-Lux" (we can always switch back to "Thermal Flashlight" -- read on to see why I'm considering a different name for this particular device):

For those who don't aren't fluent in circuit board (I'm not), here's a rough depiction of the components of the design:

Changes from Thermal Flashlight REVA include:

a switch to the Atmega 328P chip, and the use of VUSB to communicate over USB (more about this in a subsequent research note -- I promise).

now we're powering the LEDs directly from the battery, rather than via the microcontroller -- which means that they should be significantly brighter.

Thermal Flashlight mode. Write code that changes the LED colors / buzzer tone as a function of temperature sensed via the IR sensor.

Thermal Fishing Bob mode. Write code that changes the LED colors / buzzer tone as a function of temperature sensed by the thermistor.

But now we've also got two sensors that ought to provide very standard, factory-calibrated way of measuring RGB and NIR light. And they're situated between these very bright LEDs, which can also provide a "standard" illumination for whatever the RGB and NIR sensors are pointing at.

Here are some (hare brained?) ideas for how that could be useful:

Standardized test strip analysis. Make a light-tight box into which the Open-Lux fits, so that a test strip or film that indicates the presence of a chemical via color change can be analyzed in a standard way. Perhaps a cardboard box or 3D printed enclosure that accepts a hydrogen sulfide or mercury test strip, like one of these:

Surface albedo / NDVI-like measurements. Albedo would require adding another pair of sensors on the back of the board, so that we have two facing 'up at the sky' and two facing 'down at the ground'.

Calibration of consumer webcams, digital cameras, and displays. Perhaps this could be useful as a device for characterizing consumer camera sensors that are being considered for use as spectrometers or infragram-like devices? E.g. make a light box and set up the camera and the Open-Lux side-by-side, pointing at the same materials; use the Open-Lux LEDs to illuminate the material, and compare the RGB and NIR results gotten from both devices ....

(Several of the application ideas I mentioned above emerged out of great conversations with Mat Lippincott, Mary Martin, Chris Fastie, Ned Horning, Annette Schloss, and many others, and the simple technique for measuring surface albedo / NDVI was inspired by Rick Shory's Green Logger project. If the ideas here are sensible, these folks ought to be credited; if the ideas don't make sense, it simply means I wasn't clever enough to follow their reasoning.)

Do any of these ideas make sense to y'all? What else might an Open-Lux be useful for?

Oops! I forgot to mention two other additions to the design:

Use as external sensor for a Raspberry Pi / Beagle Bone / laptop. I've broken out RX / TX pins, so that the Open-Lux can be hooked up to e.g. a laptop or Raspberry Pi, as a sort of external sensor device. This should allow for the creation of visualizations of data and control of the device using e.g. browser-based apps for analyzing samples. (And: yes, we should mount the Open-Lux on a servo so that it can scan a room / across a sample and analyze temp / color / etc. Right?)

LCD display. I've added a header for a Nokia 5110 display, mounted on the back of the device. That way, the device can be used as a sort of 'stand alone light meter / thermometer', and you can see e.g. the actual RGB / NIR / temp values without having to connect to an external device. The display looks like this:

Yeah! It's fun to picture this device being used in the mode of an old-fashioned 'light meter' held next to an infragram camera and which accounts for ambient light conditions somehow. Maybe the OpenLux could display (on the Nokia) or record (we can add a uSD card, or have it connected to a laptop) the brightness values (lux?) for R,G,B, and NIR for a scene, and one then uses those values on infragram.org to automatically adjust the levels on the associated infragram image?

I wonder if we can use one half of a ping pong ball, taped on top of the photodiodes, as a diffuser ... but then we'd need to worry about variations in ping pong ball material ... maybe there's some Rosco or Wratten filter that could be used as a diffuser, or some other widely-available, consistently produced material ...