Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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 :p 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
 
Ok

Cool..

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


TKS

i suggest that you get it from the pdf files..
 
Status
Not open for further replies.

Latest threads

Back
Top