I bought a 12 V relay, and found it has an LED indicator for the coil voltage. (
This one if anyone is interested).
I noticed that the 3 mm LED is in fact two LEDs in one package, in inverse parallel. The centre of illumination is slightly off-centre, nearer one pin, and then nearer the other pin when the polarity is reversed. The tops of the leads are the same size, when in normal LEDs one is larger, and is usually the negative.
It makes perfect sense in this application. A bridge rectifier could be used, but that would be an extra component to fit.
I'd not come across LEDs like that before. I've seen the red/green ones with different colours in each direction, but this is red both ways. I've also seen opto isolators with two input LEDs (
TLP 182 is an example ) but wondered if the visible LEDs were commonly available. What is it that I should search for to find one?