Sunday, 23 August 2015

8085 Microprocessor




  • It is a 8 bit microprocessor
  • It was invented in 1974
  • It is 40 pin IC
  • 64 KB RAM
  • Input voltage 5 volt DC supply
Below is pin description of  all 40 pins
  1. Pin 1 & 2:  X1 & X2 is a clock frequency pin , oscillator is connected on this pin to generate clock pulse . Clock frequency upto 8 Mhz .
  2. Pin 3 : Reset out , by using this pin micro controller can reset other peripheral.
  3. Pin 4 & 5 : SOD & SID these pins are use as serial data communication, SOD= serial output data line , SID= serial input dataline.
  4. Pin 6 to 10 : These are interrupt lines of microprocessor.  
TRAP : It is the highest priority interrupt.
RST 7.5, RST 6.5, RST 5.5 - These are high to low priority after trap interrupt respectively.
INTR : This is lowest priority pin .

   5. Pin 11: INTA this pin is interrupt acknowledgement pin .
   6. Pin 12 to 19 : AD0 to AD7 these are bidirectional pin , these are used for first 8 bit address and and 8 bit data pins.
    7. Pin 20 : This pin is use for 5 volt dc supply to microprocessor.
    8. Pin 21 to  28 : A8 to A15 these are address lines of microprocessor.
    9. Pin 29 and 33 : S0 and S1  these are use as status signal ,
                 S0      S1
                 0        0            this shows no operation
                 0        1            Read  instruction
                 1        0           Write instruction
                 1        1            Opcode fetch



10. Pin 30: ALE ( adderss latch enable ) this is use for separate address and data from AD0 to AD 7
11. Pin 31 :  WR : this is write instruction given by microprocessor to memory or input / output, this depend on IO/ M pin status.
12. Pin 32: RD : this is read instruction given by microprocessor to memory or input / output, this depend on IO/ M pin status.
13. Pin  34 : IO / M  this is pin use to indicate that which of these memory or IO device is  in use for
microprocessor.
14. Pin 35, 38, 39, : READY , HLDA , HOLD
      these are use for DMA transfer .
15 Pin 36: RESET IN this pin use to reset 8085.
16. Pin 37: CLOCK OUT  this pin use by 8085 to gives clock pulse to other devices.
17. Pin 40: VCC : this is ground pin with respect to 5 volt supply pin no.20.


Architecture of 8085


Description of 8085 -


  • Interrupt control unit- This unit is use to deal with all types of interrupts and also gives interrupt service acknowledgement from its pin INTA.
  • Serial I/O control unit- This unit is use to deal with all serial input and output data from microprocessor.
  • Registers - There are six registers  B ,C ,D, E, H ,L all are 8 bit register, we can use them alone for holding 8 bit data whereas to handle 16 bit data we use pair of them
        BC       16bit
        DE       16bit
        HL       16bit
     
    SP(stack pointer 16 bit) - This is special purpose register , it stores the address of last program request in a stack . Stack is a reserved memory to store data.

    PC(program counter 16 bit)- This is use to store address of the  instruction to be fetched  in the program.

   Increment / Decrement  adderss latch - It is not use for programmer , it only for 8085 to store different address.

  • Accumulator(8 bit ) - It is special type of register, all arithmetic operation like add, subtract, are perform in it. It also known as A register.
  • Flag register(8 bit) - Flag register shows status of the 8085 program is running , it shows by 8085 , fig below shows 5 flag register use in 8085.

  


S(sign bit)- It show result is positive or negative. S=0 (positive)    S= 1 (negative)
Z(zero bit)- It show result is zero or not.
AC(auxiliary carry)-That is carry from the 3rd bit to 4th is also indicated.
P(parity bit)-It indicates whether the result contains odd number of 1s or even no. of 1s.
CY(carry flag)-It indicates whether there is carry or not after an arithmetic and logical operation,

  • Timing and control unit- This unit is brain of the 8085, it gives all control related signals and all that .DMA transfer and many other work done by this unit.



Monday, 17 August 2015

Diode & its Application

                                         Ideal diode

The key function of an ideal diode is to control the direction of current flow. Current passing through a diode can only go in the one direction, called  the forward direction. Current trying to flow the reverse direction is blocked. They're like the one way valve of electronics.

If the voltage across a diode is negative , no current can flow , and the ideal diode looks like an open circuit. In such a situation , the diode is said to be off or reverse biased.

As long as the voltage across the diode isn't negative, it'll "turn on" and conduct current . Ideally a diode would act like a short circuit ,if it was conducting current. When a diode is conducting current it's forward biased.

Circuit Symbol


Every diode has two terminals connections on each end of the components and those terminals are polarized, meaning the two terminals are distinctly different . Its important not to mix the connections on a diode up. The positive end of a diode is called the anode , and the negative end is called the cathode. Current can flow from the anode end to cathode , but not the other direction. If you forget which way current flows through a diode , try to remember the mnemonic ACID . "anode current is diode".
The circuit symbol of a standard diode is a triangle butting up against line.

Saturday, 15 August 2015

Introduction Inductor

                                            Inductor

 When electrical current flows through a wire conductor, a magnetic flux is developed around the conductor producing a relationship between the direction of this magnetic flux which is circulating around the conductor and the direction of the current flowing through the same conductor . This well known relationship between current and magnetic flux direction is called "Fleming's left hand rule"
         But there is also another important property relating to a wound coil that also exists, which is that a secondary voltage is introduce into the same coil by the movement of the magnetic flux as it opposes or resists any changes in the electrical  current flowing it. 
   

         In its most basic form, an inductor is nothing more than a coil wire around a central core. For most coils the current (i) flowing through the coil produces a magnetic flux around it that is proportional to this flow of electrical current.

 
The inductor also called a choke , is another passive type electrical component which is just a coil of wire that is designed to take advantage of this relationship by inducing a magnetic field in  itself or in the core as  a  result of the current passing through the coil . This results in  a much stronger magnetic field than one that would be produced by a simple coil of wire.
Inductors are formed with wire tightly wrapped around a solid central core which can be either a straight cylindrical rod or a continuous loop or ring to concentrate their magnetic flux.

The schematic symbol for a inductor is that of a coil of wire so therefore , a coil of wire can also be called an inductor. Inductor usually are categorised according to the type of inner core they are wound around ,for example  hollow core , solid iron core or soft ferrite core with the different core types being distinguished by adding continuous or dotted parallel lines next to the wire coil as shown below.





                                                                                                                                                                               

Introduction to Capacitor

                                           Capacitor

                                Just like the resistor, the capacitor, sometimes referred to as a condenser, is a simple passive device that is used to "store electricity ". The capacitor is a component which has the ability or "capacity" to store energy in the form of an electrical charge producing a potential difference (static voltage) across its plates, much like a small rechargeable battery .
                         There are many different kinds of capacitors available from very small capacitor beads used in resonance circuits to large power factor correction capacitors, but they all do the same thing, they store charge 
                         In its basic form, a capacitor consists of two or more parallel conductive (metal) plates which are not connected or touching each other, but are electrically separated either by air of by some of a good insulating material such as mica , ceramic, plastic, or some form of a liquid gel  as used in electrolytic capacitors. The insulating layer between a capacitor plates is commonly called the dielectric.
                        Due to this insulating layer, DC current can not flow through the capacitor as it blocks it allowing instead a voltage to be present across the plates in the form of an electric charge.
                 

                             When used in direct current DC in a circuit, a capacitor charges up to its supply voltage but blocks the flow of current through it because the dielectric of  a capacitor is  non conductive and basically an insulator. However when a capacitor is connected to an AC supply , the flow of the current appears to pass straight through the capacitor with no resistance.



Capacitor Color Code Table

Band
Color
Digit
A
Digit
B
Multiplier
D
Tolerance
(T) > 10 pf
Tolerance
(T) < 10 pf
Temperature Coefficient
(TC)
Black00x 1± 20%± 2.0 p F 
Brown11x 10± 1%± 0.1 p F-33×10-6
Red22x 100± 2%± 0.25 p F-75×10-6
Orange33x 1,000± 3% -150×10-6
Yellow44x 10,000± 4% -220×10-6
Green55x 100,000± 5%± 0.5 p F-330×10-6
Blue66x 1,000,000  -470×10-6
Violet77   -750×10-6
Grey88x 0.01+80%,-20%  
White99x 0.1± 10%± 1. 0 p F 
Gold  x 0.1± 5%  
Silver  x 0.01± 10% 









Capacitor Voltage Color Code Table

Band
Colour
Voltage Rating (V)
Type JType KType LType MType N
Black4100 1010
Brown62001001.6 
Red10300250435
Orange15400 40 
Yellow205004006.36
Green25600 1615
Blue35700630 20
Violet50800   
Grey 900 2525
White31000 2.53
Gold 2000   
Silver    

Capacitor Voltage Reference

  • Type J  –  Dipped Tantalum Capacitors.
  • Type K  –  Mica Capacitors.
  • Type L  –  Polyester/Polystyrene Capacitors.
  • Type M  –  Electrolytic 4 Band Capacitors.
  • Type N  –  Electrolytic 3 Band Capacitors.

Capacitor Letter Codes Table

Picofarad
(pF)
Nanofarad
(nF)
Microfarad
(uF)
CodePicofarad
(pF)
Nanofarad
(nF)
Microfarad
(uF)
Code
100.010.0000110047004.70.0047472
150.0150.00001515050005.00.005502
220.0220.00002222056005.60.0056562
330.0330.00003333068006.80.0068682
470.0470.00004747010000100.01103
1000.10.000110115000150.015153
1200.120.0001212122000220.022223
1300.130.0001313133000330.033333
1500.150.0001515147000470.047473
1800.180.0001818168000680.068683
2200.220.000222211000001000.1104
3300.330.000333311500001500.15154
4700.470.000474712000002000.2254
5600.560.000565612200002200.22224
6800.680.000686813300003300.33334
7500.750.000757514700004700.47474
8200.820.000828216800006800.68684
10001.00.001102100000010001.0105
15001.50.0015152150000015001.5155
20002.00.002202200000020002.0205
22002.20.0022222220000022002.2225
33003.30.0033332330000033003.3335

Thursday, 6 August 2015

Resistor

                                          Resistor 

        Resistors ate the most fundamental and commonly used of all electronic components, to the point where they are almost taken for granted. There are many different types of resistor available for the electronics constructor to choose from, very small surface mount chip resistors up to large power resistors.


        The principal job of a resistor within an electrical or electronic circuit is to "resist"(hence the name RESISTOR), regulate or to set the flow of electrons (current) through them by using the type of conductive material from which they are composed. Resistors can also be connected together in various series and parallel combinations to form resistor networks which can act as voltage droppers.voltage dividers or current limiters within a circuit.

         Resistors are what are called "Passive Devices", that is they contain no source of power or amplification but only attenuate or reduce the voltage or current signal passing through them. This attenuation results in electrical  energy being lost in the form of heat as the resistor resists the flow of electrons through it.

         Then a potential difference is required between the two terminals of a resistor for current to flow. This potential difference balances out the energy lost. When used in DC circuits the potential difference , also known as a resistors voltage drop, is measured across the terminals as the circuit current flows through the resistor.