1
\$\begingroup\$

so I've just built a circuit and some Arduino code (not shown here) which interfaces between a car steering wheel and its buttons to an aftermarket cruise control system (Command AP500). The stock keypad for this cruise unit has a weird LED arrangement and if the LEDs are not present, the AP500 cruise control system will refuse to engage.

I have mimicked the LED circuit and it works, but the question is how the microcontroller (unrelated to my Arduino) in the cruise control system is detecting the existence of the LED? Image of the LED circuit is attached. Note that the cathodes of the LEDs do not appear to be connected to a ground and both of the cathode circuits have a voltage potential between them and the DC ground. Somehow, the microcontroller in the cruise control unit is able to detect if one or both of the LEDs are present.

I'm assuming it is something to do with the use of a 7.5v Zener diode (and it is only able to detect the Red LED). Could the microcontroller be measuring the voltage on that wire and detecting a difference in voltage when the LED is lit? Why does the lead from the microcontroller to the Zener diode have 2.7v on it? Note that when the red LED is powered, the voltage between pin #2 and DC ground drops to 2.3v. This is all when the circuits are connected to the microcontroller of course.

Lastly, +12v is permanently on and is not used in controlling each LED.

LED and Zener diode circuit

\$\endgroup\$
1
  • 3
    \$\begingroup\$ Without seeing the downstream circuit, it is impossible to answer. Common ways are via the voltage change or current change \$\endgroup\$ – tobalt May 4 at 8:05
2
\$\begingroup\$

the question is how the microcontroller (unrelated to my Arduino) in the cruise control system is detecting the existence of the LED?

The diagram you provided implies this is an external board that connects via a connector board and probably other components to the microcontroller.

Now, there a few methods to detect whether or not a component is connected to the circuit

  • mechanical sensing
  • voltage sensing
  • current sensing

Let's say it's a mechanical sensing, if you remove the module there's no way to tell if it's the module missing or just the led. So this is ruled out.

Voltage sensing and current sensing, seem more likely not because of logical assumption, but because, among other industries, automotive industry also uses these techniques.

EDIT:

On the mechanical part you can have 2 mechanical switches, one to detect if the module is plugged and another one to detect if the LED is present. However, this method does not assure that the LED can provide a path for free electrons to flow aka conduct electricity.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks, and I yeah I will pull the cruise board and do some tracing. I managed to determine that it is able to detect if either LED is missing and refuse to engage the cruise control. The fact that it can detect either LED though has me confused about the Zener Diode. I mean, why use a Zener diode for one LED and just a resistor for the other. Odd. \$\endgroup\$ – Kaldek May 5 at 0:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.