s.w.a.t (security watching all the time) jeff shin tyler stubbs paul kasemir pavel mayyak
Post on 19-Dec-2015
217 views
TRANSCRIPT
S.W.A.T(Security Watching All the Time)
Jeff ShinTyler StubbsPaul KasemirPavel Mayyak
Overview Project Objectives and Purpose Approach Sub-systems Division of Labor Schedule Budget Project Modifications
Project Statement Home Security and Safety Detection of intruders Intruder prevention by alarms and
lights Recording of home activity Generate reports (logs) Allow remote access
System Diagram
Modularity and Daughterboards
Ethernet: Allows remote access to system
Zigbee Wireless: Allows wireless communication with the sensors
SD Card: Stores sensor data
Control Board
MotherboardMotherboardZigBee AT86RF230
DaughterboardDaughterboard
ZigBee MRF24J40
DaughterboardDaughterboard
SD Flash
DaughterboardDaughterboard
ENC28J60 Ethernet
DaughterboardDaughterboard
Sensor Board
MotherboardMotherboardZigBee AT86RF230
DaughterboardDaughterboard
Sensor
DaughterboardDaughterboard
Control System Diagram
ATMEGA128
3 SPI
1 RESET
2 I2C
2 UART
12 GPIO
8 LEDs
18 External IO
4 Program Pins
1 External Int
1 Temperature
3 SPI
1 RESET
2 I2C
2 UART
12 GPIO
8 LEDs
18 External IO
4 Program Pins
1 External Int
1 Temperature
ZigBee AT86RF230
4 GPIO
3 SPI
3 Outputs
1 RESET
4 GPIO
3 SPI
3 Outputs
1 RESET
ZigBee MRF24J40
3 GPIO
3 SPI
1 RESET
3 Outputs
6 IO
3 GPIO
3 SPI
1 RESET
3 Outputs
6 IO
ENC28J60 Ethernet
2 GPIO
3 SPI
1 RESET
7 Outputs
2 GPIO
3 SPI
1 RESET
7 Outputs
Power
3.3 Volt Reg
3.7 - 6.0 Volt Unreg
3.3 Volt Reg
3.7 - 6.0 Volt Unreg
PCB Antenna PCB Antenna
RJ -45 Connector
RS232 Level Shifter
1 Inputs
1 Outputs
1 Inputs
1 Outputs
DB9 Connector
Flash/ EEPROM
2 I2C
3 SPI
3 GPIO
2 I2C
3 SPI
3 GPIO
External IO header
LEDs
8 LEDs8 LEDs
Program Header
4 Program Pins4 Program PinsTemperature
1 Analog1 Analog
Control System Motherboard
Flash/EEPROM: Memory to store the data from sensors. (1 Meg each)
LEDs: 8 LEDs, used primarily for debugging purposes
RS232 Shifter: Interfaces to the serial port on the Visual Station
DB9 Connector: Serial cable to the Visual Station
Power: One 6 Volt DC source powering board Program Header: Allows STK500 to program
the microcontroller External IO Header: Controls alarm triggering
Control System Schematic
Control Control BoardBoard
Control System Main control processor: ATMega128 RF link:
AT86RF230 MRF24J40
Internet: ENC28J60 Data Storage: SD cards Alarm Trigger: Standard IO Serial link: MAX3232 Programming: C/C++ using Eclipse
Sensor System Diagram
ZigBee AT86RF230
4 GPIO
3 SPI
3 Outputs
1 RESET
4 GPIO
3 SPI
3 Outputs
1 RESET
ZigBee MRF24J40
3 GPIO
3 SPI
1 RESET
3 Outputs
6 IO
3 GPIO
3 SPI
1 RESET
3 Outputs
6 IO
Power
3.3 Volt Reg
3.7 - 6.0 Volt Unreg
3.3 Volt Reg
3.7 - 6.0 Volt Unreg
PCB Antenna PCB Antenna
External IO header
LEDs
8 LEDs8 LEDs
PIR325
1 Analog1 Analog
Magnetic Sensor
1 Digital1 Digital
Glass break
1 Digital1 Digital
Temperature
1 Analog1 Analog
ATMEGA8
3 SPI
1 RESET
8 LEDs
4 Program Pins
3 External IO
9 GPIO
1 Temperature1 External Int
3 SPI
1 RESET
8 LEDs
4 Program Pins
3 External IO
9 GPIO
1 Temperature1 External IntProgram Header
4 Program Pins4 Program Pins
Sensor Motherboard LEDs: 8 LEDs, used primarily for
debugging purposes Power: One 6 Volt DC source
powering board Program Header: Allows STK500 to
program the microcontroller External IO Header:Triggers alarm
Sensor Daughterboards Zigbee Wireless: Allows wireless
communication with the sensors PIR325: Infared motion sensor AH180: Magnetic sensor for Doors Glass Break Sensor: Tests integrity of
Glass MAX6607: Temperature sensor
Sensor Schematic
Sensor BoardSensor Board
Sensors Simple control processor: ATMega88/168 RF link: ZigBee Wireless
AT86RF230 MRF24J40
Magnetic sensors: AH180 Glass Integrity: TBD Temperature: MAX6607 Infrared Sensor: PIR325
Wireless/Wireless/EthernetEthernet
Visual Station Contained within a laptop Continuously updating sensor
values Graphically displays information Monitor and control system
settings
Alarms Lights Noise (siren) Email
Power Sources All parts of the system will be
powered by AC All digital components and chips
will run at 3.3V Parts requiring ramped up voltage
will utilize boost converter
Programming Environment
Eclipse C or C++ WinAVR
Programmer STK500 AVR Studio 4
Division of Labor Programming: Pavel and Paul PCB Designs: Paul Analog Circuitry: Jeff and Tyler Sensor Construction and
Implementation: Jeff and Tyler Documentation and Testing: All
Gantt Chart
Task Name 12 15 18 19 22 25 26 29 1 2 5 8 9 12 15 16 19 22 23 26 29 30 3 6 7 10 13
Select PartsSchematic Design Analog DigitalSolderingDesign IR Sensor Testing Device Interface Device Test and use as trip sensorDesign Alarm Circuit/Device Find/Buy Part Use and Test PartProgram and talk to visual station Program Imbedded Drivers Program PC Visual InterfaceOrder more parts and sensorsBuild and test AlarmProgram and test wireless communicationProgram and test Ethernet moduleProgram and test control/sensor boards Program interrupts and sensor inputs Take Data readingsInterface sensors and control boardGet something working for Milestone 1
Rev 2 PCB Designs Digital AnalogOrder Rev 2 of PCBProgram remote login and emails
Test and Finalize the design Cops RobbersComplete Users ManualTechnical Reference ManualDisplay BoardHard Copy/CD-R
ExtrasDesign and build control nodesBuild a Camera node
Paul/PavelJeff/TylerAll
November December
Capstone ExpoMilestone 1 Milestone 2
Milestone Objectives Milestone 1
Have control and sensor boards soldered
Have basic code executing Have communication to the PC on
serial Hope to have wireless link established Get the self built IR sensor working
Milestone Objectives Milestone 2
Have all hardware tested and working Have a visual station program
running Have communications for wireless
and serial seamlessly working Have remote login capability
Budget STK 500 Programmer ATMega128 ATMega 8 ZigBee Chips Temperature Sensor IR Sensor Components Magnetic Sensor Broken Glass Sensor PCB Passives (Capacitors, Resistors, Inductors) Connectors/Jacks Power Supplies Alarm Lights Alarm Siren Buffer Budget
TOTAL
$85SampledSampledSampledSampled
$24$5
$90$200
$60$25$35$15$10
$450
$850
Project Modifications1. Main types of sensing are daughter
boards rather than all on one motherboard*Easier to break down piece by piece*Easier to debug
2. We have purchased power supplies rather than building them*For convenience*Time constraints*New allowance in budget
3. Ethernet is on a separate daughter board*Allows for easier debugging and block break down
4. Looking into two different types of Zigbee wireless chips*Allows us to test to see which interfaces better
Project Modifications
Questions??Questions??
Security Watching All the Time