Arduino and Android Java code for my thesis project, Paired (paired.tumblr.com)