Tuesday, 10 January 2012

8051 Microcontroller


Hi this time I am sharing some information about 8051 microcontroller. Before we move to the 8051 microcontroller it’s essential for us to know, what a microcontroller is. So first of all we shall learn some thing about microcontroller.
Microcontrollers are hidden in almost every product or device with which its user can interact. In fact, any device that has a remote controller or has an LCD/LED screen and a keypad has an embedded microcontroller..
Microcontroller
The word ‘micro’ suggests that the device is small and the word ‘controller’ suggests that the device may be used to control one or more function of objects, process. It is also known as ‘embedded controller’ as they are often embedded in the device or system that they control.

8051 Microcontroller:

The Intel 8051 microcontroller is one of the most popular general purpose microcontrollers in use today. The success of the Intel 8051 spawned a number of clones which are collectively referred to as the MCS-51 family of microcontrollers.
8051 Microcontroller
The Intel 8051 is an 8-bit microcontroller which means that most available operations are limited to 8 bits. There are 3 basic "sizes" of the 8051: Short, Standard, and Extended. The Short and Standard chips are often available in DIP (dual in-line package) form, but the Extended 8051 models often have a different form factor, and are not "drop-in compatible". All these things are called 8051 because they can all be programmed using 8051 assembly language, and they all share certain features (although the different models all have their own special features).

Features of 8051microcontroller:

·         The 8051 microcontroller has a 4KB on chip memory space.
·         Internal RAM of 128 bytes.
·         Two 16-bit timers/ counter.
·         32 I/O pins.
·         Two external and three internal interrupts sources.
·         32 general purpose registers each having 8-bits.
·         16-bit program counter and data pointer.
·         8-bit stack pointer.
·         Oscillator and clock circuits.

Internal architecture and Pin diagram:
Architecture

Pin diagram
Oscillator circuit: 
The 8051 requires an external oscillator circuit. The oscillator circuit usually runs around 12MHz, although the 8051 (depending on which specific model) is capable of running at a maximum of 40MHz. Each machine cycle in the 8051 is 12 clock cycles, giving an effective cycle rate at 1MHz (for a 12MHz clock) to 3.33MHz (for the maximum 40MHz clock). The oscillator circuit generates the clock pulses so that all internal operations are synchronized.

Data and Program memory:
The 8051 Microcontroller can be programmed in PL/M, 8051 Assembly, C and a number of other high-level languages. Many compilers even have support for compiling C++ for an 8051.

Program memory in the 8051 is read-only, while the data memory is considered to be read/write accessible. When stored on EEPROM or Flash, the program memory can be rewritten when the microcontroller is in the special programmer circuit.

Special function registers:

The Special Function Register(SFR) is the upper area of addressable memory, from address 0x80 to 0xFF. A, B, PSW, DPTR are called SFR. This area of memory cannot be used for data or program storage, but is instead a series of memory-mapped ports and registers. All port input and output can therefore be performed by memory MOV operations on specified addresses in the SFR. Also, different status registers are mapped into the SFR, for use in checking the status of the 8051, and changing some operational parameters of the 8051.

Applications of 8051 microcontrollers: 8051 chips are used in a wide variety of control systems, telecom applications, and robotics as well as in the automotive industry.




Keep visiting ……..

Monday, 9 January 2012

CRO


Hi friends, this time I am going to tell about one of the most used electronic instruments named CRO. The CRo can be expanded as the Cathode Ray Oscilloscope.
The cathode-ray oscilloscope (CRO) is a common laboratory instrument that provides accurate time and amplitude measurements of voltage signals over a wide range of frequencies. Its reliability, stability, and ease of operation make it suitable as a general purpose laboratory instrument. The heart of the CRO is a cathode-ray tube. It is an electronic instrument capable of giving a visual indication of a signal waveform. It is widely used for measuring the voltage as a function of time. The CRO depends on the movement of an electron beam, which strikes a screen coated with fluorescent material, to produce a visible spot. If the electron beam is deflected on x-axis and y-axis, a two dimensional display is produced.



A general purpose CRO consists of the following main components:

1.      Cathode Ray Tube (CRT).
2.      Vertical Amplifier.
3.      Triggering Circuit.
4.      Sweep generator.
5.      Horizontal Amplifier.
6.      Delay line.
7.      Power supply.

  1. Cathode Ray Tube (CRT): The heart of the CRO is the Cathode Ray Tube which generates the electron beam, accelerates it to a high velocity and deflects it to create the image. The CRT contains the Phosphor screen where the beam becomes visible.To accomplish these tasks, various electrical signals and voltages are required which are generated by the remainder of the blocks. Before striking the screen the electron beam passes between a set of deflection plates. The vertical and horizontal movements are independent of one another so that the spot on the screen can be positioned anywhere on the screen by the simultaneous application of appropriate vertical and horizontal voltage inputs. When a periodic signal is applied to the vertical plates and a sawtooth signal of the same period is applied to the horizontal plates, the spot will trace an image of the periodic signal on the screen.

  1. Vertical Amplifier: The signal to be viewed is fed to the vertical amplifier, which is a wideband amplifier used to increase the potential of the input signal to a level that will provide a deflection of the electron beam.

  1. Triggering Circuit: To synchronize the horizontal deflection with the vertical input, such that the horizontal deflection starts at the same point of the input vertical signal, a synchronizing or triggering circuit is used. This circuit is the link between the vertical input and the horizontal time base.

  1. Time base generator (sweep generator): Time base generator is used to generate the sawtooth voltage required to deflect the beam in the horizontal direction. It controls the rate at which the beam is scanned across the face of the CRT and is adjusted from the front panel.

  1. Horizontal Amplifier: The horizontal amplifier is similar to the vertical amplifier and it increases the amplitude of the signals generated in the sweep generator to the level generated by the horizontal deflection plates of the CRT.

  1. Delay line: All electronic circuitry in the oscilloscope cause a certain amount of delay in the transmission of signal voltages to the deflection plates. Comparing the vertical and horizontal deflection circuits in the oscilloscope block diagram, we observe that signal processing in the horizontal channel involves trigger circuit, time base generator, and horizontal amplifier whose output is fed to the horizontal deflection plates. This whole process takes time. To allow the operator to observe the leading edge of the wave form, the signal drive for the vertical CRT plates must be delayed by at least the same amount of time. This is the function of the delay line.

  1. Power supply: The power supply block provides the voltages required by the CRT to generate and accelerate the electron beam as well as to supply the required operating voltages for the other circuits of the CRO. Relatively high voltages are required by CRTs for acceleration; low voltages are required for the heater of the electron gun, which emits the electrons. Supply voltages for the other circuits are various values, usually not more than a few hundred volts..


There are many applications of CRO, a few of them are:

·         Tracing of an actual waveform of current or voltage.
·         Determination of amplitude of a variable quantity.
·         Comparison of phase and frequency.
·         Measurement of capacitance and inductance.
·         In televisions.
·         In RADAR.
·         For engine pressure analysis.
·         For tracing transistor curves.

 I hope this was useful. Keep visiting the blog for latest posts….