| Author |
Message |
aphy
Joined: 06 Apr 2004 Posts: 1
|
06 Apr 2004 2:19 pic16f877 |
|
|
|
i have little knowledge on microcomtrollers... kindly tell me the basics that i should know regarding my pic16f877... also, plese send me sample programs that would be of great help to me... i really have to know how this works... every single reply will be deeply appreciated...
|
|
| Back to top |
|
 |
majiaaa
Joined: 06 Apr 2004 Posts: 14 Location: China
|
06 Apr 2004 3:41 Re: pic16f877 |
|
|
|
| it is a single chip microcomputer with flash memory and ADs .from microchip inc., ,you can get sample programs in the mplab installation software pack.
|
|
| Back to top |
|
 |
hugo
Joined: 01 Jan 1970 Posts: 243 Helped: 21
|
06 Apr 2004 5:57 Re: pic16f877 |
|
|
|
Hi,
Just do a search on Elektroda : "pic" , "pic mcu" , "pic micro", "pic basic", "icd" , "microchip", "pic books", "pic programmer" etc. you'll find all you want to know (and even more!)
Also you could start with this link :
http://www.mikroelektronika.co.yu/english/product/books/PICbook/picbook.htm
Regards
Hugo
|
|
| Back to top |
|
 |
lguancho
Joined: 07 Jan 2004 Posts: 251 Helped: 5
|
12 Apr 2004 6:49 Re: pic16f877 |
|
|
|
Hi, first of all. For hardware aspects, you need a resistor and cap as a minimal oscillator configuration. If your timing is critical, then you should consider crystal.
For flash PIC, you should consider a RJ connector on your PIC16F877 design, for use with third party debugger (which is used to program your PIC also).
For software point of view, I wouldn't want to work on assembly language anymore, though the assembler is free from Microchip. Try C compiler from third parties like CCS PCWH It is widely available in the www ( check out on overnet network). CCS website has a PIC forum whereby people discuss anything on PICs. Do check it out
There is a PIC C book for CCS C compiler. You can get it here at ebook here
|
|
| Back to top |
|
 |
gam
Joined: 25 Mar 2004 Posts: 117 Helped: 4
|
26 Apr 2004 13:45 Re: pic16f877 |
|
|
|
Hello,
Microchip Datasheets are very well written, read it through first.
You might want to begin by writing some simple assembly program, flash some Leds or something, to make sure the chip, programmer and everything else is working.
Next Try Hi-Tech PICC Lite (C compiler)
|
|
| Back to top |
|
 |
atmaca
Joined: 13 Jan 2004 Posts: 352 Helped: 1
|
06 May 2004 7:56 Re: pic16f877 |
|
|
|
read datasheet in this link:http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1434 on pic16f877. Learn the architecture of the pic16f877 throughly.
At the end of the datasheet there is an assembler command set.
Try to understand these commands. Look at this link: http://www.mstracey.btinternet.co.uk/pictutorial/picmain.htm; you can learn how to use some assebler commands. After that search the internet for the applications and examine some applications.
|
|
| Back to top |
|
 |
virus
Joined: 09 May 2004 Posts: 42 Helped: 1 Location: Mars
|
09 May 2004 17:09 pic16f877 |
|
|
|
| I believe you will get some very useful site if you do a Google search, with the key words ‘pic tutorial’.
|
|
| Back to top |
|
 |
feiutm9898
Joined: 31 May 2004 Posts: 224 Helped: 4 Location: Singapore
|
04 Jun 2004 17:44 Re: pic16f877 |
|
|
|
Please decide which language you want to use, assembly or C?
If U start from C can search about Hitech or CCS compiler.
|
|
| Back to top |
|
 |
virus
Joined: 09 May 2004 Posts: 42 Helped: 1 Location: Mars
|
06 Jun 2004 8:41 pic16f877 |
|
|
|
But I would suggest you to start in assembly, there are application notes in Microchip's web site to have you started. By using assembly language, you will having a change to look deeply into PIC's architecture. You may need to download MPLAB IDE from Microchip's website. Good new is it's free.
virus
|
|
| Back to top |
|
 |
feiutm9898
Joined: 31 May 2004 Posts: 224 Helped: 4 Location: Singapore
|
10 Jun 2004 19:01 Re: pic16f877 |
|
|
|
http://www.edaboard.com/viewtopic.php?t=51896&highlight=embedded+system
http://www.edaboard.com/ftopic76067.html
http://www.edaboard.com/ftopic68571.html
http://www.edaboard.com/ftopic51341.html
http://www.edaboard.com/ftopic34897.html
These pages can help
|
|
| Back to top |
|
 |
wil
Joined: 13 Sep 2002 Posts: 4
|
10 Jun 2004 20:49 pic16f877 |
|
|
|
Hi Aphy,
I agree with Virus. Starts using assembly.
I indicate this site:
http://www.tanzilli.com/?id=207
There are many simple examples to starts with PIC and has a very good tutorial.
Wil.
|
|
| Back to top |
|
 |
samcheetah
Joined: 25 May 2004 Posts: 672 Helped: 31 Location: Pakistan
|
11 Jun 2004 4:54 Re: pic16f877 |
|
|
|
if u want to play with the 877 u should start reading the EPE magazine . almost all of the projects in EPE are with the 877. i remember an EPE mini tutorial that came with the October 1999 issue of EPE, it was also based on the 87x series of microcontrollers.
for lots of PIC codes go to http://www.piclist.com
and for some great tutorials on the PIC go to Nigel Goodwin's site http://www.winpicprog.co.uk
as for the choice of programming language ill leave that decision to u. its all up to you. some people prefer assembly and some prefer C. actually C is just an abstraction of assembly. some people think that for programming a chip with such a small architecture, C is just too much. u dont need a high level abstraction of assembly when u can easily write code in assembly. while some say that a single line of code in C is equivalent to a hundered lines of code of assembly. as i said the choice is yours.
i use assembly for PIC because it just works for me. when i work with x86 processors i stick with C
i hope that helps
|
|
| Back to top |
|
 |