Hi everyone,
I have 6 infrared sensors connected to the analog pins of my Arduino board. The purpose of the sensors is to detect the movement of the strings of a guitar. When the strings are idle, they are aligned with the sensors. When the strings are strummed, the movement should be detected by the sensors. The problem is that the readings from the analog input are not stable. I have connected LED's to each sensor, and these light up when I strum the strings, so that means the movement is detected but not read by Arduino. Is there a way to stabilize the readings from the sensors?
Thanks in advance.