Page 1 of 1

PR14 ALARM SYSTEM: MOTION DETECTOR

PostPosted: Sat Sep 22, 2012 11:48 am
by an2lie
Hi, i need some help here.. i want to add lamp in this project.. where should i place this lamp? can i replace this lamp with led1? did i need to modify the source code? i think if i want to add the lamp, i need to use relay, then what type of relay that i can be used for this circuit and what type of lamp suitable for this circuit. if i can add this lamp here, can i delay the time for the lamp to switch on after the buzzer has been activated. Thank You so much for the information.. sorry for the inconvenience.. :)

Re: PR14 ALARM SYSTEM: MOTION DETECTOR

PostPosted: Sat Sep 22, 2012 1:48 pm
by yonghui
similar to buzzer, relay will need a BJT to drive.
Relay at least consuming 40 to 50mA so normal microcontroller pin cant afford to drive it. add a flyback schottky diode to the terminal for the flyback current.

if u want delay u will need writing code for the microcontroller.

Re: PR14 ALARM SYSTEM: MOTION DETECTOR

PostPosted: Sun Sep 23, 2012 2:37 am
by an2lie
Thank You so much for the information..