I just bought my arduino UNO a few weeks ago and am starting to get bits and bobs together for a project I have in mind. I bought the Arduino Project book for dummies as well to help me if I am stuck as a reference guide and have been reading all the projects in it comprising of lots of different sensors to spark my imagination.
What I want to do is: Create a motion sensor array that when motion is detected, send a message to a software program or to a local webpage hosted on a computer (whatever is easier to design and execute) which notifes us that there is motion detected in each room.
For an example of what I would like it to do, please check the attached jpeg. Say we have 3 square rooms all joined together and a door straight through te middle of each leading into the other. The person walks from ROOM 1 TO ROOM2. When the person starts moving, the software has a diagram of 3 squares on screen with room names, which change to red when motion is detected. When the person enters ROOM 2, the sensor in ROOM 1 then will display no motion detected after say another check after so many seconds say 2 seconds. Same happens again in ROOM 3 when the person walks from ROOM 2 to ROOM 3.
The system I have is to be used in large buildings to help detect motion after hours when the place is closed and any security guards in the lobby who stay overnight ot protect the offices can see any motion in any room in the building or corridors. This can alert them to unauthorized people being in the building after it is closed, where cleaning crews etc may be currently working and also during a fire alarm to detect whether the building has been fully evacuated or not. Receptionists or security personnel will have this graphical user interface showing movements hopefully in the event of a fire alarm, making their way to the fire exit locations, and coming down floor by floor the closest fire evacuation point. Also in large container ships to monitor for pirates who may have boarded unknowningly if the captain of large ships know where his crew currently is and there is abnormal activity or movement detected well below decks etc it could arouse suspicion or raise an alarm much sooner to stop them getting away.
Of course every building is different and the layout for this GUI showing the motion locations will be unique to every building and will be sketched out on paper then converted into birds eye view plans of each floor they are installed in.
I was wondering how I would create this, feeding the sensor data to the PC downstairs and creating the User interface for the software, reading in the sensor values.
How many sensors can I connect to one arduino? are they only connected motion sensors through the 5 analogue pins or can I connect 13 to the digital pins as I only need to know two conditions, like the binary values it can produce and accept a 1 and 0, similar to motion detected YES or NO?
Lets get my head around this single layout first and then will talk about maybe an arduino for each floor and connecting them together as I dont think one arduino could handle so many connection. Check out my diagram and see what you think.
As I am a newbie I would like to thank you all in advance for your help and look forward to working with and sharing your ideas.