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”

Arduino-Powered Rocket Test Stand

If you’re into amateur rocketry, you pretty quickly outgrow the dinky little Estes motors that they sell in the toy stores. Many hobbyists move on to building their own homebrew solid rocket motors and experimenting with propellant mixtures, but it’s difficult to know if you’re on the right track unless you have a way to quantify the thrust you’re getting. [ElementalMaker] decided he’d finally hit the point where he needed to put together a low-cost test stand for his motors, and luckily for us decided to document the process and the results.

The heart of the stand is a common load cell (the sort of thing you’d find in a digital scale) coupled with a HX711 amplifier board mounted between two plates, with a small section of vertical PVC pipe attached to the topmost plate to serve as a motor mount. This configuration is capable of measuring up to 10 kilograms with an 80Hz sample rate, which is critically important as these type of rocket motors only burn for a few seconds to begin with. The sensor produces hundreds of data points during the short duration of the burn, which is perfect for graphing the motor’s thrust curve over time.

Given such a small window in which to make measurements, [ElementalMaker] didn’t want to leave anything to chance. So rather than manually igniting the motor and triggering the data collection, the stand’s onboard Arduino does both automatically. Pressing the red button on the stand starts a countdown procedure complete with flashing LED, after which a relay is used to energize a nichrome wire “electronic match” stuck inside the motor.

In the video after the break you can see that [ElementalMaker] initially had some trouble getting the Arduino to fire off the igniter, and eventually tracked the issue down to an overabundance of current that was blowing the nichrome wire too fast. Swapping out the big lead acid battery he was originally using with a simple 9V battery solved the problem, and afterwards his first test burns on the stand were complete successes.

If model rockets are your kind of thing, we’ve got plenty of content here to keep you busy. In the past we’ve covered building your own solid rocket motors as well as the electronic igniters to fire them off, and even a wireless test stand that lets you get a bit farther from the action at T-0.

Continue reading “Arduino-Powered Rocket Test Stand”

Scott Swaaley On High Voltage

If you were to invent a time machine and transport a typical hardware hacker of the 1970s into 2018 and sit them at a bench alongside their modern counterpart, you’d expect them to be faced with a pile of new things, novel experiences, and exciting possibilities. The Internet for all, desktop computing fulfilling its potential, cheap single-board computers, even ubiquitous surface-mount components.

What you might not expect though is that the 2018 hacker might discover a whole field of equivalent unfamiliarity while being very relevant from their grizzled guest. It’s something Scott Swaaley touches upon in his Superconference talk:  “Lessons Learned in Designing High Power Line Voltage Circuits” in which he describes his quest for an electronic motor brake, and how his experiences had left him with a gap in his knowledge when it came to working with AC mains voltage.

When Did You Last Handle AC Line voltages?

If you think about it, the AC supply has become something we rarely encounter for several reasons. Our 1970s hacker would have been used to wiring in mains transformers, to repairing tube-driven equipment or CRT televisions with live chassis’,  and to working with lighting that was almost exclusively provided by mains-driven incandescent bulbs. A common project of the day would have been a lighting dimmer with a triac, by contrast we work in a world of microcontroller-PWM-driven LEDs and off-the-shelf switch-mode power supplies in which we have no need to see the high voltages. It may be no bad thing that we are rarely exposed to high-voltage risk, but along the way we may have lost a part of our collective skillset.

Scott’s path to gaining his mains voltage experience started in a school workshop, with a bandsaw. Inertia in the saw kept the blade moving after the power had been withdrawn, and while that might be something many of us are used to it was inappropriate in that setting as kids are better remaining attached to their fingers. He looked at brakes and electrical loads as the solution to stopping the motor, but finally settled on something far simpler. An induction motor can be stopped very quickly indeed by applying a DC voltage to it, and his quest to achieve this led along the path of working with the AC supply. Eventually he had a working prototype, which he further developed to become the MakeSafe power tool brake.

Get Your AC Switching Right First Time

The full talk is embedded below the break, and gives a very good introduction to the topic of switching AC power. If you’ve never encountered a thryristor, a triac, or even a diac, these once-ubiquitous components make an entrance. We learn about relays and contactors, and how back EMF can destroy them, and about the different strategies to protect them. Our 1970s hacker would recognise some of these, but even here there are components that have reached the market since their time that they would probably give anything to have. We see the genesis of the MakeSafe brake as a panel with a bunch of relays and an electronic fan controller with a rectifier to produce the DC, and we hear about adequate safety precautions. This is music to our ears, as it’s a subject we’ve touched on before both in terms of handling mains on your bench and inside live equipment.

So if you’ve never dealt with AC line voltages, give this talk a look. The days of wiring up transformers to power projects might be largely behind us, but the skills and principles contained within it are still valid.

Continue reading “Scott Swaaley On High Voltage”

Dexterity Hand Is A Configurable Prosthetic Hand

One of the interesting benefits of the 3D printing revolution is the dramatic increase in availability of prosthetics for people with virtually any need. With a little bit of research, a 3D printer, and some trial and error, virtually anyone can build a prototype prosthetic to fit them specifically rather than spend thousands of dollars for one from a medical professional. [Dominick Scalise] is attempting to flesh out this idea with a prosthetic hand that he hopes will be a useful prosthetic in itself, but also a platform for others to build on or take ideas from.

His hand is explained in great detail in a series of videos on YouTube. The idea that sets this prosthetic apart from others, however, is its impressive configurability while not relying on servos or other electronics to control the device. The wearer would use their other hand to set the dexterity hand up for whatever task they need to perform, and then perform that task. Its versatility is thanks to a unique style of locks and tensioners which allow the hand to be positioned in various ways, and then squeezed to operate the hand. It seems like a skilled user can configure the hand rapidly, although they must have a way to squeeze the hand to operate it, or someone will need to develop an interface of some sort for people without needing to squeeze it.

To that end, the files for making your own hand are available on Thingiverse. [Dominick] hopes that his project will spark some collaboration and development, using this hand as a basis for building other low-cost 3D printed prosthetics. There are many good ideas from this project that could translate well into other areas of prosthetics, and putting it all out there will hopefully spur more growth in this area. We’ve already seen similar-looking hands that have different methods of actuation, and both projects could benefit from sharing ideas with each other.

Thanks to [mmemetea] for the tip!

Continue reading “Dexterity Hand Is A Configurable Prosthetic Hand”

Retrotechtacular: Remembering Radio Shack P-Box Kits

If you are under a certain age, you probably associate Radio Shack with cellphones. While Radio Shack never gave us access to the variety and economy of parts we have today, they did have one thing that I wish we could get again: P-Box kits. The obvious questions are: What’s a P-Box and why do I want one? But the kit wasn’t to make a P-Box. P-Box was the kind of box the kit came in. It was like a piece of perfboard, but made of plastic, built into a plastic box. So you bought the kit — which might be a radio or a metal detector — opened the box and then built the kit using the box as the chassis.

The perfboard was pretty coarse, too, because the components were all big discrete components. There was at least one that had an IC, but that came premounted on a PC board that you treated like a big component. One of my favorites was a three-transistor regenerative shortwave receiver. In those days, you could pick up a lot of stations on shortwave and it was one of the best ways at the time to learn more about the world.

On the left, you can see a picture of the radio from the 1975 catalog. You might think $7.95 is crazy cheap, but that was at least a tank full of gas or four movie tickets in those days, and most of us didn’t have a lot of money as kids, so you probably saved your allowance for a few weeks, did chores, or delivered papers to make $8.

Continue reading “Retrotechtacular: Remembering Radio Shack P-Box Kits”

Let’s Look At Some Cool Old LEDs

LEDs are now a mature technology, with all manner of colors and flavors available. However, back in the 1970s, it was early days for this fledgling display tech, and things looked very different. [IMSAI Guy] happened to work at the optoelectronics division of Hewlett-Packard during their development of LED displays, and has a handful of prototypes from those heady days.

The video is a great look at not only vintage display hardware, but also rarely seen prototypes that seldom left the HP offices. Matrix, 7-segment and even 16-segment devices are all in attendance here. There’s great macro photography of the packages, including the now-forgotten bubble displays as well as hermetically sealed glass packages. The parts all have a uniquely 1970s look, drenched in gold plating and otherwise just looking very expensive.

The followup video breaks out the microscope and powers up the displays. [IMSAI Guy] shares some useful tips on how to best tinker with unknown LED parts, as well as knowledge about the chemical compounds and manufacturing processes involved in LED production. If you don’t know your III-V compounds from your II-VI compounds, prepare to learn.

It’s always interesting to take a look back, and even better to get a peek at the experiments of engineers of the past.

If you’re wondering about applications of this hardware, we’ve seen messageboards and watches before. Video after the break.

Continue reading “Let’s Look At Some Cool Old LEDs”

Charge Your EV The Portable Way

[Andrew Rossignol] has a slightly unusual plug-in hybrid vehicle, a Cadillac ELR, and his latest project for the car sees him building a battery-powered portable mains charging pack for it in an attempt to increase its range. If this seems to be a rather cumbersome exercise, his write-up details the work he put in trying to hook up directly to the car’s internal battery, and how a 4 kW mains inverter and an off-the-shelf mains charging station were the most practical alternative.

His first impulse was to hook a second supply to the car’s high voltage bus from a supplementary battery pack and inverter, but in this aim he was thwarted by a protection diode and his not wanting to modify the car to bypass it. So the unlikely solution was to take his battery pack from a second-hand Toyota Prius upgrade kit and build it into a frame along with the inverter and charger. The result is something akin to a portable generator without the small gasoline engine, and while it is hardly the most efficient way to transfer energy from a wall socket into a car it does offer the ELR a significant range upgrade.

The cost involved has probably kept away many readers who would like to hack their hybrid cars, so we’ve seen surprisingly few. This home made Geo Metro supplements its forklift motor with a small gasoline generator. Meanwhile [Andrew] is no stranger to these pages, among the several times his work has appeared here are his rundown on OBD sniffing the ELR, and from a while back, displaying graphics on an oscilloscope including a Wrencher.