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 .
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.