hemnath
Advanced Member level 3
Hi,
PIC 18F2620, 1MHz internal oscillator,
I want to auto-off the circuit when there is no change in PV for about 10 minutes. Due to some factors, PV will change slightly. So that we shall provide a limit like PV+x and PV-X. If the PV is within this range, a digital pin will switch off the circuit. Could you please help on the logic to work it out. I have been trying it. But couldn't find the solution.
Let's say, on 5th minute, if the PV changes largely or outside the limits as mentioned above. time should start from 0.
PIC 18F2620, 1MHz internal oscillator,
I want to auto-off the circuit when there is no change in PV for about 10 minutes. Due to some factors, PV will change slightly. So that we shall provide a limit like PV+x and PV-X. If the PV is within this range, a digital pin will switch off the circuit. Could you please help on the logic to work it out. I have been trying it. But couldn't find the solution.
Let's say, on 5th minute, if the PV changes largely or outside the limits as mentioned above. time should start from 0.