I'm planning to use a ULN2003A 7-channel Darlington driver (datasheet) to control 4 to 7 LEDs in common-anode configuration from a Teensy MCU:
(The "trident" is a common-anode RGB LED).
The ULN2003A has a set of "clamp diodes" or "free wheeling diodes" which I gather are present to protect against voltage spikes when switching inductive loads. Those diodes are common-cathode out to pin 9 on the IC:
My questions are:
- Do I need to connect pin 9 to anything if I'm just driving LEDs? (My guess is no.)
- If I were driving motors or something and needed diode clamping here, what would I connect pin 9 to? The positive voltage of the motor side?