Pic micro controllers use haward architecture ,which
uses seperate data and program memory .Also it uses seperate
buses to communicate with each memory type .The haward
architecture has an improved bandwidth over the von neumann
architecture which uses same bus for the data and instruction.
The data memmory can be further broken down into general
purpose ragisters and special purpose registers.
The registers in the Pic 16f84A are mapped at specific addresses
in the data memory section.The picbasic language allows us to
read & write to these registers as if they are std: mem:bytes.
we read and write to these registers using the peek and poke
commands in the pic basic language .
we had used the Pic basic pro for the compilation & succeeded.
Anyway the basic language made the programming task simple!
Innovation is not the product of logical thought ,even though the final product is tied to a logical structure::-Albert Einstein -Its easier to identify a ZERO but its difficult to identify a +ve or -ve
Thursday, April 5, 2007
PIC 16F84A microcontroller

PIC 16F84A microcontroller(MC)
--------------------------------------
General features :
Risc cpu 35 single instructions
operating speed DC-10MHz clockinput
1k program Memory
14 bit wide instructions ,
8bit wide data path,
direct &indirect &relative addressing:
1000erase/write cycles:
Peripheral features :
13 i/o pins with individual direction control :
high current sink/source for direct LED drive (25 mA sink max.per pin
20mA source max .per pin ):
TMRO-8-bit timer /counter with 8-bit programmable prescaler
------------------------------------------------
BASICS:
The 16f84A MC is a verstile MC with Flash memory (1K x 14bit )
on board can endure a minimum of 1000 erase/write cycles .
The program retension time B/w erase/write cycles is approximately
40 years .
The 18 pin chip devotes 13-pins to i/o .the pin status
(I/O direction controll )can be done through programming .
Can be programmed using assembly language or high level language .
In the case of high level language such as BASIC we need a copiler
to convert the programme to the hex file which can be directly
programmed in to the PIC using a PIC programmer which is commonly
available in the market.But the programmer will be costly for us
(it costs nearly 3000Rs).So the best thing is to make one programmer
as per the ckt diagram given in the site .we tried it & succeeded in
it to programme the 16f84A.It is also used to program other pics.
In the case of assembly language programming we need one assembler
to conver it to the Hex file.
We tried first with the BASic language and found it is the best to
programme than the assembly language ,being less prone to error &
easy to understand .We used the pic basic pro for compilation.
Subscribe to:
Posts (Atom)