Page 1 of 1

crystal oscillator

PostPosted: Fri Jan 04, 2013 4:03 pm
by big nose
hello..... :D
I am doing a burglar alarm in which I used pic16f877a. On the process of doing this project I encountered problems regarding the crystal oscillator. Why is it that it needs to be discharge first or I need to touch it every time for the whole system to function?have you also experienced this problem? do you have any idea how to get rid of this? please we need the answers ASAP...

Re: crystal oscillator

PostPosted: Fri Jan 04, 2013 7:21 pm
by shahrul
big nose WROTE:hello..... :D
I am doing a burglar alarm in which I used pic16f877a. On the process of doing this project I encountered problems regarding the crystal oscillator. Why is it that it needs to be discharge first or I need to touch it every time for the whole system to function?have you also experienced this problem? do you have any idea how to get rid of this? please we need the answers ASAP...

I never experienced. I wonder how your soldering hardware and how your crystal position. So, can you show your hardware picture?

Re: crystal oscillator

PostPosted: Fri Jan 04, 2013 7:42 pm
by zhenning
big nose WROTE:hello..... :D
I am doing a burglar alarm in which I used pic16f877a. On the process of doing this project I encountered problems regarding the crystal oscillator. Why is it that it needs to be discharge first or I need to touch it every time for the whole system to function?have you also experienced this problem? do you have any idea how to get rid of this? please we need the answers ASAP...


Did you tie the MCLR pin to VDD?

Re: crystal oscillator

PostPosted: Sat Jan 05, 2013 1:40 pm
by big nose
no, I did not connect the MCLR to Vdd.
is it that necessary to connect it??

also to shahrul, were quiet confident on the way we soldered it. And i think there is no issue on the crystal position coz it has no polarity.....thanks for the concern anyway.... :D

Re: crystal oscillator

PostPosted: Sat Jan 05, 2013 2:22 pm
by zhenning
big nose WROTE:no, I did not connect the MCLR to Vdd.
is it that necessary to connect it??

also to shahrul, were quiet confident on the way we soldered it. And i think there is no issue on the crystal position coz it has no polarity.....thanks for the concern anyway.... :D



Yes, of course you need to connect that through 10k resistor. That pin is a master clear reset pin. If it is connected to ground, then your circuit will reset. So, if you leave the pin floating, it will be any value.

Re: crystal oscillator

PostPosted: Mon Jan 07, 2013 4:27 pm
by big nose
ohhh...sorry,i did not notice that it is already connected.
it is attached with a 4.7k resistor with the reset button as it go through the Vdd. and the Vdd was with a capacitor as it go along to the MCLR.

Re: crystal oscillator

PostPosted: Tue Jan 08, 2013 9:49 am
by Idris
Replace the Crystal. Could you post your hardware picture?

Re: crystal oscillator

PostPosted: Wed Jan 09, 2013 5:08 pm
by big nose
we already replaced it a couple of times but still the outcome is the same.

Re: crystal oscillator

PostPosted: Wed Jan 09, 2013 5:28 pm
by sich
Please post your hardware connection. Using breadboard? Etch own PCB?... All these are important to know your circuit better. This problem usually occurs when the there's open connection somewhere.

Re: crystal oscillator

PostPosted: Thu Jan 10, 2013 8:33 am
by big nose
somehow we already found a way on how to solve it.
and i guess we did the right thing because the crystal oscillator is now functioning well.
thank you guys for being such a help we really appreciate it.
;)