dear friends;
i am using pic16f877a to count frequency by using the external interrupt and the timer1 , and i have my circuit which out a pulses with peak 5v
the problem is when i mesure the pulses by the Oscilloscope the pulses is good but when i connect the output of the pulsating circuit to the PIC the Oscilloscopes reading goes to zero , the simulation of the prgram is running greatfully ,, second problem if i dont connect any thing to the Interrupt pin , i read on the LCD a very huge number from where i dont know! so i have to put a capacitor to set it to zero.
please help me to find out where are my faults and errors??
thank you _________________ A.T.N
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Mon Jan 07, 2008 8:10 am
If the scope signal goes to zero when you connect the PIC it implies the PIC pin is set to be an output. Either that or you have some weird grounding problem, like the two leads from the signal source are reversed. _________________ The search for better is endless. Instead simply find very good and get the job done.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum