Professional Documents
Culture Documents
Embedded system employs a combination of software & hardware to perform a specific function. Embedded systems range from portable devices such as digital watches , MP3 players, traffic lights, factory controllers. Embedded systems are designed to do some specific task, rather than be a general-purpose computer for multiple tasks. The program instructions written for embedded systems are stored in read-only memory . They run with limited computer hardware resources: little memory, small or non-existent keyboard and/or screen.
DIFFERENCE BETWEEN A MC N MP
A Microprocessor is a general purpose digital computer central processing unit(C.P.U) popularly known as CPU on the chip. The Microprocessors contain no RAM, no ROM, and no I/P O/P ports on the chip itself. On the other hand a Microcontroller has a C.P.U(microprocessor) in addition to a fixed amount of RAM, ROM, I/O ports and a timer all on a single chip. In order to make a Microprocessor functional we must add RAM, ROM, I/O Ports and timers externally to them,i.e any amount of external memory can be added to it. But in controllers there is a fixed amount of memory which makes them ideal for many applications. The Microprocessors have many operational codes(opcodes) for moving data from external memory to the C.P.U Whereas Microcontrollers may have one or two operational codes.
microcontroller
There are 4 types of microcontrollers 8051 microcontroller Pic microcontroller Avr microcontoller Arm microcontroller
Pic microcontroller
It is peripheral interphase control. Types of pic microcontroller Pic 10,12,14,16,18,24,32 Pic 10,12,14,16,18 are of 8 bits Pic 24 is of 16 bits Pic 32 is of 32 bits It is available from 8 pin to 40 pin
Programming in embeded c
In this printf is not used for diplaying anything Int , float , char is not used In embeded c we use data types of unsigned values Ex ample : unsigned char There is a data directional register connected with each port . This register is known as tris.
Interfacing of led
Void main() { TRIS B=0; While(1); { PORT B=0; delay_ms(1000); PORT B=0xff; delay_ms(1000); }
ORCAD
There are three parts of orcad Capture: it is used for electronic circuit schematic designing Layout: it is used for pcb designing Pspice : it is the stimulator Capture and layout are linked with each other
Layout
Tina pro