Homecontrol Cdr

download Homecontrol Cdr

of 26

Transcript of Homecontrol Cdr

  • 7/31/2019 Homecontrol Cdr

    1/26

    Zach Molden

    Shamlan Al-Roomi

    NJ Purevsuren

    Raied Farash

    Aadiel Rizvi

    Critical Design Review

  • 7/31/2019 Homecontrol Cdr

    2/26

    AgendaSystem Overview

    Detailed Design Specifications

    Software Processes

    Testing Processes

    Parts List

    Updated Division of Labor

    Updated Schedule

  • 7/31/2019 Homecontrol Cdr

    3/26

    System Overview -- Block DiagramFlash Web

    Application

    NetburnerEmbeddedEthernetModule

    MotherZigbeeModule

    ChildZigbeeModule

    MicrocontrollerRelays

    TCP/IP

    RF2.4 GHz

    UART

    ContactSensors/ Flood

    Sensors

    UART

    Temp. Sensor

    I2C

    ElectricalDevices/ DC

    Motors

  • 7/31/2019 Homecontrol Cdr

    4/26

    User Input

    MotherZigbee

    Module

    Microcontroller

    ChildZigbeeModule

    Microcontroller

    ChildZigbeeModule

    System Overview

  • 7/31/2019 Homecontrol Cdr

    5/26

    Mother PCB

    MotherZigbee

    Module

    Power supplies

    RS232

    Detailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    6/26

    Mother PCB SchematicDetailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    7/26

    Mother PCB SchematicDetailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    8/26

    ChildZigbeeModule

    Microcontroller

    SSR

    Power supplies

    Child PCB

    JTAG

    Detailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    9/26

    Child PCB Schematic Detailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    10/26

    Netburner MOD5270 10/100 BaseT with RJ-45 connector

    3 UARTS

    I2C 47 Digital I/O

    512K Flash memory with boot and application sectors

    2 MB SDRAM

    DC Input Voltage: 3.3V @ 500 mA

    Detailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    11/26

    TMP101 Thermocouple Digital output: I2C serial 2-wire

    Resolution: 9 12 bits

    Low quiescent current: 45A, 0.1AWide supply range: 2.7V to 5.5V

    Tiny SOT23-6 package

    Detailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    12/26

    TMP101 ThermocoupleTiming Diagram (Write)

    Detailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    13/26

    TMP101 ThermocoupleTiming Diagram (Read)

    Detailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    14/26

    XBee RF Modules ISM 2.4 GHz operating frequency

    Indoor: up to 30 m.

    Outdoor: up to 90 m. point-to-multipoint, Broadcast mode.

    Retries and Acknowledgements

    TX Peak Current: 45 mA (@3.3 V).

    RX Current: 50 mA (@3.3 V).

    Power-down Current: < 10 A.

    D il d D i S ifi i

  • 7/31/2019 Homecontrol Cdr

    15/26

    XBee UART Data Flow

    Detailed Design Specifications

  • 7/31/2019 Homecontrol Cdr

    16/26

    Olimex MSP430P169 MSP430F169 . Low Supply: 1.8 V 3.6V Active: 330 A at 1 MHz, 2.2 V

    Standby Mode: 1.1 A

    60K Bytes Program Flash. 256 Bytes data Flash. 2K Bytes RAM.

    64LQFP. 2 UARTs. 1 I2C. GPIO.

  • 7/31/2019 Homecontrol Cdr

    17/26

    MCU UART

  • 7/31/2019 Homecontrol Cdr

    18/26

    Software processes

    Flex BuilderMXMLActionScriptTCP/IP Socket

    Connection

    Flash Web Application

    Eclipse IDEC++

    UART

    TCP/IP

    Netburner

    X-CTUSetup

    Mother XBee

    X-CTUSetup

    Child XBee

    TI Code ComposerC

    UARTGPIOI2C

    MSP430F169

  • 7/31/2019 Homecontrol Cdr

    19/26

    Testing Processes Netburner

    TCP/IP connection with Flash web application

  • 7/31/2019 Homecontrol Cdr

    20/26

    Testing Processes Netburner

    UART output to terminal window/UART input fromCOM port

  • 7/31/2019 Homecontrol Cdr

    21/26

    Testing ProcessesXbees:

    Monitoring send/receive signals between NetBurner andComputer.

    Monitoring send/receive signals between MCU andComputer.

  • 7/31/2019 Homecontrol Cdr

    22/26

    Testing Processes Microcontroller

    Receiving command from the NetBurner (Turn the LightBulb ON or OFF).

    Return successful completion.

    Detecting inputs to the MCU.

  • 7/31/2019 Homecontrol Cdr

    23/26

    Parts List Already purchased:

    Netburner core ethernet module Xbee standard Zigbee modules MSP430F169 microcontrollers

    TMP101 thermocouple AC/DC converter

    Need to be purchased: Comparators/ buffers/ transistors Resistors/inductors/capacitors

    Contact/ Flood sensor Fuse Regulator Miscellaneous connectors/ parts

  • 7/31/2019 Homecontrol Cdr

    24/26

    Updated Division of LaborAadil Shamlan Raeid NJ Zach

    Flash Web Application x

    Data Flow Path Integration x x x x

    PCBs x x x

    Power Supplies x

    Contact Sensors/DC motors x x

    Elecrical Devices/ Connections x x

    Hardwear Setup x x x x x

    Documentation x x x x x

  • 7/31/2019 Homecontrol Cdr

    25/26

    Updated ScheduleMilestone I

    Flash web application TCP/IP connection with Netburner

    ethernet moduleUART connection between Netburner ethernet module andmother Zigbee moduleUART connection between child zigbee module andmicrocontroller.Temperature sensor interfaced with I2C bus on theNetburner ethernet module.

  • 7/31/2019 Homecontrol Cdr

    26/26

    Updated Schedule Milestone II

    Entire data flow path is integrated

    All hardware on PCBs (i.e. no development boards)

    Correct integration of sensors and web display

    Final Design Expo

    Integration of all hardware components in a model house

    Proper installation of sensors in the model house

    Secure login for website and full control over the devices inthe house