Sie sind auf Seite 1von 19

By B.V.S.S.Kusumakar 1210410407 4/4 B.

Tech ECE-D

Features 8KB In System Programmable flash memory 256KB internal RAM 32 programmable i/o lines Three 16bit timers Interrupt recovery from power down mode

of AT89S52

Port 0 Port 0 is an 8-bit open drain bi-directional I/O .Port 0 can also be configured to be the multiplexed low order address/data bus during accesses to external program and data memory. Rest of the ports are 8-bit bi-directional I/O port with internal pull-ups. RST Reset input. A high on this pin for two machine cycles while the oscillator is running resets the device.

ALE/PROG Address Latch Enable (ALE) is an output pulse for latching the low byte of the address during accesses to external memory.

PSEN

Program Store Enable (PSEN) is the read strobe to external program memory. EA/VPP External Access Enable. EA must be strapped to GND in order to enable the device to fetch code from external program memory.
XTAL1 Input to the inverting oscillator amplifier and input to the internal clock operating circuit. XTAL2 Output from the inverting oscillator amplifier.

Used for displaying the device status.


Power Supply for driving LCD

EN: Line is called "Enable." This control line is used to tell the LCD that you are sending it data. To send data to the LCD, your program should make sure this line is low (0). RS: Line is the "Register Select" line. When RS is low (0), the data is to be treated as a command or special instruction (such as clear screen, position cursor, etc.). When RS is high (1), the data being sent is text data which sould be displayed on the screen. RW: Line is the "Read/Write" control line. When RW is low (0), the information on the data bus is being written to the LCD. When RW is high (1), the program is effectively querying (or reading) the LCD.

The 3^18encoders are a series of CMOS LSIs (Large Integrated Circuits) for remote control system applications. They are capable of encoding 18 bits of information this consists of N address bits and 18^N data bits. It converts the parallel inputs into serial output.

The 3^18 decoders are a series of CMOS LSIs for remote control system applications. They are paired with the 3^18 series of encoders. For proper operation a pair of encoder/decoder pair with the same number of address and data format should be selected. The 3^18 decoders are capable of decoding 18 bits of information that consists of N bits of address and 18N bits of data.

A0-A7 are 8 bit Address pins for input. AD0-AD3 are 4 bit Data/Address pins for input. TE-Transmission enable(active low)

A relay is an electrical switch that opens and closes under the control of another electrical circuit. In the original form, the switch is operated by an electromagnet to open or close one or many sets of contacts.

This software is a GUI used for coding This is also used for dumping the code into the microcontroller.

Das könnte Ihnen auch gefallen