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.
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
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.
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:
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.
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