The new demo is approaching and we need a new prototype. Now that the MPR121 capacitive sensor is also runnning I can use it to make our prototype more convincing.
I added the code for the mpr121 in the sketch I had before with the two pings. After some research, some hours of me banging my head on the desk and a conversation with Rene I managed to find out what and where do I need to print in order to pass on the values of the touch ports. I added them to the array I was about to send to my Processing program.
In Processing I didn’t have much to do with the values of the capacitive sensor because we only had one sample and we couldn’t get much data we could manipulate and even the simplest getVolume() function had a problem in the library of Minim. My way around it was to use the shiftGain() and make it that evey time you press one of the wires the volume slowly gets louder or quiter.
Leave a comment