Battery Indicator based on PIC18f452

Posted on Feb 7, 2014

If both the reading are high then the diode is short. If both the readings are Low then the diode is open. If any of read pins are low and the second is high then the diode is good. This concept can be easily extended to test a transistor by realizing that a transistor consists of two PN junctions: one between the base and the emitter (BE junction

Battery Indicator based on PIC18f452
Click here to download the full size of the above Circuit.

), and the another between the base and the collector (BC junction). If both the junctions conduct in only one direction, the transistor is normal, otherwise it is faulty. We can also identify the type (PNP or NPN) of the transistor by considering the direction of the current conduction. Three I/O pins of a microcontroller are required to implement the testing algorithm for a transistor. 2. Set D1 High and read D2. If D2 is High, EB junction conducts, otherwise not. Set D3 High and read D2. If D2 is High, CB junction conducts, otherwise not. Now, if only the BE and BC junctions conduct, the transistor is of NPN type and is working fine. And, if only the EB and CB junctions conduct, the transistor is still normal but the transistor type is PNP. All other cases (like EB and BE both conduct, or BC and CB both not conducting, etc. ) indicate the transistor is not good. This project gives an idea that how we can interface the keypad and & Segment Display with PIC Microcontroller. When we press any digit from keypad, it will be displayed on the seven segment display. By pressing the # key, digit will increment and by pressing the * key, displayed digit will be decremented. 7 Segment Displays are of two types. Common Anode and Common Cathode. In Common Anode type display, Anode of each segment of display is common and we connect it to the Vcc or +5V. Whereas, cathode of each segment is available on the physical pins of 7 segment...

Leave Comment

characters left:

New Circuits



Popular Circuits

Function generator
Stereo FM transmitter using BA1404
Water level controller using 8051
Undervoltage lockout for small-power MOSFET gate driver
70 MHz Transverter
2 channel audio mixer
300w Mosfet Linear Amplifier For 50 Mhz
NE5534 Integrated Circuits
1B32 bridge sensor signal conditioner with multi-channel application circuit when the pressure sensor