Pages: [1]   Go Down
Author Topic: home alarm system  (Read 3734 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 34
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi.
i am working on a alarm system project use a Arduino to read 8 inputs which are coming through a 8 stage static register ( CD4021BE) i am have a problem now which switch has been closed and which one is open i need some help with the programming to now which input is which  i have found some code (Shiftin) from the adrunio web site i have made some changes to it but sure how to now which number is which.

the newbie
chilliman smiley
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you getting reliable inputs from the 4021, just don't know how to interpret the data?

Or is it that you can't read the SR in the first place?

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
Newbie
*
Karma: 0
Posts: 47
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have a look at this   http://www.freetronics.com/products/security-sensor-shield
It may simplify your project.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 34
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks billcramer07 this just i what.

thanks
chilliman smiley
Logged

Pages: [1]   Go Up
Jump to: