Hello first post and electronics know nothing person here trying to learn with 'useful' lil projects.
My 'project' /plan is to add some extra security to my e-bike.
The motor control system uses hall sensors in a number of places notably within the brake cut off sensors detecting the state of the brake levers.
My solution is/was to add an additional hall sensor into the shared brake signal line and hide that within the body of the bike. Therefore providing a secret key to turn on off the bikes motor by placing a magnet over the sensor or not.
I bought these sensors via ebay.. ON arrival i looked for the pinout, finding it elsewhere online (with the lettering facing forward, Vcc,Gnd, and output from left to right.) Then quickly soldered some test wires on and tested with 5v, and on moving a weak magnet close by i got a 5v output and when moved away 0v Great.. the bike controller cuts the motor when the brake signal goes low.-so i have my secret magnet key..
HOWEVER. when it came to on bike testing, things went sideways. I had sourced a Y splitter cable designed to add a hall sensor into a sensor lineand test one was the sensor with its wires poked into the spare female socket in the splitter cable in the bikes loop and it was as if nothing was attached.
On removal and retesting the sensor With no magnet near the output was low 0v and when a magnet was close the output kinda varied up to 0.3v remaining floating with the magnet removal.
confused i sat and tested 3 more hall sensors with the same result a vague fractional floating signal of up to 0.4v when a strong magnet held close to the sensor.. (front back left right top and bottom of the sensor exposed to magnets)
So my initial test with virtual input voltage for a positive output was a mis read of 0.5v by me? and if so is an opamp needed here?
I didnt fry them soldering on connecting wires, i only wired the first the subsequent 3 x tests i bent the legs to clip on power/meter
If i have the wrong item can someone point me at hall sensors that operate at 5v with a close to 5v output when magnetically stimulated? and if i am missing the point completely a link to help me learn would be very useful.
All help appreciated thanks.
My 'project' /plan is to add some extra security to my e-bike.
The motor control system uses hall sensors in a number of places notably within the brake cut off sensors detecting the state of the brake levers.
My solution is/was to add an additional hall sensor into the shared brake signal line and hide that within the body of the bike. Therefore providing a secret key to turn on off the bikes motor by placing a magnet over the sensor or not.
I bought these sensors via ebay.. ON arrival i looked for the pinout, finding it elsewhere online (with the lettering facing forward, Vcc,Gnd, and output from left to right.) Then quickly soldered some test wires on and tested with 5v, and on moving a weak magnet close by i got a 5v output and when moved away 0v Great.. the bike controller cuts the motor when the brake signal goes low.-so i have my secret magnet key..
HOWEVER. when it came to on bike testing, things went sideways. I had sourced a Y splitter cable designed to add a hall sensor into a sensor lineand test one was the sensor with its wires poked into the spare female socket in the splitter cable in the bikes loop and it was as if nothing was attached.
On removal and retesting the sensor With no magnet near the output was low 0v and when a magnet was close the output kinda varied up to 0.3v remaining floating with the magnet removal.
confused i sat and tested 3 more hall sensors with the same result a vague fractional floating signal of up to 0.4v when a strong magnet held close to the sensor.. (front back left right top and bottom of the sensor exposed to magnets)
So my initial test with virtual input voltage for a positive output was a mis read of 0.5v by me? and if so is an opamp needed here?
I didnt fry them soldering on connecting wires, i only wired the first the subsequent 3 x tests i bent the legs to clip on power/meter
If i have the wrong item can someone point me at hall sensors that operate at 5v with a close to 5v output when magnetically stimulated? and if i am missing the point completely a link to help me learn would be very useful.
All help appreciated thanks.