LITERATURE REVIEW
Journal 2
AT89S52 Description
8051 is the name of a big family of microcontrollers. The 89S52 has 4 different ports, each one having 8 input/output lines providing a total of 32 I/O lines. Those ports can be used to output DATA and orders to other devices, or to read the state of a sensor, or a switch. Most of the ports of the 89S52 have 'dual function' meaning that they can be used for two different functions.
The first one is to perform input/output operations and the second one is used to implement special features of the microcontroller like counting external pulses, interrupting the execution of the program according to external events, performing serial data transfer or connecting the chip to a computer to update the software. Each port has 8 pins- variable called 'register', each bit being connected to a different input/output pin.
There are two different memory types: RAM and EEPROM. Shortly, RAM is used to store variable during program execution, while EEPROM memory is used to store the program itselft, that's why it is often referred to as the 'program memory'. It is clear that the CPU (Central Processing Unit) is the heart of the micro controllers. It is the CPU that will Read the program from the FLASH memory and Execute it by interacting with the different peripherals.
Credit to : Ria Sood, Manjit Kaur and Hemant Lenka (June 2013) "Design and Development of Automatic Water Flow Meter."
VIDEO
No comments:
Post a Comment