| Author |
Message |
ahmadpene
Joined: 23 Sep 2008 Posts: 7
|
23 Sep 2008 10:46 timer switch using pic.. |
|
|
|
i need some help regarding my final year project..
i currently doing about alarms system...i want to activate this alarm system during daylight..
n turn it off at night..
sir,,i want to ask u..what kind of pic that i have to use.?
n how about the source code..?
|
|
| Back to top |
|
 |
daviddlc
Joined: 11 Feb 2007 Posts: 95 Helped: 6
|
25 Sep 2008 20:15 Re: timer switch using pic.. |
|
|
|
Because you don't mention too many details, a simple suggestion is to get PIC controller with Compare module integrated, then connect a light sensor to it, set it out to be activated during the night (when the light sensor does not detect daylight) and de-activated in the morning.
About the source code, you need to do it, since it is your final project.
Or you need to give more details:
- Do you need to use a clock system ?
- Can the on/off time be programmed by the user ?
- Etc,
|
|
| Back to top |
|
 |
ahmadpene
Joined: 23 Sep 2008 Posts: 7
|
28 Sep 2008 16:58 Re: timer switch using pic.. |
|
|
|
ok sir,,my system is about alarms system,,
i working out a project about rain alarm in my sport complex,,
basically the project flow is like this...
when raining..the circuit detect the rain,,and triggered the alarm,,
here come the problem...
1)this rain alarms only working on daylight..when at night..it is shut off..
so i need to build system or operating hour for the system,,start from 6am to 6pm only..if the rain fall without the range of operating hour..nothing happen to alarm,,
2)i dont know to choose and use what kind of pic..please make a suggestion sir..
|
|
| Back to top |
|
 |
anujgupta.gcet
Joined: 20 Sep 2008 Posts: 19 Location: Greater Noida
|
28 Sep 2008 18:38 timer switch using pic.. |
|
|
|
| fo this project u must be using some sensors....would u name the sensors??
|
|
| Back to top |
|
 |
ahmadpene
Joined: 23 Sep 2008 Posts: 7
|
29 Sep 2008 3:59 Re: timer switch using pic.. |
|
|
|
| yup..i will use rain detector..
|
|
| Back to top |
|
 |
anujgupta.gcet
Joined: 20 Sep 2008 Posts: 19 Location: Greater Noida
|
29 Sep 2008 15:57 timer switch using pic.. |
|
|
|
| thats ok that you are using rain detector but i am asking the particular sensor with name and specifications that you are using.
|
|
| Back to top |
|
 |
ahmadpene
Joined: 23 Sep 2008 Posts: 7
|
30 Sep 2008 6:45 Re: timer switch using pic.. |
|
|
|
erm,,as far as i know..after doing some research on the internet..
i dont find any specific rain sensor..
it is all homemade rain sensor..with just 2 wires build with a gap..
i'll attach the file that contain the rain sensor that i will use...
if u have some info about the specific sensor,,just tell me sir..
here's the link:
|
|
| Back to top |
|
 |
anujgupta.gcet
Joined: 20 Sep 2008 Posts: 19 Location: Greater Noida
|
30 Sep 2008 17:12 timer switch using pic.. |
|
|
|
you have earlier said that you have made a rain detector circuit which has a loophole that it works only in daylight but not in night. so you want some help so that it could work in night too. right???
so is it the same rain detector....home made...in the above picture shown...which you have already implemented but not working in night.
please specify it clearly so that we can provide you an exact solution.
|
|
| Back to top |
|
 |
daviddlc
Joined: 11 Feb 2007 Posts: 95 Helped: 6
|
30 Sep 2008 21:15 Re: timer switch using pic.. |
|
|
|
For the time, you can use a RTC (Real Time Clock), and be checking the time on it, every minute for example and based on this time you will trigger the alarm on or off.
Look for Real Time Clock Chips on the internet
Regards.
|
|
| Back to top |
|
 |
ahmadpene
Joined: 23 Sep 2008 Posts: 7
|
04 Oct 2008 5:35 Re: timer switch using pic.. |
|
|
|
to mr anujgupta.gcet..
it is not like that sir..now i only have the rain detector circuit..
and currently..the circuit will trigger the alarm if rain fall...and will trigger in anytime..
in daylight and night....
so..i have to create a system so that the rain detector only trigger the alarm if rain fall in daylight...
so in order to do that..i have to use PIC right?
then what kind of PIC do i have to use?
any suggestion sir?
|
|
| Back to top |
|
 |
makri
Joined: 01 Jan 2004 Posts: 121 Location: India, Kerala
|
10 Oct 2008 7:57 Re: timer switch using pic.. |
|
|
|
hello
You can use a pic16f88 or 16f877A with Maxim1307 RTC chip , if you want to sense light you can use LDR, I have designed a time operated switch with pic16f877A and maxim 1307 chip programed in MikroC. I will convert it to web format and I will post it in my blog soon. watch http://picmicrochip.blogspot.com
Makri
http://shibuvarkala.blogspot.com
|
|
| Back to top |
|
 |
ahmadpene
Joined: 23 Sep 2008 Posts: 7
|
13 Oct 2008 3:06 Re: timer switch using pic.. |
|
|
|
tenkiu sir for ur cooperation.,,
|
|
| Back to top |
|
 |
ahmadpene
Joined: 23 Sep 2008 Posts: 7
|
28 Oct 2008 1:45 Re: timer switch using pic.. |
|
|
|
to mr makri..
sir..how about the programming sir.?
|
|
| Back to top |
|
 |