Arduino sketches for the Smart Windows project, MIT THINK 2014.