Difference between revisions of "F15: Laser Security System"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Hardware Design)
(Hardware Design)
Line 246: Line 246:
  
  
[[File:CMPE146_F15_LaserSecuritySystem_BluetoothModule.jpg|500px|thumb|centre|Figure 2. Bluetooth Module]]
+
[[File:CMPE146_F15_LaserSecuritySystem_BluetoothModule.jpg|400px|thumb|centre|Figure 2. Bluetooth Module]]
  
  
[[File:CMPE146_F15_LaserSecuritySystem_CellularAntenna.jpg|500px|thumb|centre|Figure 3. Cellular Antenna]]
+
[[File:CMPE146_F15_LaserSecuritySystem_CellularAntenna.jpg|400px|thumb|centre|Figure 3. Cellular Antenna]]
  
  
[[File:CMPE146_F15_LaserSecuritySystem_CellularShield.jpg|500px|thumb|centre|Figure 4. Cellular Shield]]
+
[[File:CMPE146_F15_LaserSecuritySystem_CellularShield.jpg|400px|thumb|centre|Figure 4. Cellular Shield]]
  
  
[[File:CMPE146_F15_LaserSecuritySystem_ArduinoUno.jpg|500px|thumb|centre|Figure 5. Arduino Uno R3]]
+
[[File:CMPE146_F15_LaserSecuritySystem_ArduinoUno.jpg|400px|thumb|centre|Figure 5. Arduino Uno R3]]
  
 
=== Hardware Interface ===
 
=== Hardware Interface ===

Revision as of 05:52, 17 December 2015

Laser Security System

Abstract

The Laser Security System allows to maintain security in a room by shining a laser across a door's entrance and alerting via bluetooth communication by sending a text message to a smart phone that security has been compromised.

Objectives & Introduction

This security system will be using GPIO pins from the SJSUOne Board to connect to the RN42-XV Bluetooth Module using serial communication and another pin to the Arduino. The two bluetooth modules each connected to a SJSUOne Board will communicate with each other sending a message via text message using the Arduino module alerting that security has been compromised.

Objectives for this project:

  • Research and design the schematics to connect a light detection circuit to one of the SJSUOne Board and showing the output by lighting an LED
  • Research bluetooth communication and implement it to the light detection circuit
  • Complete hardware design
  • Test functionality of the system
  • Able to send and receive text messages to smart phone via bluetooth
  • Detect and connect to other bluetooth devices

Team Members & Responsibilities

Emmanuel Gonzalez: Software Implementation and Report Writer

Irlanda Altamirano: Hardware Implementation and Report Writer

Schedule

Week# Date Planned Task Actual
1 10/12-10/18

• Project Approval

• Project Research

• Purchase all required parts

• Project Research

2 10/19-10/25

• Build Schematics

• Order all parts

• Test individual components

• Schematics for the overall system is done

• Order all parts

3 10/26-11/1

• Begin hardware design interfacing a laser, photo-resistor and SJ One Board

• Test the hardware design

• Hardware design implementation started

4 11/2-11/8

• Trouble shoot hardware design with

• Test the hardware as a whole

• Hardware design implementation interfacing a laser, photo-resistor and SJ One Board completed

5 11/9-11/15

• Research about Bluetooth communication

• Build Bluetooth circuit

• Test the hardware design

• Starting software interfacing previous hardware implementation

• Read data sheet for Bluetooth communication

6 11/16-11/22

• Interface Bluetooth communication with SJ One Board

• Test the complete hardware interface

• Order another board for Bluetooth communication

• Research more about Bluetooth communication

7 11/23-11/29

• Test Bluetooth communication with SJ One Board

• Hardware design implementation interfacing a laser, photo-resistor, bluetooth communication and SJ One Board started

8 11/30-12/6

• Complete the software interfaces for laser, SJ One Board and Bluetooth communication

• Implement text message feature with Bluetooth communication

• Debugging bluetooth communication interface

9 12/7-12/13

• Finish Debugging text message communication feature

• Start writing project report

• Test system design

• Started implementing SMS feature with bluetooth communication

• Continued the project report

10 12/14-12/16

• Complete system testing

• Finish project report

• Debugging SMS/ bluetooth communication

• Completed system testing

• Created video for presentation

• Finish project report

11 12/17

• Demo Project on Thursday, December 17, 2015

• Demo Project completed

Parts List & Cost

Quantity Item Cost
2 SJ One Board $80.00
1 Quad-band Cellular Duck Antenna SMA $7.95
2 RN42-XV Bluetooth Module - PCB Antenna $24.95
1 Mini Photocell $1.50
1 SparkFun Cellular Shield - MG2639 $69.95
1 Arduino Uno R3 $24.95
1 LED $0.10
1 Resistors 8.2K, 2.7K and 1K ohms $0.20

Design & Implementation

The design section can go over your hardware and software design. Organize this section using sub-sections that go over your design and implementation.

Hardware Design

Discuss your hardware design here. Show detailed schematics, and the interface here.

Figure 1. SJSU One Board


Figure 2. Bluetooth Module


Figure 3. Cellular Antenna


Figure 4. Cellular Shield


Figure 5. Arduino Uno R3

Hardware Interface

In this section, you can describe how your hardware communicates, such as which BUSes used. You can discuss your driver implementation here, such that the Software Design section is isolated to talk about high level workings rather than inner working of your project.

Software Design

Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.

Implementation

This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.

Testing & Technical Challenges

Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.

Include sub-sections that list out a problem and solution, such as:

My Issue #1

Discuss the issue and resolution.

Conclusion

Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?

Project Video

Upload a video of your project and post the link here.

Project Source Code