| View previous topic :: View next topic |
| Author |
Message |
jcw
Joined: 21 Oct 2006 Posts: 1
|
Posted: Sat Oct 21, 2006 5:11 am Post subject: using existing speed signal |
|
|
On my BMW K1200r there is a wire that sends 12v pulses that are proportional to speed. It is paired in a connector with a switched power and ground. I believe this was used to hook up optional GPS units that also measured speed via the wheel sensor. Can the Veypor use this signal???
Thanks
John |
|
| Back to top |
|
 |
NLEForum Site Admin
Joined: 27 Apr 2004 Posts: 1168
|
Posted: Sat Oct 28, 2006 1:46 am Post subject: |
|
|
| If you have a VR2 unit, then you can use 12V pulsed signals. The Veypor on the other hand can only use 5V pulsed signals for speed detection. The most accurate and best method to detect speed is to use the speed sensor that comes with the Veypor. If you have a shaft drive, you can just put the magnet somewhere on the rotation shaft and mount the sensor on the frame. Then for "circumference" just enter the amount forward the bike moves per rotation of the shaft. |
|
| Back to top |
|
 |
Riccardo

Joined: 18 Nov 2007 Posts: 14 Location: Italy (PG)
|
Posted: Sat Jan 19, 2008 11:54 pm Post subject: |
|
|
| NLEForum wrote: | | If you have a VR2 unit, then you can use 12V pulsed signals. |
It means that with a VR2 I have to use a 12V pulsed signal, or that I can use pulsed signals up to 12V?
Will it work with 5V signal of my VTR 1000 F stock speed sensor? _________________ Riccardo
Mantignana (PG)
Italy |
|
| Back to top |
|
 |
Riccardo

Joined: 18 Nov 2007 Posts: 14 Location: Italy (PG)
|
Posted: Thu Jan 31, 2008 12:05 am Post subject: |
|
|
| Riccardo wrote: | | NLEForum wrote: | | If you have a VR2 unit, then you can use 12V pulsed signals. |
It means that with a VR2 I have to use a 12V pulsed signal, or that I can use pulsed signals up to 12V?
Will it work with 5V signal of my VTR 1000 F stock speed sensor? |
Nothing???  _________________ Riccardo
Mantignana (PG)
Italy |
|
| Back to top |
|
 |
Riccardo

Joined: 18 Nov 2007 Posts: 14 Location: Italy (PG)
|
Posted: Sat Feb 09, 2008 11:46 pm Post subject: |
|
|
Is there anybody alive out there  _________________ Riccardo
Mantignana (PG)
Italy |
|
| Back to top |
|
 |
Riccardo

Joined: 18 Nov 2007 Posts: 14 Location: Italy (PG)
|
Posted: Fri Apr 11, 2008 10:48 pm Post subject: |
|
|
It's unbeliavable!!!!
No response in 3 months!!!
What's up?
I'm very disappointed!  _________________ Riccardo
Mantignana (PG)
Italy |
|
| Back to top |
|
 |
NLEForum Site Admin
Joined: 27 Apr 2004 Posts: 1168
|
Posted: Fri Jun 27, 2008 1:41 pm Post subject: |
|
|
Hi,
Very sorry for no response - for some reason are notifier for this thread stopped indicating there were new posts.
To answer your question - you can use any pulse from 5V to 12V. |
|
| Back to top |
|
 |
wingerr
Joined: 06 Mar 2010 Posts: 28
|
Posted: Sat Jul 10, 2010 7:30 pm Post subject: |
|
|
The speed sensor signal just needs to be ground switched, so even if the signal is higher than the usual 5V internal pullup, it should work. Should be okay for signals up to 12V.
If for some reason the substitute signal is higher, to prevent any possible problems from the connection of the speed signal to 5V through the VR2's 10k resistor, you could add a diode inline, so that the external signal can only pull current down to ground.
This would protect the transistor from too high a voltage feeding back into the circuit. |
|
| Back to top |
|
 |
NLEForum Site Admin
Joined: 27 Apr 2004 Posts: 1168
|
Posted: Fri Jul 16, 2010 1:00 pm Post subject: |
|
|
Thanks for the clarifications - sounds like you've spent some time working with the speed sensor.
The speed sensor drives a mosfet internally that is protected up to 20V. |
|
| Back to top |
|
 |
wingerr
Joined: 06 Mar 2010 Posts: 28
|
Posted: Fri Jul 16, 2010 1:16 pm Post subject: |
|
|
Yes, I poked around a bit in there when the Q4 PNP transistor became somewhat leaky and had to replace it, which I did successfully-
However, the generic replacement I used didn't have the exact pinout of the original, with the E and C pins swapped. Could I find out what the original part number was?
It works absolutely perfectly as is, but it'd still be nice to put it back to the original clean job as it came from the factory instead of the flywire connection I had to use.
Thanks! |
|
| Back to top |
|
 |
NLEForum Site Admin
Joined: 27 Apr 2004 Posts: 1168
|
Posted: Fri Jul 23, 2010 1:13 pm Post subject: |
|
|
The original part number is:
2N7002 in a SOT-23 package
THe ones used are Fairchild Semi, but any will do. |
|
| Back to top |
|
 |
wingerr
Joined: 06 Mar 2010 Posts: 28
|
Posted: Fri Jul 23, 2010 2:11 pm Post subject: |
|
|
| NLEForum wrote: | The original part number is:
2N7002 in a SOT-23 package
THe ones used are Fairchild Semi, but any will do. |
Hey, thanks very much for the info- that explains why I couldn't find anything with the right pinout in SOT-23. I was looking for PNP bipolar transistors instead of FETs, because I thought it was supposed to switch the transistor on only in the presence of the magnet.
So it appears I've inverted the polarity of speed signal going to the processor with the transistor I substituted, because I have it going to ground only when the magnet is present, when in fact it should be grounded normally, and instead released and allowed to go to +5V at that point.
While it seems to work either way, since it's probably just looking at the transition edges, I'll get the correct one in there-
Just wondering though, if there may be any advantage to switching the transistor on only when the pulse occurs, as opposed to having it on continously, and turning it off for the pulse? It would make for faster switching time, although it probably wouldn't matter at the rates I can muster on my bike
It'd also save 1mA of current draw and a whole 5mW of power too.
Naturally, if the processor requires the positive going pulse for accuracy, then we can ignore this idle speculation on my part-  |
|
| Back to top |
|
 |
NLEForum Site Admin
Joined: 27 Apr 2004 Posts: 1168
|
Posted: Fri Jul 30, 2010 1:08 pm Post subject: |
|
|
| As you guessed, it is really the transitions that matter. The power and current draw of the pullup are negligeable, as is the switching speed (we're talking 100's of Hz, not MHz). It will work in either orientation. |
|
| Back to top |
|
 |
wingerr
Joined: 06 Mar 2010 Posts: 28
|
Posted: Fri Jul 30, 2010 2:04 pm Post subject: |
|
|
Okay, if it doesn't matter whether the processor gets a short positive pulse or a short negative pulse, I'll probably leave it alone for now.
It does appear to work perfectly as I have it set up, so I'll go with that.
I was just wondering if this might have had some bearing on the discontinuity I get on the dyno runs for the speed data collection, where it consistently drops 10 samples near the end of the run. Because it occurs even at low speeds, in low gear runs, it seems to point more toward a software glitch rather than the hardware. |
|
| Back to top |
|
 |
|