94 Electronic Engineering
any contact with the outside world! To remove this deficiency, let's add a block which contains several memory locations whose one end is connected to the data bus, and the other has connection with the output lines on the microcontroller which can be seen as pins on the electronic component.
5. _________________________________
The ‘added’ locations are called "ports". There are several types of ports: input, output or bidirectional ports. When working with ports, first of all it is necessary to choose which port we need to work with, and then to send data to, or take it from the port. Port acts like a memory location.
6. _________________________________
Rules of data we exchange are called protocol. Protocol is therefore defined in advance so there wouldn't be any misunderstanding between the sides that are communicating with each other. There are separate lines for receiving and sending data at the same time. So called full-duplex mode block which enables this way of communication is called a serial communication block. Data moves here bit by bit, or in a series of bits what defines the term serial communication comes from. After the reception of data it is to be read from the receiving location and stored in memory. Data goes from memory through the bus to the sending location, and then to the receiving unit according to the protocol.
7. _________________________________
The next block is the timer block. It gives information about time, duration, protocol etc. The basic unit of the timer is a free-run counter which is in fact a register.
8. _________________________________
A flawless functioning of the microcontroller during its run-time is an important point. There is a block providing a flawless functioning of the microcontroller during its run-time called watchdog. This block is a free-run counter where program needs to write a zero in every time it executes correctly. This will result in executing the program again. Analog to Digital Converter (ADC) is the block to convert peripheral signals into a pattern which can be comprehended by a microcontroller. This block converts information about some analog value to a binary number so that CPU block can further process it.
|
|
Microcontroller is now completed, and all we need to do now is to assemble it into an electronic component where it will access inner blocks through the outside pins. http://www.pictutorials.com
VOCABULARY IN USE
11. Complete the sentences with suitable words and word combinations.
protocolmodewatchdog
registersperipheralstoring
bidirectionalpins
1. ___________ is defined in advance so that communicating sides could escape misunderstanding.
2. The block providing a perfect functioning of the microcontroller during its work is called ___________.
3. The output lines on the microcontroller are named
___________ on the electronic component.
4. So called full-duplex ___________ block which enables communication is called serial communication block.
5. Central processing unit memory locations are called
___________.
6. Microprocessor co-ordinates the flow of information between separate memory and located outside
___________ devices.
7. Memory is part of the microcontroller ___________
data.
8. There are input, output or ___________ ports.