Go Down

Topic: Readings from light and sound sensors using keyPressed and getting to Processin (Read 873 times) previous topic - next topic


Hey guys,

Working on arduino and processing serial com for a uni project. Would really appreciate your help!

I want to use two or three sensors on my arduino, and get average readings for each sensor say for 3 seconds or so) when I press specific keys like A,I,V, etc.

Next my idea is to have drawn a few object shapes on processing and make classes for each, with them appearing with their specific x and y locations and colour on the screen depending on the readings from the sensors connected to the arduino.

So if i have 3 LDRs, one could give the x location, one the y, and one the colour. So each keyPressed would be connected to an object in Processing.

Any idea how to go about this?

Go Up