Quote:
|
Originally Posted by dragonaga sorry, i'm a new guy here. but thanks for ur info about the new PIC. i'll use it for my project rather than PIC16F84A.
i'm using the PIC for controlling the two sensors time period. the dark activated relay will only functioning during daylight (when the light level of environment goes down the light will turn on) while the motion detector will activate at night.
and maybe i will add other feature like LCD display and keypad so the resetting time will be easier. but for the time being, i want to concentrate for the 2 sensors. |
To start with, buy a PIR sensor! - you can then strip it for the parts you need - it's completely pointless to build your own PIR, particularly obtaining and focusing a suitable fresnel lens. A complete PIR detector will probably cost you less than just the sensor IC used, and will also have the light detector circuit.
As part of your project, draw out the circuit of the PIR, and then document your modifications - this should get you decent marks!. Personally I would aim at modifying it to give two outputs, one from the PIR (movement/non-movement), and the other from the light sensor (either light/dark or an analogue value of the light level - or you could do both - aiming for bonus marks?). Point out in your documentation that doing this is more cost effective than building it from scratch, and reduces the rest of your project to mainly software design and control.
My PIC tutorials include pretty well all the parts you need, including LCD, keypad, LED's etc - and RS232 to send data to a computer if you wish.