Go Down

Topic: home alarm system (Read 3934 times) previous topic - next topic

chilliman

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 :)

Graynomad

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
Rob Gray aka the GRAYnomad www.robgray.com

billcramer07

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

chilliman

Thanks billcramer07 this just i what.

thanks
chilliman :)

Go Up