Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Ahmed Ragab said:Well I used this idea before ,.. and i guess it will work good enough on any micrcontroller
1-let the alarm sensor trigger an interrupt to the micrcontroller ...
2-this interrupt may itself trigger the timer or counter in the controller to work.
3- adjust the counter u use to enable the alarm circuit u got
The only thing you will need is to calculate the value the counter will trigger the alarm after .. this will depend on the crystal frequency you use
sztibi82 said:It depneds about the micorcontroller which you use and alos about the frequesncy.
Check
h**p://www.boondog.com/%5Ctutorials%5Cpic16F84%5Cpic16f84.html#timer1_0