Honda Accord HVAC Knobs -- Electrical
The audio and HVAC (Heating/Ventilation/Air Conditioning) on a 2007 Honda Accord are controlled by a trio of knobs. They each have different range of motion: fan speed sweeps through 120 degrees, temperature sweeps through 270 degrees, and the audio knob is free to spin continuously through 360 degrees without endpoints. However, they all have the same tactile feel through "clicky" detent steps: 13 for the fan speed, 15 for temperature, and 30 per complete revolution of audio. Despite their differences, they appear to use identical Alps ring encoders. How was this done?
My first hint was noticing that each encoder can have six electrical contacts, but the audio knob only used three of them. The other three pins were cut off, never connected to the circuit board. Limited to three pins, the audio knob could express 4 states with the remaining two pins as a quadrature encoder does. Thus these knobs could be configured to act this way, but only as a special case with pins cut off.
To probe the other knobs, I started by arbitrarily number pins. Looking at the encoder's top side oriented with pins towards me, the left side top to bottom are: 1, 2, and 3. Then the right side top to bottom are 4, 5, and 6. Viewed from the encoder's bottom side, the pins numbers are like this:

I probed the fan speed knob for electrical continuity. In use we would ground one pin and all the marked pins will also be grounded when the knob is at a particular position.
Fan Speed | 1 | 2 | 3 | 4 | 5 | 6 |
---|---|---|---|---|---|---|
Off | X | X | X | |||
1 | X | X | X | X | ||
2 | X | X | X | X | X | |
3 | X | X | X | X | X | X |
4 | X | X | X | X | X | |
5 | X | X | X | X | ||
6 | X | X | X | |||
7 | X | X | X | X | ||
8 | X | X | X | X | X | |
9 | X | X | X | X | ||
10 | X | X | X | |||
11 | X | X | X | X | ||
12 | X | X | X |
Looking at this chart, it appears either pin 1 or 6 could be the ground reference. Pins 2 through 5 vary depending on knob position. Using 4 pins they could represent up to 16 positions, though only 13 are used. The digital encoding isn't a straightforward mapping to binary numbers, even if I move the columns around. I don't recognize it, but I do see a pattern. One attribute of this pattern is that, when moving from one position to the next, only one pin changes state. This may be useful in some way I don't understand. I don't see a way to calculate position number directly from the pattern, so if I were to reuse this knob, I would have to use a lookup table. 13 valid positions out of 16 possible positions shouldn't be a big deal.
I then probed the temperature knob to see how it compares.
Temperature | 1 | 2 | 3 | 4 | 5 | 6 |
---|---|---|---|---|---|---|
-7 (Coldest) | X | X | X | |||
-6 | X | X | X | |||
-5 | X | X | X | |||
-4 | X | X | X | |||
-3 | X | X | X | X | X | |
-2 | X | X | X | |||
-1 | X | X | X | |||
0 | X | X | X | |||
1 | X | X | X | X | X | |
2 | X | X | X | X | X | |
3 | X | X | X | X | X | |
4 | X | X | X | |||
5 | X | X | X | X | X | |
6 | X | X | X | |||
7 (Warmest) | X | X | X |
From here we can tell pin 1 is clearly designed to be the ground reference pin, and we can determine absolute position by reading state of the other five pins. This pattern looks more like a binary number, with pin 4 being the least significant bit and pin 2 as the next least significant bit. But then things fall apart and pin 3 doesn't fit the pattern for binary number progression. It doesn't fully follow the "number of transition bits" pattern observed in the fan speed control. Moving from either of the end positions would change one bit. Moving between non-end positions would change two bits. If I were to reuse this knob, I would again use a lookup table, with 15 valid positions out of 32 possible combinations.
These knobs will be interesting to reuse in another project. They take four or five digital input pins instead of the single analog input pin of a potentiometer, but I like their tactile detents which could be useful in specific scenarios. I'll set them aside and return my focus to digital communication.