SlideShare a Scribd company logo
1 of 8
PC

TO

PC

COMMUNICATION

Submitted By:

FIBER

OPTIC
INTRODUCTION

DEFINITION

The project PC to PC fiber optic communication deals with data transfer from one
computer to another. It uses C programming and the serial ports of the PCs. The
ports are programmed in C. We use MAX 232 to convert RS 232 logic to TTL
logic and then an optical transmitter circuit to transmit data via fiber optic cable.
The optical transmitter circuit has a LED which is matched as far the cable and
MAX 232 is concerned. At the receiver we have an optical receiver circuit which
receives data using a photo transistor and a MAX 232 again to convert TTL logic
to RS 232 for the serial port at the receiving end computer. The desired baud
rate can be set using the program. For transmitting data the program is executed
once and whatever is present at the serial port is sent to the other
Computer via the fiber optic cable. At the receiver the program is executed to
receive data on the serial port.

NEED
Data transfer is the need of the hour. Surely people can use internet for this. But
presently it would be time consuming. One can implement data transfer using
wireless medium. But then it will be a costly affair. The need, therefore, is felt for
fiber optic communication which is cheaper and more suitable for the task. It is
cheaper than wireless medium and is prone to lesser loss as compared to
wireless medium. Fiber optics has their own advantages; larger bandwidth, high
speeds, only to name a few. Therefore, we need to use optic fibers for the
internet and LANs.

SCOPE
In the very beginning we have tried to send ASCII characters between two
computers. But as we proceeded further we realized that this project can help
transfer files at desired speed between two PCs. If we expand the idea a bit
further, a network of PCs can be connected, like in the cable net available today.
The Conventional LAN cables can be replaced by fiber optic cables which can
provide much higher speeds and also larger information carrying capacity.

BLOCK DIAGRAM OF PROJECT:
COMPONENTS REQUIRED:

1. Voltage Regulator 7805
2. Diode IN4007
3. MAX 232 Level Converter IC
4. DB9 Connectors
5. Capacitors 1uf
6. optical fiber cable
7. IR leds
8. Photo diode
Description of Microcontroller:
89s52: The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller
with 8K bytes of in-system programmable Flash memory. The device is manufactured
using Atmel’s high-density nonvolatile memory technology and is compatible with the
industry-standard 80C51 instruction set and pinout. The on-chip Flash allows the
program memory to be reprogrammed in-system or by a conventional nonvolatile
memory programmer. By combining a versatile 8-bit CPU with in-system programmable
Flash on a monolithic chip, the Atmel's AT89S52 is a powerful microcontroller which
provides a highly-flexible and cost-effective solution to many embedded control
applications. The AT89S52 provides the following standard features: 8K bytes of Flash,
256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16-bit
timer/counters, a six-vector two-level interrupt architecture, a full duplex serial port, onchip oscillator, and clock circuitry. In addition, the AT89S52 is designed with static logic
for operation down to zero frequency and supports two software selectable power saving
modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial
port, and interrupt system to continue functioning. The Power-down mode saves the
RAM con-tents but freezes the oscillator, disabling all other chip functions until the next
interrupt
The hardware is driven by a set of program instructions, or software. Once familiar with
hardware and software, the user can then apply the microcontroller to the problems
easily.
The pin diagram of the 8051 shows all of the input/output pins unique to
microcontrollers:
The following are some of the capabilities of 8051 microcontroller.





Internal ROM and RAM
I/O ports with programmable pins
Timers and counters
Serial data communication

The 8051 architecture consists of these specific features:





16 bit PC &data pointer (DPTR)
8 bit program status word (PSW)
8 bit stack pointer (SP)
Internal ROM 4k








Internal RAM of 128 bytes.
4 register banks, each containing 8 registers
80 bits of general purpose data memory
32 input/output pins arranged as four 8 bit ports:P0-P3
Two 16 bit timer/counters: T0-T1
Two external and three internal interrupt sources
Oscillator and clock circuits

More Related Content

What's hot (20)

Lab manual
Lab manualLab manual
Lab manual
 
Sun transit outage
Sun transit outageSun transit outage
Sun transit outage
 
Mixer, VCO and Low Noise Amplifier
Mixer, VCO and Low Noise AmplifierMixer, VCO and Low Noise Amplifier
Mixer, VCO and Low Noise Amplifier
 
Typical Embedded System
Typical Embedded SystemTypical Embedded System
Typical Embedded System
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
IEEE-488
IEEE-488IEEE-488
IEEE-488
 
Serial Data Communication
Serial Data CommunicationSerial Data Communication
Serial Data Communication
 
Satellite Link Design: Basic Transmission Theory & Noise Temperature
Satellite Link Design: Basic Transmission Theory & Noise TemperatureSatellite Link Design: Basic Transmission Theory & Noise Temperature
Satellite Link Design: Basic Transmission Theory & Noise Temperature
 
PIC-18 Microcontroller
PIC-18 MicrocontrollerPIC-18 Microcontroller
PIC-18 Microcontroller
 
Reed solomon code
Reed solomon codeReed solomon code
Reed solomon code
 
M ary psk and m ary qam ppt
M ary psk and m ary qam pptM ary psk and m ary qam ppt
M ary psk and m ary qam ppt
 
Interconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI DesignInterconnect Parameter in Digital VLSI Design
Interconnect Parameter in Digital VLSI Design
 
Optical Switching
Optical SwitchingOptical Switching
Optical Switching
 
RS 232
RS 232RS 232
RS 232
 
LED and LASER source in optical communication
LED and LASER source in optical communicationLED and LASER source in optical communication
LED and LASER source in optical communication
 
Ece formula sheet
Ece formula sheetEce formula sheet
Ece formula sheet
 
Wavelength division multiplexing
Wavelength division multiplexingWavelength division multiplexing
Wavelength division multiplexing
 
Convolution codes and turbo codes
Convolution codes and turbo codesConvolution codes and turbo codes
Convolution codes and turbo codes
 
LDPC Codes
LDPC CodesLDPC Codes
LDPC Codes
 
Hardware-Software Codesign
Hardware-Software CodesignHardware-Software Codesign
Hardware-Software Codesign
 

Viewers also liked

All optical circuits and for digital logic
All optical circuits and for digital logicAll optical circuits and for digital logic
All optical circuits and for digital logicM. Faisal Halim
 
Fiber Optic Technology
Fiber Optic TechnologyFiber Optic Technology
Fiber Optic TechnologyYaswanth Yadav
 
Fiber optics communication & Technology
Fiber optics communication & TechnologyFiber optics communication & Technology
Fiber optics communication & TechnologyPrateek Kumar
 
Web application based file transfer in customized cloud
Web application based file transfer in customized cloudWeb application based file transfer in customized cloud
Web application based file transfer in customized cloudeSAT Journals
 
Asynchronous serial data transfer, UART and CAN controller
Asynchronous serial data transfer, UART and CAN controllerAsynchronous serial data transfer, UART and CAN controller
Asynchronous serial data transfer, UART and CAN controllerJovan Vlajic
 
RitZBox-A file Sharing system
RitZBox-A file Sharing systemRitZBox-A file Sharing system
RitZBox-A file Sharing systemSubham Sahu
 
Final thesis paper Digital Optical fiber link design
Final thesis paper Digital Optical fiber link designFinal thesis paper Digital Optical fiber link design
Final thesis paper Digital Optical fiber link designMd. Nadimul Islam
 
Data transfer scheme
Data transfer schemeData transfer scheme
Data transfer schemerockymani
 
intelligent street light system using gsm Report
intelligent street light system using gsm Reportintelligent street light system using gsm Report
intelligent street light system using gsm Reportdarshangowda679
 
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robotB.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robotSushant Shankar
 
Basics of telecommunication and networking
Basics of telecommunication and networkingBasics of telecommunication and networking
Basics of telecommunication and networkingMilan Padariya
 
Telecommunication basics
Telecommunication basicsTelecommunication basics
Telecommunication basicsYoohyun Kim
 
optical fibre ppt for download visit http://nowcracktheworld.blogspot.in/
optical fibre  ppt for download visit http://nowcracktheworld.blogspot.in/optical fibre  ppt for download visit http://nowcracktheworld.blogspot.in/
optical fibre ppt for download visit http://nowcracktheworld.blogspot.in/Ram Niwas Bajiya
 
Basic of telecommunication presentation
Basic of telecommunication presentationBasic of telecommunication presentation
Basic of telecommunication presentationhannah05
 
What is Optical fiber ?
What is Optical fiber ?What is Optical fiber ?
What is Optical fiber ?Likan Patra
 

Viewers also liked (20)

All optical circuits and for digital logic
All optical circuits and for digital logicAll optical circuits and for digital logic
All optical circuits and for digital logic
 
Project_intership
Project_intershipProject_intership
Project_intership
 
Fiber Optic Technology
Fiber Optic TechnologyFiber Optic Technology
Fiber Optic Technology
 
Fiber optics communication & Technology
Fiber optics communication & TechnologyFiber optics communication & Technology
Fiber optics communication & Technology
 
Web application based file transfer in customized cloud
Web application based file transfer in customized cloudWeb application based file transfer in customized cloud
Web application based file transfer in customized cloud
 
Asynchronous serial data transfer, UART and CAN controller
Asynchronous serial data transfer, UART and CAN controllerAsynchronous serial data transfer, UART and CAN controller
Asynchronous serial data transfer, UART and CAN controller
 
RitZBox-A file Sharing system
RitZBox-A file Sharing systemRitZBox-A file Sharing system
RitZBox-A file Sharing system
 
Final thesis paper Digital Optical fiber link design
Final thesis paper Digital Optical fiber link designFinal thesis paper Digital Optical fiber link design
Final thesis paper Digital Optical fiber link design
 
Nature of light
Nature of lightNature of light
Nature of light
 
FIBER OPTIC RECENT TRENDS
FIBER OPTIC RECENT TRENDSFIBER OPTIC RECENT TRENDS
FIBER OPTIC RECENT TRENDS
 
Data transfer scheme
Data transfer schemeData transfer scheme
Data transfer scheme
 
Data transferschemes
Data transferschemesData transferschemes
Data transferschemes
 
intelligent street light system using gsm Report
intelligent street light system using gsm Reportintelligent street light system using gsm Report
intelligent street light system using gsm Report
 
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robotB.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
B.Tech.Final Year ECE Project Report on Ultrasonic distance measure robot
 
Basics of telecommunication and networking
Basics of telecommunication and networkingBasics of telecommunication and networking
Basics of telecommunication and networking
 
Telecommunication basics
Telecommunication basicsTelecommunication basics
Telecommunication basics
 
OPTICAL FIBER COMMUNICATION PPT
OPTICAL FIBER COMMUNICATION PPTOPTICAL FIBER COMMUNICATION PPT
OPTICAL FIBER COMMUNICATION PPT
 
optical fibre ppt for download visit http://nowcracktheworld.blogspot.in/
optical fibre  ppt for download visit http://nowcracktheworld.blogspot.in/optical fibre  ppt for download visit http://nowcracktheworld.blogspot.in/
optical fibre ppt for download visit http://nowcracktheworld.blogspot.in/
 
Basic of telecommunication presentation
Basic of telecommunication presentationBasic of telecommunication presentation
Basic of telecommunication presentation
 
What is Optical fiber ?
What is Optical fiber ?What is Optical fiber ?
What is Optical fiber ?
 

Similar to Pc to pc optical fibre communication mini project

Network Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC MicrocontrollerNetwork Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC MicrocontrollerCSCJournals
 
IRJET- Power Line Carrier Communication
IRJET- Power Line Carrier CommunicationIRJET- Power Line Carrier Communication
IRJET- Power Line Carrier CommunicationIRJET Journal
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Boardswarnimmaurya
 
Wireless energy meter monitoring with automated tariff calculation
Wireless energy meter monitoring with automated tariff calculationWireless energy meter monitoring with automated tariff calculation
Wireless energy meter monitoring with automated tariff calculationUdayalakshmi JK
 
Attendance monitoring system using bluetooth
Attendance monitoring system using bluetoothAttendance monitoring system using bluetooth
Attendance monitoring system using bluetoothTushar Sah
 
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolInterfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolIJERA Editor
 
High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...IJMER
 
underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps Mohd Sohail
 
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONcscpconf
 
Bhabha atomic research Centre (BARC)
Bhabha atomic research Centre (BARC)Bhabha atomic research Centre (BARC)
Bhabha atomic research Centre (BARC)Utkarsh Tiwari
 
Performance analysis and implementation of modified sdm based noc for mpsoc o...
Performance analysis and implementation of modified sdm based noc for mpsoc o...Performance analysis and implementation of modified sdm based noc for mpsoc o...
Performance analysis and implementation of modified sdm based noc for mpsoc o...eSAT Journals
 
Design issues in cc2530 znp multi hop sensor networks
Design issues in cc2530 znp multi hop sensor networksDesign issues in cc2530 znp multi hop sensor networks
Design issues in cc2530 znp multi hop sensor networksSreekesh Padmanabhan
 
Wireless agro automation system
Wireless agro automation systemWireless agro automation system
Wireless agro automation systemkarthikpunuru
 
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKSHIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKSijngnjournal
 
IEEE Paper A SystemC AMS Model of an I2C Bus Controller
IEEE Paper A SystemC AMS Model  of an I2C Bus ControllerIEEE Paper A SystemC AMS Model  of an I2C Bus Controller
IEEE Paper A SystemC AMS Model of an I2C Bus ControllerDweapons Art
 
Full report on light peak technology
Full report on light peak technologyFull report on light peak technology
Full report on light peak technologyVIKAS SINGH BHADOURIA
 

Similar to Pc to pc optical fibre communication mini project (20)

Network Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC MicrocontrollerNetwork Based Data Acquisition and Logging System using PIC Microcontroller
Network Based Data Acquisition and Logging System using PIC Microcontroller
 
IRJET- Power Line Carrier Communication
IRJET- Power Line Carrier CommunicationIRJET- Power Line Carrier Communication
IRJET- Power Line Carrier Communication
 
Smart LED Notice Board
Smart LED Notice BoardSmart LED Notice Board
Smart LED Notice Board
 
Wireless energy meter monitoring with automated tariff calculation
Wireless energy meter monitoring with automated tariff calculationWireless energy meter monitoring with automated tariff calculation
Wireless energy meter monitoring with automated tariff calculation
 
Attendance monitoring system using bluetooth
Attendance monitoring system using bluetoothAttendance monitoring system using bluetooth
Attendance monitoring system using bluetooth
 
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolInterfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
 
High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...High speed customized serial protocol for IP integration on FPGA based SOC ap...
High speed customized serial protocol for IP integration on FPGA based SOC ap...
 
underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps underground cable fault location using aruino,gsm&gps
underground cable fault location using aruino,gsm&gps
 
project 3 full report
project 3 full reportproject 3 full report
project 3 full report
 
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATIONETHERNET PACKET PROCESSOR FOR SOC APPLICATION
ETHERNET PACKET PROCESSOR FOR SOC APPLICATION
 
Bhabha atomic research Centre (BARC)
Bhabha atomic research Centre (BARC)Bhabha atomic research Centre (BARC)
Bhabha atomic research Centre (BARC)
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
 
Performance analysis and implementation of modified sdm based noc for mpsoc o...
Performance analysis and implementation of modified sdm based noc for mpsoc o...Performance analysis and implementation of modified sdm based noc for mpsoc o...
Performance analysis and implementation of modified sdm based noc for mpsoc o...
 
Design issues in cc2530 znp multi hop sensor networks
Design issues in cc2530 znp multi hop sensor networksDesign issues in cc2530 znp multi hop sensor networks
Design issues in cc2530 znp multi hop sensor networks
 
An hemmanur
An hemmanurAn hemmanur
An hemmanur
 
Wireless agro automation system
Wireless agro automation systemWireless agro automation system
Wireless agro automation system
 
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKSHIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
HIGH PERFORMANCE ETHERNET PACKET PROCESSOR CORE FOR NEXT GENERATION NETWORKS
 
IEEE Paper A SystemC AMS Model of an I2C Bus Controller
IEEE Paper A SystemC AMS Model  of an I2C Bus ControllerIEEE Paper A SystemC AMS Model  of an I2C Bus Controller
IEEE Paper A SystemC AMS Model of an I2C Bus Controller
 
Full report on light peak technology
Full report on light peak technologyFull report on light peak technology
Full report on light peak technology
 
Smart home
Smart homeSmart home
Smart home
 

More from Padmakar Mangrule

what is mean by default getway
what is mean by default getwaywhat is mean by default getway
what is mean by default getwayPadmakar Mangrule
 
62.water level control in reservoiers
62.water level control in reservoiers62.water level control in reservoiers
62.water level control in reservoiersPadmakar Mangrule
 
Synopsis for mobile bug mini project
Synopsis for mobile bug mini projectSynopsis for mobile bug mini project
Synopsis for mobile bug mini projectPadmakar Mangrule
 
Intelligent ambulance car witch controle traffic lights
Intelligent ambulance car witch controle traffic lightsIntelligent ambulance car witch controle traffic lights
Intelligent ambulance car witch controle traffic lightsPadmakar Mangrule
 
Gsm based home automation using avr
Gsm based home automation using avrGsm based home automation using avr
Gsm based home automation using avrPadmakar Mangrule
 
Fingerprint based security system
Fingerprint based security systemFingerprint based security system
Fingerprint based security systemPadmakar Mangrule
 
Automatic street light controller
Automatic street light controllerAutomatic street light controller
Automatic street light controllerPadmakar Mangrule
 
accelerometer based gesture controlled robotic arm
accelerometer based gesture controlled robotic arm accelerometer based gesture controlled robotic arm
accelerometer based gesture controlled robotic arm Padmakar Mangrule
 

More from Padmakar Mangrule (11)

what is mean by default getway
what is mean by default getwaywhat is mean by default getway
what is mean by default getway
 
62.water level control in reservoiers
62.water level control in reservoiers62.water level control in reservoiers
62.water level control in reservoiers
 
22.ir based wireless robo
22.ir based wireless robo22.ir based wireless robo
22.ir based wireless robo
 
Synopsis for mobile bug mini project
Synopsis for mobile bug mini projectSynopsis for mobile bug mini project
Synopsis for mobile bug mini project
 
Mobile bug
Mobile bugMobile bug
Mobile bug
 
Alcohol breath analyzer
Alcohol breath analyzerAlcohol breath analyzer
Alcohol breath analyzer
 
Intelligent ambulance car witch controle traffic lights
Intelligent ambulance car witch controle traffic lightsIntelligent ambulance car witch controle traffic lights
Intelligent ambulance car witch controle traffic lights
 
Gsm based home automation using avr
Gsm based home automation using avrGsm based home automation using avr
Gsm based home automation using avr
 
Fingerprint based security system
Fingerprint based security systemFingerprint based security system
Fingerprint based security system
 
Automatic street light controller
Automatic street light controllerAutomatic street light controller
Automatic street light controller
 
accelerometer based gesture controlled robotic arm
accelerometer based gesture controlled robotic arm accelerometer based gesture controlled robotic arm
accelerometer based gesture controlled robotic arm
 

Pc to pc optical fibre communication mini project

  • 2. INTRODUCTION DEFINITION The project PC to PC fiber optic communication deals with data transfer from one computer to another. It uses C programming and the serial ports of the PCs. The ports are programmed in C. We use MAX 232 to convert RS 232 logic to TTL logic and then an optical transmitter circuit to transmit data via fiber optic cable. The optical transmitter circuit has a LED which is matched as far the cable and MAX 232 is concerned. At the receiver we have an optical receiver circuit which receives data using a photo transistor and a MAX 232 again to convert TTL logic to RS 232 for the serial port at the receiving end computer. The desired baud rate can be set using the program. For transmitting data the program is executed once and whatever is present at the serial port is sent to the other Computer via the fiber optic cable. At the receiver the program is executed to receive data on the serial port. NEED
  • 3. Data transfer is the need of the hour. Surely people can use internet for this. But presently it would be time consuming. One can implement data transfer using wireless medium. But then it will be a costly affair. The need, therefore, is felt for fiber optic communication which is cheaper and more suitable for the task. It is cheaper than wireless medium and is prone to lesser loss as compared to wireless medium. Fiber optics has their own advantages; larger bandwidth, high speeds, only to name a few. Therefore, we need to use optic fibers for the internet and LANs. SCOPE In the very beginning we have tried to send ASCII characters between two computers. But as we proceeded further we realized that this project can help transfer files at desired speed between two PCs. If we expand the idea a bit further, a network of PCs can be connected, like in the cable net available today. The Conventional LAN cables can be replaced by fiber optic cables which can provide much higher speeds and also larger information carrying capacity. BLOCK DIAGRAM OF PROJECT:
  • 4. COMPONENTS REQUIRED: 1. Voltage Regulator 7805 2. Diode IN4007 3. MAX 232 Level Converter IC 4. DB9 Connectors 5. Capacitors 1uf 6. optical fiber cable 7. IR leds 8. Photo diode
  • 5. Description of Microcontroller: 89s52: The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller with 8K bytes of in-system programmable Flash memory. The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard 80C51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic chip, the Atmel's AT89S52 is a powerful microcontroller which provides a highly-flexible and cost-effective solution to many embedded control applications. The AT89S52 provides the following standard features: 8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full duplex serial port, onchip oscillator, and clock circuitry. In addition, the AT89S52 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. The Power-down mode saves the RAM con-tents but freezes the oscillator, disabling all other chip functions until the next interrupt
  • 6. The hardware is driven by a set of program instructions, or software. Once familiar with hardware and software, the user can then apply the microcontroller to the problems easily. The pin diagram of the 8051 shows all of the input/output pins unique to microcontrollers:
  • 7. The following are some of the capabilities of 8051 microcontroller.     Internal ROM and RAM I/O ports with programmable pins Timers and counters Serial data communication The 8051 architecture consists of these specific features:     16 bit PC &data pointer (DPTR) 8 bit program status word (PSW) 8 bit stack pointer (SP) Internal ROM 4k
  • 8.        Internal RAM of 128 bytes. 4 register banks, each containing 8 registers 80 bits of general purpose data memory 32 input/output pins arranged as four 8 bit ports:P0-P3 Two 16 bit timer/counters: T0-T1 Two external and three internal interrupt sources Oscillator and clock circuits