Hi There, I'm quickly running out of PWM pins on my PIC18F46K22 and want to add dimming to a clock which uses 4x 7-segment displays.
As a precaution, I want to power the hour segments via one transistor and the minute segments via another transistor but I'm not sure if this will work or is advisable.
I've added a schematic below. The PWM is fed from my PIC, my question is, can I switch the 2 transistors this way?

Each segment of the display uses approx 3ma and I switch these directly with the PIC. Each 7-segment display uses approx 21ma so I'm well within the ratings of the transistors and PIC18F46K22.
Any advice or recommendations would be appreciated.
Ian
As a precaution, I want to power the hour segments via one transistor and the minute segments via another transistor but I'm not sure if this will work or is advisable.
I've added a schematic below. The PWM is fed from my PIC, my question is, can I switch the 2 transistors this way?

Each segment of the display uses approx 3ma and I switch these directly with the PIC. Each 7-segment display uses approx 21ma so I'm well within the ratings of the transistors and PIC18F46K22.
Any advice or recommendations would be appreciated.
Ian


