Our project is called Stalker Guard. We chose the subject mostly because as girls, we fell unsafe walking alone in the dark since it can be dangerous. Our project developed from this idea to be upgraded with servo SG90 motor so that it can include safer car parking, better building and shop security, etc.
Step 1: Preparing the Components
We used the following components for this project:
- Arduino UNO R3 with USB cable
- 830 Breadboard
- Male-Male and Male-Female Jumper Wires
- Resistor 1kΩ
- 9V Duracell battery and battery connector
- LCD Display 1602 IIC
- Ultrasonic 4-pin sensor HC-SR04
- SG90 Micro Servo Motor
- Piezo Buzzer
We also made a wooden base for fixing components on it.
Step 2: Connecting Components
Step 3: Programming
We used Arduino IDE 1.8.6. First remember to choose the COM port and board. The code is simple. We included 4 libraries: Wire.h, LCD.h, LiquidCrystal_I2C.h and Servo.h. If you haven't included those libraries already, you can download them and go to Sketch menu -> Include Library -> Add .ZIP Library... The code is shown on the photos above.
Step 4: Testing
Now, all components are wired and the program is finished, so we can test it. All the functionalities are shown in the video above. We hope that you enjoy reading this article.
Contributors: Stefanija Trajkova (151040), Ivana Srnjakova (151073)