Tuesday 24 May 2011

Project 4 Programming Progress



Today we started the day completely lost as to if we were even able to communicate Arduino with Max Msp. After doing a bit of research and digging deep into my prior electrical engineering knowledge i decided that using a voltage divider would be the best option to set up the 2 flex sensors. We walked up to surplus electronics, purchased a few components such as resistors and wired and headed back to AUT to piece it all together. Looking at a simple diagram I set up the breadboard and hooked it up to Toms Laptop to test it out (as my Max Msp has conveniently expired its trial version...) After consulting the teacher of Arduino we had an idea of how we would use the serial of Arduino to talk with Max Msp and send through the voltage values to be used as variables. We found an example in the program that could do exactly what we wanted called 'analogue read.'
After a bit of tinkering and an hour or two of staring blankly at the screen we finally had the variables printing on Max MSP.

No comments:

Post a Comment