alarm system ..please help me :(

I’m a student who want to learn the Arduino langage . I bought the components to build an alarm system . I want that my system works in both cases: when I enter the code and when the sensor detects me.
So that , if you can help me to have knowledge about Arduino and how it works .

the components I buy:
-carte arduino

  • 2 LED Red
    -1 LED green
    -buzzer
    -cable
    -LCD 16*2
    -keypad 16 button 0 to 9 and A to D
    -motion sensor
    Thanks a lot .

led-250x150.jpg

projet hamdi.png

téléchargement.jpg

11021-dsds01a.jpg

ds.jpg

You've now posted this question three five times, and I've deleted two four of those posts.

DO NOT CROSS-POST, CROSS-POSTING WASTES TIME.

Hamdi91:
I want that my system works in both cases: when I enter the code and when the sensor detects me.

How do you want the alarms system to act? You have to break the behavior of your alarm system into smaller steps. For inputs you have keypad keys and a motion sensor. For output you have lights, a text display, and a buzzer. The sketch you write will act on inputs to produce outputs.