Source: https://www.treehugger.com/bikes/raspberry-pi-diy-dynamic-bike-headlight-projects-useful-data-ground-video.html