PIC16F877A

Status
Not open for further replies.

TKS

New Member
Hi,

i have made a small testboard to test my programming whit a led and powermosfet and offcourse a switch.

i have connected the 2VDD and VSS to + and - (including a small capp)

and the MCLR whit a res (1K),

offcourse also the extern Crys(20Mhz) whit 2 33pF's (capp)

my problem is how can i test if my setup is working and the pic is working well.

The pic works fine//my programmer van program it fine..
========================================

2:

I write my code in ASM in textpad...
then i compile it whit the MPLAB ASM compiler...

but when i start to program my programmer software say's
it cant fine the fuse settings etc..

how can i include them in my asm file..???


=======================================
3:

some times i see asm file whit somethingl ike

include picxx.xxx like including a file or something

i would like some moreinformation about that...
=========================================

last one:

i aslo connected to the same board a 20pin socket for my 16F818's...
but i cant find the speed @ which the internet clock works can anyone help..??

the problem i have and maybe much other beginners is how to read the datasheets?? where is the information...

i'm sure the profs overhere have a nose for it and know where to look @..

well

Tanxs anyone who helps me...



TKS :wink:
 
TKS said:
I write my code in ASM in textpad...
then i compile it whit the MPLAB ASM compiler...

but when i start to program my programmer software say's
it cant fine the fuse settings etc..

how can i include them in my asm file..???

By using the __config directive, it's explained in the MPASM helpfile, if you check my tutorials you will see how I use it.

=======================================
3:

some times i see asm file whit somethingl ike

include picxx.xxx like including a file or something

i would like some moreinformation about that...

It's an include file, it's used to include another file in the one you are assembling - the most common use is to include the settings for the specific processor (again, see my tutorials).

i aslo connected to the same board a 20pin socket for my 16F818's...
but i cant find the speed @ which the internet clock works can anyone help..??

The internal clock runs at 1/4 the external one, so with a 4MHz crystal the PIC runs at 1MHz - giving 1uS per instruction cycle. With a 20MHz crystal you get 200nS per instruction cycle.
 
sorry

i didn't said clearly that the 16F818 isn't wired up @ the crystal...

tomorrow i can sample some divices you are using whit your projects

do still recommend some other types...??

i can sample a couple soww would like to use the possebility

TKS
 
Re: sorry

TKS said:
i didn't said clearly that the 16F818 isn't wired up @ the crystal...

Sorry :lol:

The internal oscillator has 8 selections, from 31KHz to 8MHz.
 
Ok

Cool..

@ which page did you obtain that information..??/


TKS

i suggest that you get it from the pdf files..
 
Re: Ok

TKS said:
Cool..

@ which page did you obtain that information..??/


TKS

i suggest that you get it from the pdf files..

Page 3 of the datasheet gives a brief description of the 16F818/9. That's where I got it from.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…