FYP: Lego - the best form of rapid prototyping
So Progressing on and actually starting the build of this hunk of technology I decided to tackle the servo first, as I had all the equipment all ready. So simple enough I hooked up the servo to the Arduino and managed to get it working fine with a couple of test values. Using some of the stuff I learned from Chris' and the IBM workshops I wrote a little sketch that connects to the web through my WiFi and subscribes to a topic on Chris' remote MQTT broker. It takes the values coming in from the topic and if they're integers and between the values of 0 and 170 it sends them to the server. I'm using a max value of 170 because my little ol' servo's a bit busted and struggles with values above 170. Using mqtt.io I sent some test values over and it after a little fiddling it worked. The next step was to hook up the servo to a set of speakers. I attached a spoked attachment onto the servo, and then taped the attachment onto the volume control for my parents' PC.