(1.39 mb powerpoint)
TRANSCRIPT
1
iHome Automation System
Home Automation SystemTeam: Million Dollar Contingency Regiment
Adam DoehlingChris ManningRyan Patterson
iHome Security & Automation System 2
Updated Overview:• The goal of this project is to develop a home
automation system that gives the user complete control over all remotely controllable aspects of his or her home.
• The automation system will have the ability to be controlled from a central host PC, the Internet, and also remotely accessed via a Pocket PC with a Windows Mobile based application.
• We do not have any ‘tangible’ test results to present in this presentation, but we will demonstrate some software we have developed.
iHome Security & Automation System 3
iHome Automation Overall Flowchart (Review)
iHome Security & Automation System 4
Hardware Description-Base Station
Base Station
L1 Nodes
USB
Base Station Block
Diagram
RS-485 Wireless
iHome Control Center
iHome Security & Automation System 5
Base
• Attaches to PC, interfaces between software and hardware.
iHome Security & Automation System 6
Hardware Description-Level 1 Nodes
• Controls L0 nodes, replaces light switch, has simple user interface.
MCU
TI MSP430F149
Touch Sensors
RS-485 Transceiver
1 Mb Flash
LCD Display
8-bit Parallel BusSPI Bus
DigitalPotentiometer
RS
-485 Bus
Quadrature Encoders
PW
M
Level 1 Node
L1 Node
iHome Security & Automation System 7
L1 MCU
iHome Security & Automation System 8
L1 comm
iHome Security & Automation System 9
L1 sensor
iHome Security & Automation System 10
L1 touch
iHome Security & Automation System 11
USB programmer
iHome Security & Automation System 12
Hardware Description-Level 0 Nodes
• Basic ‘cells,’ controlled by level 1 nodes. Mainly On/Off/Sensor functionality. Since L0 nodes are so varying in what kinds of functions they carry out, it is impossible to block diagram every variety, since they all contain different hardware. Generically, however, they look like this:
Sensor/Switch
Level 1 Node
Level 0 Node
Level 0 Block Diagram See next slide for comprehensive
list of interface connections
iHome Security & Automation System 13
L1 Device Interface
• Eight TTL Output Ports (5V)
• Four TTL Input Ports (5V)
• Three Analog Input Ports (3.3V)
• Four PWM Output Port (5V, resolution of 33,300)
• 127 Channel I2C Port (3.6V)
• Two SPI Ports (3.6V, 1mbps)
• One digital quadrature encoder input (5V)
All L0 Nodes connect to the system via L1 nodes using the following L1 ports:
iHome Security & Automation System 14
Hardware Description-Level 2 Nodes
• Controls audio communications, no user interface
MCU
Atmel AT91SAM7S256 (ARM7TDMI Core)
RJ45 Connector
MP3/WAV Encoder/Decoder
VLSI1003
512kbyte SRAM Buffer
CY62148BLL
Ethernet
Realtek 8019AS
RCA/Stereo Mini Connector (30 Ω) Stereo Mini Connector2x22W Speaker Output (4Ω)
8-bit Parallel Addressed Bus
8-bit parallel bus with latched/ translated address bus
SPI
Line InStereo Output
L2 Block Diagram
iHome Security & Automation System 15
L2 mcu
iHome Security & Automation System 16
L2 ether
iHome Security & Automation System 17
L2 audio
iHome Security & Automation System 18
L2 power
iHome Security & Automation System 19
Hardware Description-Level 3 Nodes
• Level 3 node portion of the project has been cancelled due to unexpected budget cuts.
• Level 3 nodes were intended for streaming video between the central server, TVs, and video cameras. This would require expensive hardware that is now not able to be purchased or developed.
iHome Security & Automation System 20
Software Overview Recall:• There are three main software applications in this
project: The iHome Control Center, the Remote Control Center, and the Webserver
Remote Control Center
iHome Control Center
Webserver
iHome Security & Automation System 21
Software: iHome Control Center Block Diagram
iHome
Control
Center
User Input (via GUI):
Command
Map
New Node
Timed Event
Low Level Node ‘Pairing’
Output(Webserver DLL):
Command for L2 Node (direct user call or Timed system call)
Low Level Node ‘Pairing’ firmware adjustment
Low Level Node Command
Web Server
BasestationInformation Request
(From Web Server)
iHome Security & Automation System 22
Software: Web Server Block Diagram
Web Server
Input(from iHome CC)
Command
Node addition or pairing
Output(via Windows Messaging):
Information Request
Information (nodes, rooms)
Command Confirmation
iHome
Control
Center
(from remote CC)
Command
Info request
(from web user)
Command
Timed Command
Command Confirmation
(via TCP/IP Wireless comm)
Remote
Control
Center
Command Confirmation
(via http comm)
Web User
iHome Security & Automation System 23
Software: Remote Control Center Block Diagram
Remote
Control
Center
User Input (via GUI):
Command
Information Request
Output(via TCP/IP wireless comm.):
Command
Information Request
(node, state, rooms)
Confirmation of Instruction
Web Server
GUI
iHome Security & Automation System 24
Or, Generally:
Web Server
Remote
Control
Center
Web User
iHome
Control
Center
Nodes
iHome Security & Automation System 25
Progress made this semester: -What has been done?
• Hardware − Design of L0 device for dimming incandescent
light bulbs− Partial Design for wireless USB base station− USB L0 device programmer completed
• Firmware/Software− Ability to do firmware upgrades of L1 Nodes
remotely implemented− GUI of iHome Control Center− Webserver interface with iHome control center− User interface for webserver− GUI for Pocket PC application
• Miscellaneous: − Construction of roomish structure started
iHome Security & Automation System 26
Updated Objectives for This Semester
-What needs to be done?
• Hardware − Design a wired & wireless USB Base Station− L0 nodes for physical control of systems− Completion of construction of higher-order
nodes
• Firmware/Software− Completion of GUI and code for both the central
server (iHome Control Center) and the remote user (Pocket PC) interface
− Completion of firmware for the L1 – L2 nodes− Completion of all firmware for the Base Station− Webserver for both remote access and L2 node
communication
iHome Security & Automation System 27
Updated Division of Labor-Who is doing what?
• Adam- completion of web server, and L0 node completion, and completion of L2 node design / programming.
• Chris- user interface for Pocket PC, completion of various peripheral hardware.
• Ryan- completion of the iHome Control Center, and completion of L0 nodes, L1 nodes, and USB Base Station.
iHome Security & Automation System 28
Updated Schedule-When will everything be
done?
• Milestone 1- − Schematics for Base station, wireless
adapters for L1 nodes, and light dimmer L0 node completed; PCB layout underway.
− Remote firmware update ability implemented.
− Communications handler for iHome Control Center completed
− Remote Control Center basically functional − TCP/IP communications for L2 nodes
completed− Framing of roomish structure completed
iHome Security & Automation System 29
Updated Schedule-When will everything be
done?
• Milestone 2-−All circuit boards assembled and tested−Device pairing finished and scheduler
underway for iHome Control Center−Roomish structure sheetrocked,
mudded, and texturized−Remote Control Center completed − L2 Nodes completed− L1 Nodes installed in roomish structure
iHome Security & Automation System 30
Updated Schedule-When will everything be
done?
• Expo- −Webserver finished− L1 Nodes successfully controlling
lights and outlets−Roomish structure painted−Users Manual completed−All software completed−Adam, Ryan and Chris’ software
communicating seamlessly with one another
iHome Security & Automation System 31
iHome Security & Automation System 32