Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Repeating Timer

Status
Not open for further replies.

kasamiko

Member
Hi,

I want to built a timer that will be ON for 10 hours then OFF for 30 minutes using PIC like 16F628A..

Also it has a 3 minutes power ON delay in case of power interruption..

Hope somebody has a similar circuit or maybe a link for a similar project...


TIA
 
you can do it using for loops; like this one,
for(k=0;k<600;k++)
{
indicator = 1;
delay(1000);
indicator =0;
delay(1000);
}
 
Hi, sorry for the late reply. You can also try using an RTC with a alarm output. That way you can have accurate timing. I have used the DS12887 parallel RTC with a PIC(its old fashioned), you can get one in SPI or I2C.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top