element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum Bicycle cadence and speed logger
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 57 subscribers
  • Views 498 views
  • Users 0 members are here
  • bicycle
  • logger
  • cadence
  • bike
  • speed
Related

Bicycle cadence and speed logger

Former Member
Former Member over 11 years ago

First of all wanted to start by saying that I'm not very savvy with electronics, but am willing to dabble in it.

 

As a bicyclist I am interested in logging my speed and my cadence during my trips.  I am not able to find any commercial product that can do that (at least nothing in the low price range that I'm looking at).

I did find online someone who made one using an Audrino: http://www.mwilliams.dsl.pipex.com/datalogger2.htm, however, it seems expensive and is not detailed enough for me to replicate it.  I am hoping that someone would like this challenge and design a very simple logger without an Audrino and document the steps for others to replicate.

 

Here is what I envision: logger logs time (either actual time or simply a counter from the start point) and the number of pulses it sees from the reed switch of the bicycle wheel and the pulses from the peddles.  No need for a display.

 

Any suggestions?  Anyone interested in the idea?

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    I just wanted to break down what you might need to think about if someone was to build this device. It might explain why something already out there is so expensive.

    That project you reference seems to be based on an electric powered bike, the rear hub is a motor so I think he was getting some data out of it like when a shift gear occurred.

    With all that data, you probably need to bone up on the software side to analyze the behaviors, filter out noise and trend your usage to see if it means anything.

    An arduino does not have a real-time-clock, which is an optional add on module, you probably want the data timestamped.

    There is also heart-rate sensors so you might want to throw that in for full activity metrics. Maybe windspeed indicator too?

    There are GPS modules, accelerometer, and compass sensors for the arduino to give you "flight and location" data if needed.

    That said, you are looking at building some sort of black box flight recorder for a bicyclist.

    So, basic arduino stuff that there are already examples of:

    LCD display is warranted - better than a few LEDs blinking to give status or see what kind of data you are logging in real time

    Wheel movement captured by magnetic sensors to calculate speed, RPM and distance travelled

    Shift gearing captured by switch postions/encoder of some sort

    Datalogging - write to SD card to dump the data to PC for analysis

     

    It is a doable project but even basic bike sensors seem to record speed and cadence, maybe just max values, I guess you really want to analyze your ride as a performance athlete.  Good luck.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • vsluiter
    0 vsluiter over 11 years ago

    Hello Vadim,

     

    Why don't you want to use an Arduino? You'll need something as a development platform, if size is the problem you can later make a custom board.

    Arduino is not my preference, but the functionality you like can be easily prototyped with mbed (now supports a lot of boards) or Arduino.

    The way I read your message is that you want a very simple data logger, that just logs time and / or pulses from pedal and wheel. If you log to SD card you can easily make this based on a few mbed projects.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • element14jamie
    0 element14jamie over 11 years ago

    Hello Vadim,

    Welcome to the Community, we hope you are enjoying it. I will move this discussion to the Single-Board Computers area as I think it better fits your question.

     

     

    Thank you,

     

     

    Jamie

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw over 11 years ago

    Hi Vadim,

    This could be accomplished with just a CPU, a battery and a couple of reed relays or hall effect switches. The program in the cpu would simply need to count the number of wheel rotations and the number of crank rotations in a 10 second period and store these 2 bytes every 10 seconds. I would mount 4 magnets on the wheel and four on the crank to provide better accuracy. This would tell you how fast you were going every 10 seconds, how far you went each 10 seconds, how many crank rotations you made in the same period and what your crank rate was. The uncertainty due to the magnets being mounted  a quarter turn apart would average out over multiple readings. Just a few lines of code is all it would require. You would get a sequence of 2 byte pairs recorded at 10 second intervals. I would use something like a BasicX module from Netmedia or a ZBasic module from ZBasic as these are self-contained solutions that don't require any other costs to implement - the development systems are free. Arduinos are also feasible, if you can find a small and inexpensive variant. The Hall effect switches or reed relays could be connected directly to the module. If you use reed relays, be sure your software allows the reed switch to bounce for 15 milliseconds when closing or opening without counting extra pulses and set the input pins to have internal pull-up resistors.

    Doug

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube