German hardware hackers have developed an umbrella that plays music when it is wet.
To make it able to do so, Berlina-based Alice Zappe and Julia Lager fitted 12 touch-sensitive sensors to the inner canopy of a brolly. The sensors were then connected to a simple circuit board that spotted when each sensor was struck by a raindrop.
AdvertisementIt plays a different beep for each sensor to generate a random 8-bit tune in response to the falling rain.
The gadget was put together in a day for a 24-hour hardware hacking event in Amsterdam, said Zappe.
The first version of the umbrella has the sensors and wires fixed to the canopy cloth using duct tape.
The sensors are made of a piezoelectric material that generates a tiny charge when it is stressed or distorted.
The charges generated when the piezoelectric sensors were hit by raindrops were picked up by an Arduino microcontroller. This has a simple silicon chip on a circuit board studded with many different connectors that can take in data, analyse it and then produce a response via one of its many outputs.
Arduino microcontrollers are popular with many hobbyist hardware hackers because they make it easy to get different components working together.
According to Zappe, one tricky part of the project was tuning the microcontroller so it generated enough beeps to make a pleasant tune. Too sensitive and listeners would get a frenetic cacophony in the lightest shower. Not sensitive enough and the music would be too plodding and sporadic to be interesting.
Testing the sensitivity of the sensors was tricky, said Zappe, because no rain fell on the day it was being built. A bit of messy experimentation in a kitchen did not really help, she said, so the pair had to go on a foraging trip for a watering can.
"We went out to the city on a quest that cost us hours of precious hackathon time. It was ridiculous," she told the BBC.
The delay meant there was no time to work on connecting the Arduino to an Android phone because writing software to do that task would have taken too long. As a result, said Zappe, they were forced to fall back on the built-in 8-bit tone generator on the Arduino microcontroller as a musical source.
The pair is now working on an improved version of the umbrella. This will have wires and sensors sewn on to the canopy and be able to play more pleasant sounds.
"It will also allow you to choose from a few different sounds like piano, guitar, drums and bells - and of course 8-bit," she said.