Hi all,
I'm using a PIC to drive a 7-Segment LED circuit. The Micro can supply 5V, but each segment needs 8V/20mA to switch on and off...
Before I wire the circuit up to the micro, I've been running a few tests on a breadboard, using a 8V power supply and a 7805 5V Regulator.
What's the best way to switch a segment on/off? I tried to use a BC548 NPN Transistor, with +5V going to the base via a 1K resistor, and +8V going to the segment (via the NPN), but it doesn't seem to like that (see attached).
All the grounds are tied together, which I suspect could be the source of the problem. Any thoughts?
Please help!
Thanks,
Tom
I'm using a PIC to drive a 7-Segment LED circuit. The Micro can supply 5V, but each segment needs 8V/20mA to switch on and off...
Before I wire the circuit up to the micro, I've been running a few tests on a breadboard, using a 8V power supply and a 7805 5V Regulator.
What's the best way to switch a segment on/off? I tried to use a BC548 NPN Transistor, with +5V going to the base via a 1K resistor, and +8V going to the segment (via the NPN), but it doesn't seem to like that (see attached).
All the grounds are tied together, which I suspect could be the source of the problem. Any thoughts?
Please help!
Thanks,
Tom