Resistor
Decrease the flow of current, or convert excess electrical energy to heat energy, some electrical components like transistor, chip need specific voltages as manufacturer says over current or voltage damage the device quickly.
Electrolytic Capacitor
Stores Electrical energy. It has 2 leads positive and negative leads, inside both of the leads has massive conducting plates, and in between there is a non-conductive plate. Even a 100uf capacitor has 2 meter long electric plates. When we connect the capacitor to a DC source, ie Flow of electrons in one direction, either P to N or N to P, so all the P charged electrons fill on P plate and N charged electrons on N plate, in case of electrons, magnetism & waves, LIKE one's REPEL & UNLIKE one's ATTRACT here P charge and N charge attracts each other, they cannot discharge/cancel bcoz of non-conducting plate. Even if we disconnect the DC source, electrons stays there because of that positive-negative electron's attraction. In charged time capacitor act as conductors, both the plates are filled with electrons help flow of electricity. The surface area of plate material inside capacitor determines the storage capacity. When discharge happen all electrons in P, N plates find a low resistance path and cancels each other.
Transistor
Act as a Switch, Regulator, Amplifier. It has 3 leads, Emitter, Collector & Base. On a General purpose transistor there is 2 conducting layer and in between there is a semiconductor layer. As said above P electrons like N electrons & Flow of electron is in 1 direction, When electrons flow it cannot get to other side because of middle Semiconductor layer, it cannot full fill the flow, The semiconductors are designed with impurities , to cover up that impurities we have to provide additional electrons to that layer, When that happen that layer become conductor and allow to flow electrons. that's the basic idea.
Transistor as Switch
All transistors are basically switch, control flow rate or stop current. What make Transistor differ from switch?, It's Speed and accuracy, A transistor can ON and OFF the flow of electron 300 million times a second, on a normal switch only 3 times. The high speed switching is also Known as Oscillator, We come to that later.In transistor there is two types NPN and PNP, Both are same function.
NPN
1) Collector needs positive charge, device to be controlled connected here.
2) Emitter need negative charge
3) Base need small positive charge, the value of this determine flow of electrons from E to C
PNP
1) C needs negative charge, device to be controlled connected here
2) E need positive charge
3) B need small negative charge the value of this determine flow of electrons from E to C
Transistors as Regulators
Voltage Regulators and very much important in an electric circuit, According to fixed base voltage only allowed amount electron is flow through base. This Keeps Voltage Intact. Usage of zener diode also increase the stabilty. A Zener diode will keep the transistor's base voltage steady. In the picture above...
I have 12V from mains eliminator, it'll surely fluctuate according to mains voltage availability (ie 200~300V) ,But I Required clean 6 VOLT without fluctuations, I am using 1 amp rated transistor, 6V rated zenor diode, & a series resistance of 100 ohms. The current flow through R1 and reach at the base of Transistor, Here 6 VOLT Zener Diode, Block exactly 6VOLT and conduct rest, the resistor with 100 ohms resist the flow might be heat up quickly, use 1 watt resistor instead. That Blocked 6 VOLT flow through Base and finish the circuit. Wheather it is 7, 9, 10, 14 any voltages the zener diode only block rated voltage, rest will pass through it. Here the rest voltages hit the negative through resistance and normalize, and my circuit get Steady Voltage. Adding a capacitor parellel to zener diode make actions smoother.
Transistors as Amplifiers
As said above switches and regulators keep base voltage intact to preserve output voltage, On a regulator if we provide low base voltage output become low voltage. And if an High base voltage then High output voltage. Amplifier are those devices used to Boost the base voltage or current artificially. Inside an amplifier, Its a big scale copy machine, The incoming Low level source voltage is (Analogue ie High & Low) is normalize with coupling capacitors and base-collector resistors, then the high & low get more gain, sharpness, punch etc and we can control the gain by adjusting Base Collector resistor, this is fed to the base of transistor, and electron'll flow from collector to emitter according to variation of in low level signal+base collector resistor voltage on BASE.
Transistors as Oscillators.
Oscillator aka Multivibrator , need no start up pulse & run forever. Switching of transistors in KHz or MHz are known as oscillators. In an oscillator the oscillations in output ie HIGH and LOW timing is set by a resistor and a capacitor, the capacitor charge and discharge through the resistor and the transistor change the state according to its base voltage from cap.
In a computer everything is start from internal system clock, It is an astable multivibrator oscillator , Every procedure inside a Inverter, computer, LCD TV & mobile phone is based on astable multivibrator.












