FYP: Lego - the best form of rapid prototyping
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbC_C-UZ6JN0S2gtG7XaB_kp4UDJds0hedIvjZVVJsY6-IjE9-6R-POL_yPD1vf2mrj0LpMXGRTVp7rVNDNfO4dhxm3DjkrCwqkGr8PfZYcFIXSSPg68Im5S_P_3agmSUD0WjdbncxM3-s/s400/ldpIQNl.jpg)
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.