home seur0ity4 system4 using4 at89s52

Status
Not open for further replies.

jellyace

Newbie level 3
Joined
Feb 19, 2013
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,296
home security system using at89s52

I dont know how to interface reed switch, PIR motion sensor and smoke sensor into a microcontroller..can you give me an idea?
 

Re: home security system using at89s52

I dont know how to interface reed switch, PIR motion sensor and smoke sensor into a microcontroller..can you give me an idea?

Reed switches, motion and smoke detectors all have NO contacts and can be almost directly connected to any general purpose I/O pin of any port.
The other side of a switch is to be connected to GND.
So, when a switch is activated it pulls the uC pin to GND (logic '0'), when it is inactive, the internal pullup keeps the level at the logic '1' ..

Something to watch:
8051 Interfacing- Part 3: interfacing a switch
https://www.youtube.com/watch?v=RlRHC0SAfCs

:wink:
IanP
 

Re: home security system using at89s52

Thank you Mr. IanP. Do you also have an idea how to make a program for it..using C language?
 

i did same project using ATmega 8...if you want to do it using it then i can give you a working program and circuit diagram
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…