I got this idea after hearing of the very convenient factory sensor on neoraptor's bike. Here's the circuit:
The switches are magnetic and can be triggered by the shifter itself or the levers on a transaxle (so they're mechanically locked out such that only one can be closed at a time). The resistance values here should give a ~0.5v difference in the signal between gears. Looks good?
1-wire gear position sensor for cars: Critique my circuit
Moderators: JeffC, rdoherty, stieg
-
- Posts: 55
- Joined: Mon Jan 07, 2013 10:45 pm
-
- Posts: 101
- Joined: Tue Jan 15, 2013 1:37 pm
-
- Posts: 55
- Joined: Mon Jan 07, 2013 10:45 pm
-
- Posts: 101
- Joined: Tue Jan 15, 2013 1:37 pm
I just did the very rough calcs (I did them on paper, didn't get to a second decimal) previously. Here are the full calcs as I see them:
1- 5v - 1.5/16.6*5v = 4.55v
(delta of 0.38v)
2 - 3/18.1*5v = 4.17v
(delta of 0.32v)
3 - 4.5/19.6*5v = 3.85v
(delta of 0.27v)
4 - 6/21.1*5 = 3.58v
(delta of 0.25v)
5 - 7.6/22.7*5 = 3.33v
(delta of 0.2)
Rev - 9/24.1*5 = 3.13v
To solve for the resistances to get you a desired voltage, you can use:
Req. resistance = (15.1*(5-DV))/(DV)
Where DV is your desired voltage.
1- 5v - 1.5/16.6*5v = 4.55v
(delta of 0.38v)
2 - 3/18.1*5v = 4.17v
(delta of 0.32v)
3 - 4.5/19.6*5v = 3.85v
(delta of 0.27v)
4 - 6/21.1*5 = 3.58v
(delta of 0.25v)
5 - 7.6/22.7*5 = 3.33v
(delta of 0.2)
Rev - 9/24.1*5 = 3.13v
To solve for the resistances to get you a desired voltage, you can use:
Req. resistance = (15.1*(5-DV))/(DV)
Where DV is your desired voltage.
-
- Posts: 101
- Joined: Tue Jan 15, 2013 1:37 pm
-
- Posts: 55
- Joined: Mon Jan 07, 2013 10:45 pm
-
- Posts: 101
- Joined: Tue Jan 15, 2013 1:37 pm
-
- Posts: 101
- Joined: Tue Jan 15, 2013 1:37 pm
-
- Posts: 55
- Joined: Mon Jan 07, 2013 10:45 pm