Added touch detection using VL53L1X Time of Flight (ToF) sensors.
Time of Flight sensors send out short pulses of light to measure the time it takes for some of the emitted light to come back. This is expressed in milliseconds which can be used to measure if the light is interrupted by calibrating on start. For example, if it takes 2200ms to reach the ground from above, if it is < 2000ms we can say with confidence that someone is 'touching' our pillar.
These sensors are placed as an array at the top of our pillar looking down around the pillar, resulting in an percentage of sensors being 'touched'. This percentage is used to control light and sound levels.
Added touch detection using VL53L1X Time of Flight (ToF) sensors.
Time of Flight sensors send out short pulses of light to measure the time it takes for some of the emitted light to come back. This is expressed in milliseconds which can be used to measure if the light is interrupted by calibrating on start. For example, if it takes 2200ms to reach the ground from above, if it is < 2000ms we can say with confidence that someone is 'touching' our pillar.
These sensors are placed as an array at the top of our pillar looking down around the pillar, resulting in an percentage of sensors being 'touched'. This percentage is used to control light and sound levels.