Vintage Plotter Turned Fruit Spectrometer

Fruit can be a tricky thing: if you buy it ripe you’ll be racing against time to eat the pieces before they turn into a mushy mess, but if you buy the ones which are a bit before their prime it’s not always easy to tell when they’re ready to eat. Do you smell it? Squeeze it? Toss it on the counter to see if it bounces? In the end you forget about them and they go bad anyway. That’s why here at Hackaday we sustain ourselves with only collected rainwater and thermo-stabilized military rations.

But thankfully Cornell students [Christina Chang], [Michelle Feng], and [Russell Silva] have come up with a delightfully high-tech solution to this decidedly low-tech problem. Rather than rely on human senses to determine when a counter full of fruit has ripened, they propose an automated system which uses a motorized spectrometer to scan an arrangement of fruit. The device measures the fruit’s reflectance at 678 nm, which can be used to determine the surface concentration of chlorophyll-a; a prime indicator of ripeness.

If that sounds a bit above your pay grade, don’t worry. The students were able to build a functional prototype using a 1980’s era plotter, a Raspberry Pi, and a low-cost AS7263 NIR spectral sensor from SparkFun which just so happens to have a peak responsivity of 680 nm. The scanning is performed by a PIC32MX250F128B development board with an attached TFT LCD display so the results can be easily viewed. The Raspberry Pi is used in conjunction with a Adafruit PCA9685 I2C PWM driver to control the plotter’s stepper motors. The scanning and motor control could be done with the PIC32 alone, but to save time the students decided to use the Raspberry Pi to command the PCA9685 as that was what the documentation and software was readily available for.

To perform a scan, the stepper motors home the AS7263 sensor module, and then passes it under the fruit which is laying on a clear acrylic sheet. Moving the length of the acrylic sheet, the sensor is able to scan not only multiple pieces of fruit but the entirety of each piece; allowing it to determine for example if a section of a banana has already turned. The relative ripeness of the fruit is displayed to the user on the LCD display as a heatmap: the brighter the color the more ripe it is.

At the end of their paper, [Christina], [Michelle], and [Russell] note that while the scanner worked well there’s still room for improvement. A more scientific approach to calculating how ripe each fruit is would make the device more accurate and take out the guess work on the part of the end user, and issues with darker colored fruit could potentially be resolved with additional calibration.

While a spectrometer might sound like the kind of equipment that only exists in multi-million dollar research laboratories, we occasionally see projects like this which make the technology much more accessible. This year we saw a compact spectrometer in the Hackaday Prize, and going a bit farther back in time we even featured a roundup of some of the most impressive spectrometer builds on Hackaday.io.

Continue reading “Vintage Plotter Turned Fruit Spectrometer”

Putting More Tech Into More Hands: The Robin Hoods Of Hackaday Prize

Many different projects started with the same thought: “That’s really expensive… I wonder if I could build my own for less.” Success is rewarded with satisfaction on top of the money saved, but true hacker heroes share their work so that others can build their own as well. We are happy to recognize such generosity with the Hackaday Prize [Robinhood] achievement.

Achievements are a new addition to our Hackaday Prize, running in parallel with our existing judging and rewards process. Achievements are a way for us to shower recognition and fame upon creators who demonstrate what we appreciate from our community.

Fortunately there is no requirement to steal from the rich to unlock our [Robinhood] achievement, it’s enough to give away fruits of price-reduction labor. And unlocking an achievement does not affect a project’s standings in the challenges, so some of these creators will still collect coveted awards. The list of projects that have unlocked the [Robinhood] achievement will continue to grow as the Hackaday Prize progresses, check back regularly to see the latest additions!

In the meantime, let’s look at a few notable examples that have already made the list:

Continue reading “Putting More Tech Into More Hands: The Robin Hoods Of Hackaday Prize”

Tiny $25 Spectrometer Aims To Identify Materials With Ease

Reflectance spectrometers work on a simple principle: different things reflect different wavelengths in different amounts, and because similar materials do this similarly, the measurements can be used as a kind of fingerprint or signature. By measuring how much of which wavelengths get absorbed or reflected by a thing and comparing to other signatures, it’s possible to identify what that thing is made of. This process depends heavily on how accurately measurements can be made, so the sensors are an important part.

[Kris Winer] aims to make this happen with the Compact, $25 Spectrometer entry for The 2018 Hackaday Prize. The project takes advantage of smaller and smarter spectral sensors to fit the essential bits onto a PCB that’s less than an inch square. If the sensors do the job as expected then that’s a big part of the functionality of a reflectance spectrometer contained in a PCB less than an inch square and under $25; definitely a feat we’re happy to see.

SCiO “Pocket Molecular Scanner” Teardown

Some of you may remember the SCiO, originally a Kickstarter darling back in 2014 that promised people a pocket-sized micro spectrometer. It was claimed to be able to scan and determine the composition of everything from fruits and produce to your own body. The road from successful crowdsourcing to production was uncertain and never free from skepticism regarding the promised capabilities, but the folks at [Sparkfun] obtained a unit and promptly decided to tear it down to see what was inside, and share what they found.

The main feature inside the SCiO is the optical sensor, which consists of a custom-made NIR spectrometer. By analyzing the different wavelengths that reflect off an object, the unit can make judgments about what the object is made of. The SCiO was clearly never built to be disassembled, but [Sparkfun] pulls everything apart and provides some interesting photos of a custom-made optical unit with an array of different sensors, various filters, apertures, and a microlens array.

It’s pretty interesting to see inside the SCiO’s hardware, which unfortunately required destructive disassembly of the unit in question. The basic concept of portable spectroscopy is solid, as shown by projects such as the Farmcorder which is intended to measure plant health, and the DIY USB spectrometer which uses a webcam as the sensor.

Bring Doping, Microfluidics, Photovoltaics, And More Into The Home

Can you make a spectrometer for your home lab all from materials you have sitting around? We might not believe it from a less credible source, but this MIT course does indeed build a spectrometer from foam board using two razor blades as the silt cover and a writable CD as the diffraction grating. The coolest part is removing the metal backing of the CD.

mit_experiments_thumbHackaday reader [gratian] tipped us off about the course available from MIT courseware called Nanomaker. It boils down some fairly complicated experiments to the kind one can do in the home lab without involving thousands of dollars of lab equipment. The whole point is to demystify what we think of as complicated devices and topics surrounding photovoltaics, organic photovoltaics, piezoelectricity and thermoelectricity.

 

Spectrometers are used to analyze the wavelengths of a light source. Now that you have a measurement tool in hand it’s time to build and experiment with some light sources of your own. Here you can see an LED that is the topic of one of the course labs.

If you have a bit of background in chemistry this is a good step-by-step guide for getting into these types of experiments at home. It reminds us of some of the really cool stuff [Jeri Ellsworth] was doing in her garage lab, like making her own EL panels.

Continue reading “Bring Doping, Microfluidics, Photovoltaics, And More Into The Home”

Hacklet 122 – Spectrometers

There is always something interesting to find when browsing the projects on Hackaday.io. I’m always amazed at how much hackers can get done in their basements and home labs. One surprising trend I’ve found is the sheer number of spectrometer projects people across the globe are working on. I’ve always known what a spectrometer is, but I never knew so many hackers would want them. The numbers don’t lie though – plenty of hackers around the world want to measure the spectra of light — be it to test out a new LED, or determine the structure of an object. This week we’re checking out some of the best spectrometer projects on Hackaday.io!

ramanpiWe start with [fl@C@] and ramanPi – Raman Spectrometer. RamanPi is one of the first spectrometer projects on Hackaday.io. [fl@C@] entered his project in the 2014 Hackaday Prize, and was one of 5 finalists. As the name implies, ramanPi is a raman spectrometer, a type often used in chemistry. [fl@C@’s] original use for the machine was determining atomic bond angles. RamanPi uses 3D printed parts created with standard desktop printers wherever possible. A Raspberry Pi runs the system, originally a model B, though now I’m sure a Pi 3 would fit the bill. The detector is a Toshiba linear CCD.

 

dh-specNext up is [David H Haffner Sr] with DH 4.0 Spectrometer V 4 ( upgrade 2 ). [David’s] project doesn’t give a lot of background in the description text – he dives right in to the technical details of designing and building a spectrometer. His sensor is a JDEPC-OV04, which is a webcam module intended for use in laptops. Much of [David’s] recent work has been on the optical path. Optical spectrometers can use a diffraction grating and a slit to split light into spectra. [David] is using a recordable DVD as his diffraction grating. The slit is a bit more home-made. Two Gillette razor blades and an acetate strip are used to form an optical slit only 0.11 mm wide. [David] has already used his spectrometer to analyze crude oil.

pure-engNext we have [Pure Engineering] with C12666MA Micro-Spectrometer. Electro-Optics manufacturer Hamamatsu has created an optical spectrometer in a fingertip sized can. Their C12666MA micro-spectrometer sounds like it must be magic — and it is. The magic of Microelectromechanical systems (MEMS) have brought this device to life. Bringing one of these devices up isn’t exactly an easy task though. [Pure Engineering] has designed a breakout board for the C12666MA. They’ve even included a 404nm laser diode and a white LED for illumination. The board can plug into a standard Arduino header.

adamFinally, we have [Adam] with Handheld VNIR Spectrometer. VNIR in this case stands for visible and near-infrared. [Adam] created this device so he could learn how spectrometers worked. That’s a noble purpose if I ever heard one. He is building his system to be portable, so he can take measurements outside the lab. The sensor is a Sony ILX511B linear CCD. An Arduino nano reads the CCD and passes the data on to a PC for analysis. [Adam’s] diffraction grating is a concave holographic affair from Public Lab. [Adam] is also using an acetate slit purchased from Public Lab. Illumination enters via a fiber optic bundle.

If you want to see more spectrometer projects, check out our new spectrometer projects list. See a project I might have missed? Don’t be shy, just drop me a message on Hackaday.io. That’s it for this week’s Hacklet, As always, see you next week. Same hack time, same hack channel, bringing you the best of Hackaday.io!

Hackaday Prize Entry: A Visible Spectrophotometer

Spectroscopy is one of the most useful tools in all of science, and for The Hackaday Prize’s Citizen Science effort [esben] is putting spectroscopy in the hands of every high school student. He’s built a super cheap, but very good spectrophotometer.

The idea of a spectrophotometer is simple enough – shine light through a sample, send that light through a diffraction grating, focus it, and shine the light onto a CCD. Implementing this simple system is all about the details, but with the right low-cost lenses and a 3D printed enclosure, [esben] has this more or less put together.

Of course, lenses and diffraction gratings are relatively simple. You need real data, and for this we can turn to another one of [esben]’s projects in the Hackaday Prize. It’s a breakout board for a linear CCD module, able to capture the spectrum coming off a sample with incredible precision. This is how real spectrophotometers are put together, but because of the difficulties in driving a CCD, not many people have put one of these together.

Both of these projects are finalists for in the Citizen Science portion of The Hackaday Prize. That’s an awesome result for what is a complete system for learning about spectroscopy with a device that’s also able to produce some high-quality data, too.