STEMSEL LCD Project 2 : Alarm System

Similar documents
ezsystem elab16m Project 1F: Alarm System (Full Project description)

Intermediate STEMSEL Project 6 Light Sensor Alarm

Configuring Alarm Device Recording

QUICK START GUIDE. SG2 Client - Programming Software SG2 Series Programmable Logic Relay

User's Guide DylosLogger Software Version 1.6

tattletale User Guide Consumer unit version P a g e

GSM HOME SECURITY SYSTEM

Using the Communication Ports on the DG-700 and DG-500 Digital Pressure Gauges

DC-8706K Auto Dial Alarm System

GTR-128/GTR-129 Motorcycle/ Vehicle Tracker Quick Start Guide

AD-01 Slave Auto Dialer. Owner s Manual

STATUS POWER MONITOR ALARM SOS DISARM

How To Control A Car Alarm On A Car With A Remote Control System

SYSTEM 7000 IRIS+ USER MANUAL

Table of Contents. 1. Introduction PDU Package Function Installation Web Interface...7

4 Starts to flash when the system triggers an alarm/fault

GE Concord 4 Quick User Guide

WebEx Virtual Office Hours

RACEAIR REMOTE PAGER SYSTEM

NOTE: The home screen always displays the day and month, time, & P1 (Partition 1)

LH110 Series DVR: Frequently Asked Questions

Using your LED Plus keypad

INSTALLATION GUIDE. FCC ID NOTICE

Welcome to Bell Aliant NextGen Home Security

Alarm Security Kit - NVR

YOUR CONTROL PANEL PANEL

USER MANUAL FOR WEB INTERFACE. Contents

VoIP Audio Setup - PC Users

S100. GSM House Alarm System.

Configuring IP cameras for Alarm Recording

Alarm Monitoring Basics

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

INSTALLATION MANUAL VEHICLE SECURITY SYSTEM CE-SS200

Wireless Home Security Alarm System AM 500

INSTRUCTION MANUAL All-In-One GSM Home Alarm System SB-SP7200-GSM

The SMART Board Interactive Whiteboard

User Manual GSM Alarm System. All rights reserved by Delta Security Co., Ltd

If you need help, beyond this document please contact the ITS Support Desk at

WIRING HARNESS FOR AS635P4. BLUE PLUG RED, BLUE, BLACK, WHITE - Plug in dual stage sensor harness

User's Guide. [Home Network] app. Model No.

PA500II Enterprise Mobile Computer

Quick Installation Guide LCD GSM ALARM SYSTEM LH

Diamante WiFi Wireless Communication User Guide. Linksys E1200

TX GSM SMS Auto-dial Alarm System. Installation and User Manual

DESTINY 1/19/96 # A

* DISCLAIMER: Contents. How to Use This Guide: COMMERCIAL INSTALL GUIDE 2

Tutorial: Configuring GOOSE in MiCOM S1 Studio 1. Requirements

Mirror Mount Video Monitor/Recorder with Front and Rear View Night Cameras PLCMDVR5

Honeywell Home Automation System Home Automation Solution

PowerPoint Presentation

QuickBooks Business Accounting Software for Windows

Welcome to a whole new level of interactive home security

Leaf River Outdoor Products Vibrashine, Inc. P.O. Box 557 Taylorsville, MS (601) FAX (601)

Contents. ST9612 Model WIC Printer. Get the original printer s information. Edited 11/04/15

Running the R4 Software on a USB Port

Your Simple Guide to Battery. Replacement. Customer Care:

USER S GUIDE Humidity and Temperature USB Datalogger

Instructions for applying data validation(s) to data fields in Microsoft Excel

Thank you for choosing mysdatv box for being your gateway to faith and family programming. I pray that this programming will be a blessing for you

Monnit Wi-Fi Sensors. Quick Start Guide

Analog Command Value Card Type VT-SWKA-1

ABB solar inverters. Installation and setup instruction Aurora Manager TL software and ABB PVI-USB-RS232_485 adapter

First Bytes Programming Lab 2

Starting Guide - Poseidon 3265 First steps for remote monitoring with Poseidon & GSM

Table of Contents. Introduction. Radio Frequency Control. Initial setup Setting the time. Setting the temperature

PhoneWatch Smart Security System User Manual - Domonial

Steps for using MagicConnect

Beckhoff TwinCAT. Configuring the TwinCAT I/O System

Starting a Videoconference with a portable unit:

An Introduction to MPLAB Integrated Development Environment

Quick Installation Guide

Microsoft Word 2011: Create a Table of Contents

PK5500 v1.1 Installation Instructions

How To Use A Pkn10 (Powerline) With A Microsd Card (Powerkit) On A Powerline (Powergen) Or Powerline 2 (Powerbee) (Powerbmi) (Pk10) (Operating

GSM Gate Opener GSM Remote Switch RTU5015 User Manual

Ademco Vista-20P/First Alert FA-168C Basic Commands

1R / 4-BUTTON SERIES

Impact Call PC. call001. Impact Call User s Guide

SRP. Controller Programming System for Commercial and Residential Irrigation Controllers. Owner s Manual and Installation Instructions

Remote Access Instructions

GSM Desktop phone DPH101. User manual v1.00

Additional Guides. TETRIX Getting Started Guide NXT Brick Guide

for Windows Media Center User's Guide

Changing How the Mouse Works in Windows 7

Wireless AUTODIAL GSM SMS Home Alarm Security System 900/ 1800/ 1900Mhz(CK-GSM-9003)

To use your Brother machine in an ad hoc network, complete the steps listed below:

Central Management Software CV3-M1024

PRO PLM Installation Instructions

credit card version 6

Solution 16 plus. User Guide Security System

Quick Installation Guide

AccessLine Smart 800 User Guide

Monitoring Network DMN

RGK60 RGK50 RGAM10 RGAM20 RGAM4 Generator set control units

GSM Door Phone System

Quick Start Turning on the Tablet PC for the First Time

Parts List. Navigation

GSM Gate Opener GSM Remote Switch RTU5015. User Manual. Ver 1.3 Date Issued: All rights reserved by King Pigeon Hi-Tech. Co., Ltd.

Video Baby Monitor System. User Guide

Daker DK 1, 2, 3 kva. Manuel d installation Installation manual. Part. LE05334AC-07/13-01 GF

Transcription:

STEMSEL LCD Project 2 : Alarm System Problem How can we use microchips to protect our aluables? How can a microchip know if there is a thief and what can it do when it detects one? Background Safes are used to protect a wide ariety of aluables, but they can become ulnerable if a thief knows how to break the passcodes. Therefore, an alarm system is needed to gie an immediate notice to the owner that the safe has been broken into and the aluables are no longer safe. The alarm used in a safe can be a simple switch or more complex: heat, light and motion sensors. In this project we will be building an alarm system with a light sensor, a push-button and a LCD. The key component of the alarm system is the STEMSEL microchip to gather sensor information and decide when to actiate the alarm. The idea of a light sensor alarm is to alert users when the safe is open. The system can be built in seeral ways, for example, a push-button can be an input that controls a light sensor. When the door is open, the light sensor will detect the light from outside and alert the user through a LCD. The figure below shows a safe with a built-in pushbutton, a light sensor and a LED. Figure 1: Safe Ideas When does the push-button need to be pressed? When does the light sensor start working? When does a message need to be sent to alert the owner? Plan 1 LCD Project 2 Alarm System

For our alarm system we can use the push-button and the LDR as our inputs, which will tell the alarm to turn on. Then we use the LCD and LED to indicate that the alarm has been actiated. Then the LCD will send a message to the owner and the LED will turn on. INPUTS OUTPUTS Push-button LCD MICROCHIP LDR LED Figure 2: Inputs and Outputs Design Open the ezcircuit Designer and begin a new STEMSEL project and then add a LCD, a light sensor (LDR), a LED and a push-button on the circuit board. Note that the components, which can be found in the circuit group, should be inserted into the light green slots. The completed design should appear as shown below: Figure 3: Circuit Design 2 LCD Project 2 Alarm System

Build Now that the design is complete, attach the black wires and red wires of the LDR, LED and the push-button to the slots on the STEMSEL Controller board which hae a negatie (-) sign and a positie (+) sign respectiely and the white wires to the slot C7, C4 and B6 respectiely. Plug the LCD into the LCD port on the top of the board. Figure 4: Circuit Programming With the design and assembly completed, the design will be sent to CoreChart to program the microchip. Make sure the push-button is pushed when connecting the STEMSEL controller board to your computer when testing the circuit board and the components. 1. Start by clicking on the Inputs in the panel and select Analog_In. Insert the icon under the START MAIN by clicking on the arrow and by double clicking on the Analog_In customize the input pin to LightSensor and sae the alue as LightLeel. 2. Click on Numbers and choose Compare, double click on the new box and compare LightLeel with 2V. Remember to check the oltage box and do something if aboe. This checks whether the light leel in the safe is higher than it should be (the safe is open). 3. Click on LCD and choose LCDMessage, double click on the new box and enter Light in Safe as the message in the LCDMessage. 4. Click on Numbers and choose Time Delay, double click on the new box and enter 25 in hundredths section. 3 LCD Project 2 Alarm System

5. Select the Time Delay and, while holding the Shift key, click on the LCDMessage then choose Group. Name the group Warning and click Create New Group. 6. Add a GoTo just before the END MAIN and select START from the dropdown menu. The program is shown in Figure 5. Figure 5: Start of the Program and the Group Warning 7. During the night, the ambient light leel is much lower and may not trigger the alarm system. In order to enable the alarm system to work during the night, a push button can be used to simulate the latch of the door. Select Decision and customize it to do something if the pushbutton is off (the door is open) and place it under Warning. 8. Click on the Decision Icon and select DoorSwitch from the drop down box, make sure the selection is set to OFF. Add this below the Warning Group. 9. Next select LCD and select LCDFormat, then add it below the IF DoorSwitch OFF Decision Icon. 10. Double click the LCDFormat and select 2 nd Line No Delay. Press Ok to continue. 4 LCD Project 2 Alarm System

11. Again select LCD and this time select LCDMESSAGE. Put this below the LCDFormat. Double click the LCDMessage and write SafeDoor Is Open. 12. Next add a Time Delay under the LCD Message. Select Numbers from the panel and find Time Delay. Double click the TimeDelay and write 25 in Hundredths. 13. Select the Time Delay and, while holding the Shift key, click on the LCDMessage and LCDFormat then choose Group. Name the group DoorOpen and click Create New Group. 14. Next select the Decision and in the drop down box select DoorSwitch. Make sure you select ON. Add this below the newly created group DoorOpen 15. Select LCD and choose LCDFormat, add this below the DoorSwitch ON IF statement. Double click the LCDFormat and select Clear LCD and select No Delay. 16. Then select Numbers from the panel and select OR. Add the OR below the LCD Format. Double click the OR and select DoorSwitch OFF and Light Sensor ON. Click ok to continue. 17. Next select Outputs and select On/Off Pin. Add the On/Off Pin below the newly created IFOR0_True Decision Icon /. Double click the On/Off Pin and select RedLight and make sure you select ON. Press Ok to continue. 18. Click on the Decision icon and select A3_PushButton from the drop down menu, make sure the option is set to OFF and add this below the RedLight On/Off Pin. 19. Next add an On/Off Pin again under the A3_PushButton but this time set the On/Off Pin to off for the RedLight. 20. To remoe the message from the LCD, choose LCD and LCDFormat. Double click the new box and modify the mode to Return cursor home and No Delay. 21. Add a GOTOSTART at the end of the project. This concludes the project. 5 LCD Project 2 Alarm System

Figure 6: The complete alarm system Figure 7: The subroutines for the complete alarm system 6 LCD Project 2 Alarm System

Extension What if the thief breaks in during the night? What problems could occur here? What changes would you make to extend the system so that it will work under this situation? Summary It is important that you secure your properties from thiees when no one is around. One effectie way is to use a microchip, which can maintain continual sureillance oer the property. Therefore, a simple program like a light sensor alarm system can be ery effectie. At the end of the exercise, you should be able to: 1. Use a LCD to display information. 2. Use a light sensor to detect light. 3. Use a push-button to control the program. 7 LCD Project 2 Alarm System