Advertise on Bikeforums.net



User Tag List

Results 1 to 8 of 8
  1. #1
    Newbie Rubin110's Avatar
    Join Date
    Mar 2008
    Location
    San Francisco, CA
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking for a odometer / speedometer that can interface with a PC live

    Hi there. A friend and I have a project in planning which requires a odometer or speedometer that can interface with a PC and send it live information. Basically I want it to feed the speed or distance ridden to a computer as it's happening. The laptop or electronic device that will be picking up this information will either be on the bike (in a pannier I'm thinking) or on the riders back in a bag. GPS is out of the question as this bike may go onto some sort of public transportation, and we need distance ridden by human power. Also if this does is serial based, that would be best, though we can sort of deal with USB.

    Hopefully someone here has something in mind that might fit this bill. Thanks!
    Last edited by Rubin110; 08-21-08 at 05:41 PM.

  2. #2
    Senior Member
    Join Date
    Jun 2008
    Location
    Kent, WA
    My Bikes
    '07 Specialized Tarmac Pro
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds like you just need a programmer, or maybe you already have one. All a cycle computer does is simple calculations based on the magnet+sensor, signal pulses combined with the wheel/tire diameter. The magnet just closes a simple circuit inside the sensor and every time that happens the computer records it as one wheel revolution. Seems like figuring a way to just receive the pulses and doing a bit of programming would be way cheaper than trying to interface an expensive cycle computer with a PC. Any cycle computer that interfaces with a PC is gonna cost ya.
    Last edited by bwunger; 08-21-08 at 06:10 PM.

  3. #3
    Senior Member TromboneAl's Avatar
    Join Date
    Jun 2008
    Location
    Far, Far Northern California
    My Bikes
    1997 Specialized M2Pro
    Posts
    2,867
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    +1 on eliminating the middlecomputer.

    If GPS is in the budget, maybe you could do all you want with a GPS device hooked to the computer.
    My Book: Drive, Ride, Repeat: The Mostly-True Account of a Cross-Country Car and Bicycle Adventure

  4. #4
    You need a new bike supcom's Avatar
    Join Date
    Aug 2002
    Posts
    5,434
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you really need the data going to the computer as the bike is ridden? If you can wait until after the ride to download the data, then you could easily use a Polar 720i or 725i, which will log speed data up to once every 5s internally and be downloaded to a PC afterward. From there, you can do whatever you want with the data.

  5. #5
    Senior Member somedood's Avatar
    Join Date
    Dec 2006
    Location
    UT
    My Bikes
    Ibex Xray
    Posts
    397
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +1 on the GPS

    I'm a programmer, and have thought about this kind of thing myself. Realistically though, using a computer to collect the data won't offer any benefits since you can't use it while riding. You get the extra weight and complexity of something designed for general purpose computing, and the only data you could collect is speed at different time intervals.

    A GPS is smaller, has better battery life, is easier to use (you don't have to boot it up, or hope that the shock of the bike bumping on the road doesn't shorten the life of the hard drive) and collects speed, location and altitude at different time intervals. When you no longer need to collect data you can just turn off the data collection then turn it back on when you need it. It would be way less hassle then hooking up your computer every time you ride. You can move the data to a PC later to do detailed analysis if you want to.

    The only other thing that may make sense would be to use a PDA with gps to do collect the data and analyze it later on.

    Using a GPS would require almost no custom software, collect way more data than a normal bike computer and would be more durable.

    If you REALLY wanted to use your bike computer's magnet couple with a computer you could use a PCMCIA card with an Analog to Digital converter and collect the pulses that way to find the speed. It would be most effective with a real-time operating system, but with something that simple I don't know that it would matter too much.

  6. #6
    Senior Member Pig_Chaser's Avatar
    Join Date
    Sep 2007
    Location
    Edmonton, AB
    My Bikes
    '07 Giant OCR3
    Posts
    1,144
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Does the computer have a parrallel port? I wrote some old school software for reading data off the parrallel port, the electronics for converting a coil's pulse to a high/low signal to the parrallel port would be simple. You'd then have a program running that just counts (and times) the pulses recieved on the parrallel port. This would be the cheapest solution possible (i could do it almost for free).

    Although i must echo the comments stated above, i don't see the point.

  7. #7
    Senior Member
    Join Date
    Apr 2008
    Location
    Morro Bay, CA
    Posts
    346
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No idea why you think for the convience of not having to push "stop" and "start" on a machine like a garvin, you want to carry an entire computer with you on the bike. That just doesn't make sense to me. The only advantage you're looking for is to skip the bus ride... just hit stop.

  8. #8
    Scott n4zou's Avatar
    Join Date
    Jun 2006
    My Bikes
    Too Many
    Posts
    2,393
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'll need to build it yourself. This is easier than you can imagine! You want a Parallax BS1USB Board.
    http://www.parallax.com/Store/Microc...8/Default.aspx



    It has 8 input or output ports you can easily program.

    You can make it wireless with a EmbeddedBlue Transceiver AppMod
    http://www.parallax.com/Store/Microc...%2cProductName
    Some one riding up to 300 feet behind you will be able to monitor everything you connect and program into the basic stamp microprocessor.

    The simplest setup would be to salvage the sensor and magnet from a defunct wired cycle computer and connect to data ground and one of the 8 ports as an input port. This will send a pulse to the basic stamp input once every revolution of the wheel. Just figure out your tire circumference and figure out how many revolutions it makes per mile or kilometer. Adding cadence just involves another magnet and sensor exactly like the one on the wheel but you program it for RPM. You can add an LCD display if you like and a button or two to control it.
    [SIGPIC]http://www.bikeforums.net/image.php?type=sigpic&userid=57360&dateline=1197386754[/SIGPIC]
    It's easier to pick a Yankee tourist than a bail of cotton.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •