7-Segment & Keypad


Posted on Aug 6, 2012

Since the output buffer of P1 can sink 20mA (each output pin, but maximum IOL for all outputs was limited at 80mA), thus we can use P1 to drive LED display directly. As shown in the circuit, Two common-anode 7-segment LEDs are connected to P1 with 180 Ohms current limiting resistor. Each segment of two LED are tied in parallel to P1. Q1 and Q2 are activated by logic low of P3.0 and P3.1, sourcing +5V to common anode pins. P3.4 read logic low if either S1 or S2 was pressed while scanning period have made.


7-Segment & Keypad
Click here to download the full size of the above Circuit.




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

300mW FM Transmitter
Remote control Infrared Jammer
Stepper Motor Interface to Microcontroller
Randomness
The simple solar energy of adaptation supplies power the control device of the street lamp designs and realizes
power supply Why is my simple boost converter giving me such a high peak output voltage
active short wave antenna
yamaha dspa 1 processor
The timing of the flip-flop circuit composed of a photodiode etc.



Top