J
John Burns
Guest
Hi there,
I am new to this hall effect stuff - I am trying to build an inductive
pickup for a lap timer I am building for a friends gokart.
I am trying to put together a circuit which uses a hall effect sensor and
outputs a pulse whenever a magnet is detected....regardless of the magnets
pole.
I see that the Hall effect sensors put out a normal (no magnetic field
detected) voltage of 2.5V and this will change by about +/- 1.17 volts for
the extremes.
My plan was to supply the sensor with a regulated 5v supply, then use a
voltage divider to produce a voltage of 1.5V to compare the sensor ouput
with.
The output from the sensor is separated to two separate transistors which
one detects voltages >2.9V and the other voltages <2.1V - The two outputs
are combined and fed into an optoisolator to then be connected to a PIC.
What I want to know, is if I am making this too technical and there is a
simpler way to do it. I do not want to use the ADC built into the pic as I
want to have the chip do other things and get interrupted for the pulse.
Any ideas?
-John
I am new to this hall effect stuff - I am trying to build an inductive
pickup for a lap timer I am building for a friends gokart.
I am trying to put together a circuit which uses a hall effect sensor and
outputs a pulse whenever a magnet is detected....regardless of the magnets
pole.
I see that the Hall effect sensors put out a normal (no magnetic field
detected) voltage of 2.5V and this will change by about +/- 1.17 volts for
the extremes.
My plan was to supply the sensor with a regulated 5v supply, then use a
voltage divider to produce a voltage of 1.5V to compare the sensor ouput
with.
The output from the sensor is separated to two separate transistors which
one detects voltages >2.9V and the other voltages <2.1V - The two outputs
are combined and fed into an optoisolator to then be connected to a PIC.
What I want to know, is if I am making this too technical and there is a
simpler way to do it. I do not want to use the ADC built into the pic as I
want to have the chip do other things and get interrupted for the pulse.
Any ideas?
-John