Page 1 of 1

Trying to make a gear indicator, need to verify my thinking

Posted: Tue Jan 03, 2012 11:11 pm
by zero9243
So I want to implement a gear indicator, and was going to use two hall effect sensors at first, but now I was thinking about using some equations and taking a speed and rpm input, and determining the gear.
I used a website http://www.bikerenews.com/Stories_Archi ... ulator.htm to get some data points for gear and rpm, and plotted them in excel to get my equations for each line

Image

basically for those equations, my code would be a bunch of if then statements. If rpm(x)/speed(y)=0.0042+.02 for 1st gear, for instance, I could always output a 1 on the gear indicator for that ratio

while in neutral the system might tweak out a little bit, would have to tidy up the code to get the least interference, but I think it could be done.

I just think the two hall effect sensors adds some extra wirings to the bike that would make it look messier, and there would be some issues since it would only count, so there would have to be a reset switch if you missed a gear or couldn't get into neutral right away. Anyway, let me know what you think.

Re: Trying to make a gear indicator, need to verify my think

Posted: Wed Jan 04, 2012 4:31 am
by Nik
zero9243 wrote:So I want to implement a gear indicator, and was going to use two hall effect sensors at first, but now I was thinking about using some equations and taking a speed and rpm input, and determining the gear.
I used a website http://www.bikerenews.com/Stories_Archi ... ulator.htm to get some data points for gear and rpm, and plotted them in excel to get my equations for each line

Image

basically for those equations, my code would be a bunch of if then statements. If rpm(x)/speed(y)=0.0042+.02 for 1st gear, for instance, I could always output a 1 on the gear indicator for that ratio

while in neutral the system might tweak out a little bit, would have to tidy up the code to get the least interference, but I think it could be done.

I just think the two hall effect sensors adds some extra wirings to the bike that would make it look messier, and there would be some issues since it would only count, so there would have to be a reset switch if you missed a gear or couldn't get into neutral right away. Anyway, let me know what you think.

Z,
this is a bunch of URL's Y-G sent me a while back on that same topic.:-
http://www.electronics-lab.com/projects ... index.html

http://www.bluegauges.com/gearindicatorplans.htm

http://www.electro-tech-online.com/elec ... cycle.html

http://www.electronicsweekly.com/blogs/ ... cator.html

http://www.physicsforums.com/archive/in ... 23836.html

http://hackedgadgets.com/2010/06/04/mot ... indicator/

http://forums.sv650.org/showthread.php?t=171122

http://hackaday.com/2010/06/04/motorcyc ... indicator/

HTH