Use Raspberry Pi (and C#) in a bicycles Any full source code sample projects about Raspberry Pi (or another) using it in bicycles ?

Maybe interesting for create a dashboard in bike for manage lighting ?

Examples:


live web bicycle (gps logging and web dashboard)
RaspberryPi.Net (not relevant)
Lighting control isn't exactly a good idea since you have 2 lights (front and rear) on a bicycle typically.

Most cycling sensors (cadence, speed, heartrate, etc.) either speak ANT+ or Bluetooth these days, so if you want to read sensors, you just need to know how to speak ANT+ or Bluetooth in your chosen language. You can also add a GPS module and other things as well. 

People have accessed USB ANT+ sticks in Python and Bluetooth has a cycling profile and many people have used Bluetooth with the Raspberry Pi. 

Note that many phones have both ANT+ and bluetooth, and have their own built in batteries (and are probably faster than a Raspberry pi) and mobile internet, so if you want to read sensors, they may be better than the raspberry pi. That being said, either of these options will likely be far more battery draining than a cycling computer which provides the same functionality, so I'm guessing this is a project just for fun.