Meet Miguel Wattson (geddit?), the most piscine member of the Raspberry Pi community. Miguel is an electric eel who lives in a tank at the Tennessee Aquarium; and his keepers, with some help from some computer science interns, have decided to use Miguel’s tendency to generate electricity to do some showboating.
Electric eels (actually a kind of knifefish, so strictly speaking they’re electric fish, which sounds much less cool) have the ability to discharge up to 860 volts from three large organs made from electrocytes – organic cells which work like the voltaic pile in an early battery – which they use to stun prey, to communicate, and to navigate. An electric eel at full power only discharges for a couple of milliseconds, but even so, has the ability to electrocute a full-sized human.
This is all very glamorous and exciting, but the problem for eel watchers is that all of this drama is silent and invisible. There’s no way to tell just from watching whether or not an electric eel is discharging. Happily, there’s a way around that.
Sensors (I’m guessing electrodes in the water, connected to ground, whose resistance can be measured – but I do not have an electric eel to test this setup on – your ideas in the comments please!) in Miguel’s tank detect when he discharges. These signals are sent to a LED light and speaker system in the aquarium, where they make static rapping sounds, and flash lights to demonstrate how frequently Miguel discharges. Here he is, doing his thing at feeding time.
But the aquarium team didn’t stop there. Miguel’s electrical activity also sends a message to the attached Raspberry Pi, telling it to send a tweet. Miguel’s Twitter feed is full of fishy puns, eel facts, and messages about conservation – along with the occasional “POW” and “BUZZ!” A database of tweets is constantly added to by staff at the aquarium (Miguel does not have fingers and consequently finds it hard to type).
“Ironically, the eel code was written in Python,” said Evgeny Vasilyev, one of the computer science interns from Tennessee Technological University’s Business Media Center. “The project’s main set piece was Raspberry Pi, a low cost computer which provides all of the necessary functionality in a compact package.”
The Pi not only sends the tweets – it acts as a throttle to make sure that Miguel doesn’t start spamming the feed when he gets overexcited. Feeding time, for example, gets Miguel so overstimulated that he discharges more than once a second. The Pi keeps the frequency of tweets down to a reasonable level.
The Chattanooga Times Free Press has some video of the setup:
You can follow Miguel on Twitter at @EelectricMiguel. You’ll notice that he follows Tennessee Aquarium’s pioneering tweeting groundhog (no, we have no idea what a groundhog is doing in an aquarium), @ChattNoogaChuck, whose profile boasts that he is the aquarium’s chief seasonal forecaster.
If you’re following Miguel, keep an eye out on Mondays, Wednesdays and Fridays, when he’s fed, for bursts of activity!