Hi PaulS,
Thank you for your fast reply.
I was able to get speed reading from GPS shield in km/h. I have this value in integer but need to get proper signal out that connects to my speedometer.
- Number of revolutions per wheel turn is 1 (this is how the current setup is working). Based on that and wheel diameter I should be able to calculate frequency for the signal from gps
Making my post short I have everything to the point where I need to generate signal that will replace what's coming from standard Hall sensor.
If I'm calculating correctly my hall sensor generates 1.65pps at 100km/h (21in wheel - 1 pulse per wheel turn). The only problem is I'm not sure how to generate proper signal. I'm not sure if its pwm or just fixed width fulses.
The reason for this is that this is custom motorcycle and I don't want to rout cables for hall sensor to sprocket or front disc brake (those are a bit bulk). Plus thought it might be good starting project.
This is very similar to what people are doing with speed sensor "healers" where they interupt hall sensor pps and re-calculate it to get updated pps
Thanks