Monday, October 05, 2020

press W for Fwd

 A cute little Teensy-LC based project. A simple Sharp IR sensor does distance thresholding (and some crude filtering) to detect each "row" event, and then a USB-HID keyboard implementation emits a 'w' keypress each time. This 'w' causes Google Maps to advance forwards a single step in Street View.

Code here. The biggest issue (and maybe TODO) is the exact IR value thresholding, and would have to be tuned depending on how and where you mount the sensor... some kind of adaptive filtering could make it a lot more hands-off in terms of tuning.