I want to design with a unit with common CATHODE - how ?
Best regards
7SegLED-4 with common anode
-
- Posts: 112
- Joined: Wed Oct 12, 2005 6:29 pm
- Location: USA
- Been thanked: 1 time
Ksor:
The quick and dirty way is to ground the cathode and to put series resistors between the anodes and the PIC output port lines. For 5 milliamps per segment, use 700 Ohm resistors (650 Ohms is close enough). When the output port goes high (to +5V) current will flow through the segment and it will light up. The PIC output ports can source 25 mills each so they can easily handle this.
Jim
The quick and dirty way is to ground the cathode and to put series resistors between the anodes and the PIC output port lines. For 5 milliamps per segment, use 700 Ohm resistors (650 Ohms is close enough). When the output port goes high (to +5V) current will flow through the segment and it will light up. The PIC output ports can source 25 mills each so they can easily handle this.
Jim
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
To do a common Anode design i think youll have to create the flow chart yourself. The inbuilt hardware modules are designed to work with the Matrix Multimedia hardware which is all common cathode.
Common cathode is a more intuative way for the 7seg to be powered as a segment lights up when there is a 1 output to a pin. However common anode lights up on the presence of a 0 output to a pin.
The 7seg uses 2 ports because this is the only way to be able to light up more then one display with different numbers. By cycling through the displays fast enough you can light up all 4 7segs one at a time without a sign of flickering.
Common cathode is a more intuative way for the 7seg to be powered as a segment lights up when there is a 1 output to a pin. However common anode lights up on the presence of a 0 output to a pin.
The 7seg uses 2 ports because this is the only way to be able to light up more then one display with different numbers. By cycling through the displays fast enough you can light up all 4 7segs one at a time without a sign of flickering.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel