TOF sensor based dimmer switch demonstration.
C++ C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
teensy_sketch
.clang-format
.gitignore
LICENSE
README.md

README.md

ProximityDimmer

TOF sensor based dimmer switch demonstration.

Teensy32 demonstration board

Build using platformio:

cd teensy_sketch
platformio run -t upload

Use

Turns the LED on the dev board on/off when an object (e.g. your hand) is quickly waved across the TOF sensor (but not too quickly).

Dimms the LED if an object hovers over the sensor. The dim amount is proportional to the object's distance. Closer is dimmer.