Bicycle Computer #9 -Mounting the Hardware on the Bike

This is the 9th in a series of articles demonstrating how someone with modest .NET programming capabilities can now write applications for embedded devices using the .NET Micro Framework and Visual Studio.  To jump to the initial article, click here. The full project source code can be found on  Remember, you can help determine what we cover in the series with your questions and suggestions.

We are deep into the finishing up of Version 4.1 due to launch in about a week.  So, to lighten my load this week, I am going to focus not on code but on the process of getting the computer on the bike which is progressing.  Here are some pictures.  Jim has been helping with the mounting brackets for the sensors and the computer itself.  Here is what it looks like now.

We mounted some aluminum brackets with hose clamps lined with rubber to protect the handle bars.


The lower plate of the plastic enclosure is then screwed on.


Then the dev board (the GHI Cobra), and the sensor board, and the Wi-Fi radio are mounted onto that base. The top of the enclose with the display mounted is also attached to the processor board.


All buttoned up and ready to run.  My old bike computer (below and a little to the right) is clearly a lot smaller but this is still a prototype and can get much smaller (within the limits of the display of course).

IMG_0148And we are working on getting the switch sensors mounted.  The plan calls for mounts to tubes and pedals using zip ties.  There are still some placement challenges because these magnets are so large.  

IMG_0160 IMG_0162 IMG_0164

We lucked out and the reflector that I use on the wheels has a center that we could drill out to fit the magnet.

That’s all for now.  In the coming weeks, I see articles on saving the ride data off to the SD card, writing an application to run (a long time) on batteries, and setting the date and time on the device when I start it up from the network at my house.  Anything else you want to hear about?

Comments (8)

  1. Johan Visser says:

    The link '' is not correct.

    The correct link is:

  2. Colin Miller says:

    Thanks Johan,   That has been wrong in the last several articles.  Fixed now.  

  3. Freds says:

    Is the display on this device sunlight readable or only usable on rainy seattle days?

  4. Colin Miller says:

    Well – is there a difference?  :-).   I actually adjusted the colors on the screen to make them higher contrast and the larger display helps.  I can see it on days that are as sunny as it gets here but we haven't had many really bright days this summer. The angle is important with this screen so the mounting needs to be adjustable.  

  5. freds says:

    As a seattle native I hear you about the difference.

    As a hacker and pilot; sun light readable means that it's bright enough or enough contrast to be readable all the way though a 360 degree turn. Generally achived with a very large nit count or transreflective displays.

  6. Colin Miller says:

    This unit probably doesnt meet that requirement so I dont recommend replacing the instrument panel on your plane with this hardware without verifying that it meets your needs. 🙂

  7. franck says:

    hello, i search wifi application and i find you 🙂 i'm interest by FEZ Domino do you know what is the module to acces wifi: cle usb wifi? wifi interface but i don't find

    thank you

  8. Colin Miller says:

    Hi franck

      GHI has a Wifi shield for the Fez Domino.…/fez-domino

    There are no offical GHI drivers but they do have some sample drivers for now that bridge UART to Wifi at:…/FEZ_Shields_WiFly.cs   This is a simple wifi connection without DPWS or Sockets.  If you are looking for something more complex, you might consider the Fez Cobra.  There is a free NETMF ebook that explains the differences at:…/Beginners%20guide%20to%20NETMF.pdf