I made this project, however, I did not use the raspberry Pi, as it is totally overkill. Instead I found a little led controller from a broken led lantern and used it to flash my helmet light. The temperature didn't effect it, it was powered by two little key batteries, and when I failed on a rail, ...