S.W.A.T (Security Watching All the Time) Jeff Shin Tyler Stubbs Paul Kasemir Pavel 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 ZigBee AT86RF230 Motherboard Daughterboard ZigBee MRF24J40 Daughterboard ENC28J60 Ethernet SD Flash Daughterboard Daughterboard Sensor Board ZigBee AT86RF230 Daughterboard Motherboard Sensor Daughterboard Control System Diagram ENC28J60 Ethernet RJ-45 Connector 2 GPIO 3 SPI Program Header 1 RESET Temperature 4 Program Pins 1 Analog 7 Outputs External IO header ATMEGA128 Power 3.7 - 6.0 Volt Unreg 3.3 Volt Reg 3 SPI 8 LEDs 2 I2C 18 External IO 2 UART 4 Program Pins 1 RESET 1 External Int 12 GPIO 1 Temperature RS232 Level Shifter 1 Inputs 1 Outputs ZigBee MRF24J40 ZigBee AT86RF230 3 GPIO 4 GPIO 3 SPI 3 SPI 1 RESET 1 RESET 3 Outputs 3 Outputs 6 IO Flash/EEPROM 3 SPI 3 GPIO PCB Antenna 2 I2C LEDs 8 LEDs PCB Antenna DB9 Connector 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 Board 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 PIR325 Magnetic Sensor 1 Digital 1 Analog Glass break 1 Digital Temperature 1 Analog ATMEGA8 Power 3.7 - 6.0 Volt Unreg 3 SPI 8 LEDs 3.3 Volt Reg 1 RESET 3 External IO 9 GPIO 4 Program Pins 1 External Int 1 Temperature External IO header Program Header 4 Program Pins ZigBee AT86RF230 4 GPIO 3 SPI 1 RESET ZigBee MRF24J40 3 GPIO 3 SPI 1 RESET 3 Outputs 3 Outputs 6 IO PCB Antenna PCB Antenna LEDs 8 LEDs 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 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/Ethernet 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 Select Parts Schematic Design Analog Digital Soldering Design IR Sensor Testing Device Interface Device Test and use as trip sensor Design Alarm Circuit/Device Find/Buy Part Use and Test Part Program and talk to visual station Program Imbedded Drivers Program PC Visual Interface Order more parts and sensors Build and test Alarm Program and test wireless communication Program and test Ethernet module Program and test control/sensor boards Program interrupts and sensor inputs Take Data readings Interface sensors and control board Get something working for Milestone 1 Rev 2 PCB Designs Digital Analog Order Rev 2 of PCB Program remote login and emails Test and Finalize the design Cops Robbers Complete Users Manual Technical Reference Manual Display Board Hard Copy/CD-R Extras Design and build control nodes Build a Camera node Paul/Pavel Jeff/Tyler All 12 15 18 19 22 25 26 29 Milestone 1 1 2 5 8 9 November 12 15 16 19 Milestone 2 22 23 26 29 30 December 3 6 7 10 Capstone Expo 13 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 $85 Sampled Sampled Sampled Sampled $24 $5 $90 $200 $60 $25 $35 $15 $10 $450 $850 Project Modifications 1. 2. Main types of sensing are daughter boards rather than all on one motherboard *Easier to break down piece by piece *Easier to debug We have purchased power supplies rather than building them *For convenience *Time constraints *New allowance in budget Project Modifications 3. 4. Ethernet is on a separate daughter board *Allows for easier debugging and block break down Looking into two different types of Zigbee wireless chips *Allows us to test to see which interfaces better Questions?? Security Watching All the Time