Author: Andreas Köhler
Most PC enclosures provide only a single LED to indicate hard disk access, with the LED being connected to the motherboard via a two-pin connector. However, this LED only works with IDE drives, and if a SCSI disk controller is fitted, its activity will not be visibly noticeable. This small circuit remedies that problem using a multicolour LED.
The activity LED for the IDE interface is usually driven by a connected device via one or more open-collector stages. It illuminates if either of the two possible IDE drives is activated. The shared series resistor limits the current and also provides short-circuit protection. Even if the LED is shorted out due to faulty wiring, the current is restricted to a safe level. An obvious solution would be to have the IDE and SCSI disks drive a shared dual LED, but unfortunately the current flows from the positive supply line through a series resistor, the LED and a transistor to ground. The dual LED would thus have to have a common anode, but no such device exists. All known multicolour LEDs have a common cathode lead. That means they cannot be connected directly, but we’re not that easily defeated. Only a small additional circuit is needed to allow the LED to be driven by the different interfaces.
In this circuit, each of the drive signals from the two controllers is fed to an optocoupler, which acts nearly the same as the original LED. The somewhat lower voltage drop of the infrared LED results in a somewhat greater current, but there’s hardly any need to worry about overloading. The optocouplers eliminate the problems with the different voltages. On the output side, a Darlington transistor consisting of the phototransistor and a BC547 drives the multicolour LED. The 10-kΩ resistor (whose value of is not critical) provides secure cut-off of the driver transistor. The base of the phototransistor in the CNY17 is left open.
The series resistors for the individual LED elements are dimensioned using the standard formula. It may be necessary to adjust their values slightly, depending on the relative brightness levels. The circuit can also operated from the +12-V line of the power supply if the values of the series resistors for the LEDs are suitably modified. If necessary, a third optocoupler stage can be added to allow a three-colour LED (red, green and blue) to be driven.
COMPONENTS LIST
Resistors: Semiconductors: | Miscellaneous: |
(Elektor Electronics Magazine – 07-08/2006)
Download this article #030117-uk.pdf >> or SkyDrive link Download PCB layout #030117-PCB.pdf |
Labels
- * Elektor 2005 (9)
- * Elektor 2006 (72)
- Adapters (1)
- ADC / DAC (1)
- AM / FM (2)
- Amplifiers (3)
- Antennae (2)
- Articles List (1)
- Audio (1)
- Automatic (2)
- Batteries (3)
- Bluetooth (1)
- Breakers / Contacts (1)
- Buzzers / Sirens (1)
- Clocks / Timers (2)
- Computer (2)
- Converters (2)
- Coolers / Fans (1)
- Counters (1)
- Datasheets (7)
- E-blocks (1)
- Energy (2)
- Flash / Light (8)
- Frequency (1)
- Fuse (1)
- Generators (2)
- High-voltage (1)
- Indicators (2)
- Infrared (IR) (4)
- LCDs (1)
- LEDs (7)
- Magazines (1)
- Meters (5)
- Microcontroller (9)
- Mobile Phone (1)
- Motors (1)
- OPAMP (3)
- PCB (1)
- Photosensors (1)
- Power Supply (2)
- Preamplifiers (1)
- Programming (3)
- Radio (1)
- Rectifiers (1)
- Regulators (1)
- Relays / Switches (10)
- Remote Control (7)
- RS232 (3)
- Security (4)
- Sensors (2)
- Servo (2)
- Simulators (1)
- Small Circuits (46)
- Telephones (2)
- TENS (1)
- Testers (3)
- Timebase (1)
- Tools (1)
- Transmitters (1)
- Trigger (1)
- USB (2)
0 comments: