1 gearshift decoding for aftermarket instruments Wed Jul 30, 2014 1:21 pm
charlie99
VIP
he tells me that the gear shift indication is ground switched
so our gearshift switch uses what they call "bcd" encoding (binary coded decimal )
im in the process of making him something that might make it easy to interface
firstly the gearchange needs to be put back to decimal for his instruments (separate wire for each gear selected )
second will be a pulse circuit for the rear wheel sensor
but first off lets explore the bcd decoding
one of many decoding chips is a 7442 ic
which gives us a good output for this purpose , switching to ground when active
because we have 4 wires going to the selector switch 3 active only we need to tie the "d" (address 3= a3) input to ground to get the correct output logic , which is pretty handy as we can also use this input as the common wire to the switch
heres the 7442 ic and logic truth table which follows our switches perfectly
many have decoded the switching logic of the gear selector indicator switch and I got - copied sidecar pauls diagrame and truth table
here
so it lines up just great on the first 3 address pins a0, a1, a2 with a3 tied low
so with that in mind heres my "home made circuit "
and in physical form
(psst ..pic taken before some links installed )
I have used pull up resistors from the supply voltage to "wet" the contacts in the switch (keep them clean) and to provide some reliable switching
whatcha think ?
it should do the job I recon
Last edited by charlie99 on Wed Jul 30, 2014 4:12 pm; edited 1 time in total
__________________________________________________
cheezy grin whilst riding, kinda bloke ....oh the joy !!!! ...... ( brick aviator )
'86 K100 RT..#0090401 ..."Gerty" ( Gertrude Von Clickandshift ) --------O%O
'86 k100 rs.. #######.. "Fred " (f(rame) red ) ( Fredrick leichtundschnell ) - -
bits and pieces from many kind friends across the k100 world ...with many thanks ..
1987 k100rs ######## "Red" - (red sports rs TWB style )
1989 K100rt #009637 "Black Betty" (naked rt ala Nigel , now sporting an rs main fairing )