Hi, I have a Kenwood double din stereo in my car, I also have a stalk control adaptor that converts the steering wheel buttons from IBUS to a pulse out, this means I can control the Kenwood from the steering wheel no problem. What I now want to do is use a Picaxe to count the pulses from the stalk adaptor going to the Kenwood so that I can control something else.
I have found that the Kenwood is expecting a 9ms pulse followed by a 4.5ms pulse as the lead in then the device data pulses are sent E.g.:
lead in
9ms high
4.5ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
1.0ms low
after the device data comes the key data same sort of thing just 9 separate pulses long, the device data is always the same, it’s the key data I need to read and turn into controls.
I don’t know if this is possible with Picaxe as I have never dealt with pulses and counts to this length. I’m really just after some advice from you guys as when I’m stuck you guys always seem to point me in the right direction and I really appreciate it.
Thanks again Rich
I have found that the Kenwood is expecting a 9ms pulse followed by a 4.5ms pulse as the lead in then the device data pulses are sent E.g.:
lead in
9ms high
4.5ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
1.0ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
0.5ms high
0.5ms low
1.0ms low
after the device data comes the key data same sort of thing just 9 separate pulses long, the device data is always the same, it’s the key data I need to read and turn into controls.
I don’t know if this is possible with Picaxe as I have never dealt with pulses and counts to this length. I’m really just after some advice from you guys as when I’m stuck you guys always seem to point me in the right direction and I really appreciate it.
Thanks again Rich