(The VCNL400 also comes with a light sensor, but for now, we are going to only deal with the proximity sensor.)
The range of this sensor is 200mm, which is about 7.874 inches. We lined the range to find the approximate values given by the sensor to change the brightness of the light and to find a point to turn on the siren! The siren is running on processing.
** Add the data file consisting the soundbank-deluxe.gm with your processing file.
** The file: soundbank-deluxe.gm can be found: http://www.oracle.com/technetwork/java/soundbanks-135798.html
The range of this sensor is 200mm, which is about 7.874 inches. We lined the range to find the approximate values given by the sensor to change the brightness of the light and to find a point to turn on the siren! The siren is running on processing.
** Add the data file consisting the soundbank-deluxe.gm with your processing file.
** The file: soundbank-deluxe.gm can be found: http://www.oracle.com/technetwork/java/soundbanks-135798.html
Find the Arduino and Processing code here:
https://github.com/helenbang/ProximityWarning/tree/master