Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me choose an oscillator for PIC

Status
Not open for further replies.

ENG.MRS

Newbie level 4
Joined
Dec 15, 2006
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,311
Hi all!
I am a beginner in microcontrollers ;
I have trird to make a prject with pic16f84a but it doesn't work;
I have used a crystal as an oscillator , and i read that when buying rhe pic ,
I should mention the type of the oscillator;
Does this true?
And how can i know the reasonable oscillator for the pic.

I am waiting for a reply.............

Thanks>>>
 

Re: A Queation about PIC

hi

if possible share your schematic here to see what wrong, no this is not true that you have metioned at the time of purchase which type of oscilator you used a pic can be configure for four different type of osc configurations xt ,hs, rc, lp

regards
Fragrance
 

Re: A Queation about PIC

Thanks for your reply
The scheme is below
lc_meter_pic16f84a.jpg
 

A Queation about PIC

my opinion..

the type of your oscillator is xt (crystal)
do you know how MHz is it?
 

Re: A Queation about PIC

Yes , it is 4Mhz
 

Re: A Queation about PIC

I have used a crystal as an oscillator , and i read that when buying rhe pic ,
I should mention the type of the oscillator;
Does this true?

I think you should have written "when BURNING the PIC..."
Yes, it is true, and in the programmer software you should set the configuration fuses for XT type oscillator. This project also can work with ceramic resonator (the same choose for config fuses), without the two capacitors conected.
 

Re: A Queation about PIC

Thanks for that note , but from where can i config that in ICPROG?
 

Re: A Queation about PIC

Knowing that you are the PIC beginner, so, before working with your LC meter project, you should get aquainted first with PIC1FF84/assembly/C from the following excellent sources:

1. Datasheet of PIC16F84 from Microchip website, www.microchip.com

2. MPASM/MPLAB software, free distributed at Microchip website.

3. Studying PIC16F84 online at: www.mikroelektronika.co.yu/english/

4. Free book "My First PIC Projects" by Bubble Software, downloaded from "http://www.ee.up.ac.za/main/_media/en/undergrad/subjects/emk310/projects.pdf?id=en%3Aundergrad%3Asubjects%3Aemk310%3Aindex&cache=cache"

You will understand well PIC16F84 and PIC family from those only.

nguyenam
 

    ENG.MRS

    Points: 2
    Helpful Answer Positive Rating
Re: A Queation about PIC

hi

in icprog you can set this on right under fuse setting for this circuit you have to set the fuse seting as fallow.

osc = xt

wdt = off

pwt = on

cp = off (if you like you can on it to protect code)

with these setting your pic must work if nothing wrong with code also you have to set the lcd contrast by using 10k connected to pin three of lcd to view the digit on lcd

regards
Fragrance
 

    ENG.MRS

    Points: 2
    Helpful Answer Positive Rating
A Queation about PIC

nguyenam
Thanks alot for these resources ,I really lack alot of info. , and that is useful (helped me)

Fragrance
Thanks for your reply .I have tried it and it is all right
(helped me)

Regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top