Re: bike computer to PC interface




<pete_tomson@xxxxxxxxxxx> schreef in bericht
news:1173287192.402131.180590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All - I found this newsgroup and was wondering if anyone could help
me.
I'd like to connect a magnetic sensor (bicycle computer) directly to
my computer through one of the ports without a power supply.

Basically the reed switch will have a current induced in it so I'm
thinking I'd ideally like the circuit to be passive with minimal
external circuitry.

I have a pic of a basic circuit I found but don't know how it works
and I don't know how to post it. Basically it has a connection to pin
4 through a 4.7kohm resistor a direct connection to pin 6 and a ground
through pin 20.
If you tell me how to post a pic I can show the diagram.


Can anyone make suggestions about circuit design - can I feed the
wires directly into my parallel/serial port?

I'm also trying to write a program in VB6 to read the input, but not
having much luck.

I'd really appreciate any help anyone could give me.
Thanks
Pete


For the bike computers I'm aware of they tie a magnet to the wheel and some
sensor to the frame. That sensor can be a coil or a Hall type sensor but I
never saw a reed switch so far. Nevertheless, for a simple solution I'd tie
a strong magnet to the wheel and a reed switch to the frame. You may heve to
do some experiments to find a reliable combination, but once you have a
working reed switch, you can count pulses through a serial- or parallel port
very easily.

D0(2)------+
|
.-.
3k3 | |
| |
'-'
|
PE(12)-----+
|
\ o
\
\.
o
|
GND(18)----+
created by Andy´s ASCII-Circuit v1.24.140803 Beta www.tech-chat.de

Above an example to use the parallel port. Drive D0 (pin 2 of the pp
connector) high and you can read the state of the switch through PE (paper
empty pin 12).

petrus bitbyter


.



Relevant Pages

  • Re: Counting Bike Wheel Revs
    ... Have you seen the reed switch, I was under the impression it was a hall ... >> Would a small coil of wire on PCB and a magnet be the solution? ... > the spokes and a reed switch in the fork mounted sensor. ...
    (comp.arch.embedded)
  • Re: TrailTech Endurance confusion
    ... I'm also not sure which sensor kit I may ... Fred, the sensor is just a reed switch, the normally open type. ... As HWD pointed out, the positioning is critical, because if the magnet ... I crafted a little epoxy gnome with the reed switch inside, ...
    (rec.motorcycles.dirt)
  • Re: Aldi cycling specials on Thursday 19 July
    ... Note the advice in the manual not to align the magnet with the center of ... the sensor, but to either side. ... The sensor contains a reed switch, you can hear the switch closing and ... This allows finding a reliable position ...
    (uk.rec.cycling)
  • Re: New Computer Installation
    ... magnet should be placed as close to the axle as possible. ... If the sensor is placed at a random height, ... One wheel revolution is still one wheel revolution no matter where the ...
    (rec.bicycles.tech)
  • Re: Cycle Computer Sensor
    ... From the information I search from internet, Cycle computer sensor ... Reed switch seems a mechanical switch that can switch on when ... Comsume more power. ... The commersial cycle computer product such as VETTA and Sigma ...
    (sci.electronics.design)