Just started to play in Node.JS with this sensor and I’m not able to read consistent data. With or without sound, the values are the same from Node.JS. I read the data using AnalogSensor and when I read 1.000 samples, the values are the same when there is a lot of sounds around or when is quite.
I’m doing something wrong, but I’m not able to identify the problem.
Configuration: GrovePI+, Sound Sensor v1.6 connected on A0
Below you can find the code that I’m using for it.