C code with Arduino UNO -- 2

Job ID: 35421812

Budget: $10 – $30 USD

1. Switches
SS
S1
S2
S3
S4
These switches should be (OFF).
Before start next steps delay for (1) minute.
2. Internal Alarm (ON) for (15) second then turn (OFF).
3. Sound Sensor (ON) when detect sound turn (ON) the External Alarm until any of the switches SS,S1,S2,S3,S4 turned (ON) then turn (OFF)the sensor and the Alarm.
4. Motion Sensor (ON) when detect movement turn (ON) the External Alarm until any  of the switches SS,S1,S2,S3,S4 turned (ON) then turn (OFF)the Sensor and the Alarm. 
5. When any switch is (ON) turn the alarms and sensors (OFF).

// Please put your notes and pins number or any additional explanation.
Related categories: C Programming Electronics Microcontroller Arduino