0% found this document useful (0 votes)
18 views5 pages

Theft Alarm On Tinkercad

Uploaded by

21btrcs072
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views5 pages

Theft Alarm On Tinkercad

Uploaded by

21btrcs072
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

[Type text]

Mini Project on Theft Alarm using Tinkercad

Objective of the project to create a theft alarm.

What will happen when a thief comes. It will be detected by PIR


sensor and it give signal to LED to glow, buzzer to produce sound, LCD
to display a message (means alert by light, sound, message)

[Type text]
[Type text]

Supplies

Computer and internet connection (In TinkerCad Arduino Uno R3,


Breadboard, 2 resistor(220 ohms), led, potentiometer, buzzer, LCD, PIR
sensor is required)

Step 1: Interfacing of Components

[Type text]
[Type text]

1. LED interface to digital pin no. 7 via 220 ohm resistor

[Type text]
[Type text]

2. buzzer to digital pin no. 8


3. PIR sensor digital pin no. 4
4. LCD interfacing:
5. GND to ground pin
6. VCC to 5V
7. contrast(v0) to potentiometer
8. Register select(RS) to digital pin no.13
9. Read/write(RW) to ground pin
10. Enable to digital pin no.12
11. DB4 to digital pin no. 6
12. DB5 to digital pin no. 5
13. DB6 to digital pin no. 3
14. DB7 to digital pin no. 2
15. LED anode to 5v via 220 ohm resistor
16. LED cathode to ground pin

Step 2: Text Coding

Steps involves are:


[Type text]
[Type text]

1. include Liquid Crystal Library.


2. Create object for LCD
3. Create variables for led, buzzer, PIR sensor, PIRstatus(for HIGH and
LOW)
4. initialize the pinMode in setup function.
5. In loop function we use if else condition
6. If something is there in the range of a PIR sensor (PIRstatus is
HIGH) buzzer will produce a sound, LED will glow and LCD will
display 'ALERT'.
7. else nothing will work and LCD displays 'SAFE'.

Step 3: Simulation

Last step is to check if it is working or not. Click on start simulation to


see its working

Conclusion
Thus the theft alarm is designed and verified successfully using
Tinkercad.

[Type text]

You might also like