Electronics, Lighting, & Gadgets - Looking for a odometer / speedometer that can interface with a PC live

Bikeforums.net is a forum about nothing but bikes. Our community can help you find information about hard-to-find and localized information like bicycle tours, specialties like where in your area to have your recumbent bike serviced, or what are the best bicycle tires and seats for the activities you use your bike for.




Rubin110
08-21-08, 03:34 PM
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!


bwunger
08-21-08, 05:42 PM
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.

TromboneAl
08-21-08, 05:55 PM
+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.


supcom
08-21-08, 07:59 PM
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.

somedood
08-21-08, 11:06 PM
+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.

Pig_Chaser
08-22-08, 01:53 PM
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.

JMRobertson
08-22-08, 04:34 PM
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.

n4zou
08-22-08, 06:00 PM
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/Microcontrollers/BASICStampModules/tabid/134/CategoryID/9/List/0/SortField/0/Level/a/ProductID/118/Default.aspx

http://www.parallax.com/Portals/0/Images/Prod/B/BS1USB-M.jpg

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/Microcontrollers/BASICStampModules/tabid/134/txtSearch/bluetooth/List/1/ProductID/41/Default.aspx?SortField=ProductName%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.
http://www.parallax.com/Portals/0/Images/Prod/3/300/30068-M.jpg
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.