This is probably the coolest arduino implementation I've seen yet.