Color Sonification Could Be Key To Rainbow Connection

Have you seen any loud sweaters this holiday season? Now there is a way to quantify their vibrancy and actually hear them at the same time. Cornell engineering students [Mengcheng Qi] and [Ryan Land] focused on the sonification of color and translated the visible spectrum into audible sounds.

They originally planned to use pixel samples from an OV7670 camera module, but weren’t able to extract any useful color data from it. We prefer their Plan B anyway, which was to use CdS photo resistors and the plastic color filters used for photography in red, blue, and green. The varying intensity of light falling on the photo resistors creates different patterns according to the voltage levels. The actual sound generation was done with FM sound synthesis.

There wasn’t a lot of natural sound variation between different RGB values, so in order to make it more fun, they created different instruments which play different patterns at variable speeds and pitch according to the colors. In addition to the audio feedback, the RGB values are displayed in real-time on a small TFT. Below those are dynamic bar graphs that show the voltages of each color.

Check out the demo after the break; they walk through the project and try it out on different things to hear their colors.

Continue reading “Color Sonification Could Be Key To Rainbow Connection”

Students Set Sights On DIY Eye Exams

What if you could give yourself a standard eye exam at home? That’s the idea behind [Joel, Margot, and Yuchen]’s final project for [Bruce Land]’s ECE 4760—simulating the standard Snellen eye chart that tests visual acuity from an actual or simulated distance of 20 feet.

This test is a bit different, though. Letters are presented one by one on a TFT display, and the user must identify each letter by speaking into a microphone. As long as the user guesses correctly, the system shows smaller and smaller letters until the size equivalent to the 20/20 line of the Snellen chart is reached.

Since the project relies on speech recognition, the group had to consider things like background noise and the differences in human voices. They use a bandpass filter to screen out frequencies that fall outside the human vocal range. In order to determine the letter spoken, the PIC32 collects the first 256 and last 256 samples, stores them in two arrays, and performs FFT on the first set. The second set of samples undergoe Mel transformation, which helps the PIC assess the sample logarithmically. Finally, the system determines whether it should show a new letter at the same size, a new letter at a smaller size, or end the exam.

While this is not meant to replace eye exams done by certified professionals, it is an interesting project that is true to the principles of the Snellen eye chart. The only thing that might make this better is an e-ink display to make the letters crisp. We’d like to see Snellen’s tumbling E chart implemented as well for children who don’t yet know the alphabet, although that would probably require a vastly different input method. Be sure to check out the demonstration video after the break.

Don’t know who [Bruce Land] is? Of course he’s an esteemed Senior Lecturer at Cornell University. But he’s also extremely active on Hackaday.io, has many great embedded engineering lectures you can watch free-of-charge, and every year we look forward to seeing the projects — like this one — dreamed and realized by his students. Do you have final projects of your own to show off? Don’t be shy about sending in a tip!

Continue reading “Students Set Sights On DIY Eye Exams”

Retrotechtacular: Electronic Publishing In The 1930s

We are living in the age of citizen journalism and the 24-hour news cycle. Reports about almost anything newsworthy can be had from many perspectives, both vetted and amateur. Just a few decades ago, people relied on daily newspapers, radio, and word of mouth for their news. On the brink of the television age, several radio stations in the United States participated in an experiment to broadcast news over radio waves. But this was no ordinary transmission. At the other end, a new type of receiver printed out news stories, line drawings, and pictures on a long roll of paper.

Radio facsimile newspaper technology was introduced to the public at the 1939 World’s Fair at two different booths. One belonged to an inventor named William Finch, and one to RCA. Finch had recently made a name for himself with his talking newspaper, which embedded audio into a standard newspaper in the form of wavy lines along the edges that were read by a special device.

Continue reading “Retrotechtacular: Electronic Publishing In The 1930s”

Touch Piano Hits All The Right Notes

We love a good musical build, and this one is no exception. For their ECE4760 final project, [Wendian Jiang], [Hanchen Jin], and [Lin Wang] of Cornell built the nicest-looking touch piano we’ve seen in a while. It has five 4051 multiplexers that take input from 37 capacitive touch keys fashioned from aluminium foil and copper tape. Thanks to good debounce code, the sounds are clean even though the keyboard is capable of four-note polyphony.

A PIC32 and a Charge Time Measurement Unit (CTMU) module generate a small, steady current that charges up the keys. The PIC scans the pins continuously waiting for touch input. When human capacitance is detected, the value is compared with the base capacitance using the ADC and the sound is generated with the Karplus-Strong algorithm.

The group’s original plans for the project included a TFT screen to show the notes on a staff as they are played. While that would have been awesome, there was just too much going on already to be able to accurately capture the notes as well as their duration. Check it out after the break.

Continue reading “Touch Piano Hits All The Right Notes”

Thomas Midgley, GM, And The Dark Side Of Progress

Scientific improvements that create industries and save millions of lives often come at a price that isn’t revealed until much later. Leaded gasoline helped the automobile industry take off and synthesized Freon extended the lifespan of lifesaving vaccines, but they took an incredible toll on the environment.

Both were invented in the early 20th century by Thomas Midgley, Jr. After graduating from Cornell in 1911 with a degree in mechanical engineering, he worked briefly for National Cash Register where inventor Charles Kettering had just created the first electronic till. In 1916, Midgley started working for Kettering at Dayton Metal Products Company, which soon became the research division of General Motors.

Continue reading “Thomas Midgley, GM, And The Dark Side Of Progress”

Retrotechtacular: A Desktop Computer From 1965

About eight years before the Xerox built the Alto at PARC and over a decade before the Apple ][ premiered, Italian business equipment manufacturer Olivetti produced a bona fide desktop personal computer. When Olivetti debuted this typewriter-sized marvel in 1965 at a business convention in New York City, people were in absolute awe that this tiny, self-contained unit could perform the same types of functions as the hulking room-sized mainframes of the time. Some were sure that it was simply a small input device for a much bigger machine hiding behind the curtain.

But the revolutionary Olivetti Programma 101 was no joke. It performed standard four-banger operations and could handle square root and absolute value calculations. The Olivetti had 16 jump instructions as well as 16 conditional jump instructions, which put it firmly in state machine territory. Programs could be printed on a roll of paper or stored long-term on long magnetic cards.

Continue reading “Retrotechtacular: A Desktop Computer From 1965”

DIY Lamps Brighten Winter Blues

As you know, winter is coming. For a lot of people this means that Seasonal Affective Disorder is beginning to set in. [Luke]’s mom already has a light therapy box. It’s one of those commercially available ones that uses fluorescent bulbs and leaves a lot to be desired in the full-spectrum light simulation department. [Luke] jumped on the opportunity to design a better one.

The standard of quality for light therapy units is a rating of 10,000 lux. While lux definitely matters, the rating is a misleading selling point when given on its own. One of the other important factors in mimicking the sun is the Color Rendering Index (CRI). CRI is basically a rating of the bulb’s ability to imitate the color reproduction of natural daylight. The ratings run from 0 to 100 but in reality, the highest-rated bulbs of any kind top out around 98.

For all the fluorescent bulb-bearing light therapy units out there, those bulbs have pretty low CRI ratings. [Luke]’s project page provides emission spectra graphs for a number of bulb types, and we can see how his choice of ceramic metal halide bulbs stacks up against fluorescent, incandescent, and LED bulbs. One of the few downsides to this type of bulb is that they have long startup times.

He ended up making two light therapy lamps, one of them directional and the other omni-directional. They both use ballast-controlled ceramic metal halide bulbs. The ballasts are necessary to provide the high starting voltage that these bulbs require. The omni-directional light is built into a large hurricane candle holder. A lamp holder is fixed into the base and wired to an external ballast box. The directional lamp is a self-contained unit, and [Luke] is happiest with this one. It’s flat and rugged so it can be placed on top of a bookcase and the light bounced off of the ceiling for pleasant, indirect coverage.

We’ve seen a couple of alarm-clock wakeup light builds here, and we’re thinking this would make an awesome mashup.