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.
Exactly, a threshold value has been defined in the code, as the sensor's value reach the threshold value a particular time delay is calculated after which interrupt signal should be generated and the LED must glow at that time.
I am also attaching the zip file of my MP lab Project and the...
Thank you for again and agian responding me.
If I share my code with you, would it be possible that you would tell me my mistake in timer 1 configuration ?
No, signal from the sensor is correctly read by the controller as I am using LCD as well which shows the value of current. But again the problem is with the interrupt signal it sometimes give and sometimes it does not, quite possible it is due to the bad programming.
I am using an external oscillator of 20Mhz.
When its inaccurate it never gives an interrupt signal until I reset the circuit 2 or 3 times.
And sometime it gives so accurate result in a single attempt.
Hi.
I have been working on a project of Over current relay using PIC 16f877A controller in which I have used interrupt signal to generate a exact time delay (trip signal) . For which I have used timer 1 configuration.
It is working all fine when I run its simulation on Protues, it gives...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.