340 likes | 624 Views
Home Automation. Group 16 Tarek Kaddoura Jigar Nahar. Introduction. What is Home Automation? Centralized control of different appliances and devices Motivation Provides convenience and comfort. Functionality.
E N D
Home Automation Group 16 Tarek Kaddoura Jigar Nahar
Introduction • What is Home Automation? • Centralized control of different appliances and devices • Motivation • Provides convenience and comfort
Functionality • The Home Automation system allows the control of appliances from any web-browser enabled device. • Uses the X10 home automation products to control different appliances. • Consists of a X10 Transceiver base, and X10 appliance modules for each appliance.
X10 USB RF Transceiver User DE2 Microcontroller Board Website Design Block Diagram of Components Appliance X10 Base Wireless Appliance USB
DesignHardware Diagram What hardware components are used? DM9000A: Ethernet controller to connect to the network. USB: Used to interface with the X10 USB RF Transceiver SDRAM: Memory for the system Flash: Non-volatile memory to store the web site files
Design Challenges • Web Server • Previous application notes available • Executing dynamic code • X10 USB RF Transceiver • Biggest challenge so far • Drivers are not publicly available for uC/OS II • USB communication wasn’t attempted before (no application notes)
Code Example • Pseudocode: How to talk to the X10 appliances through the USB? • Commands will be sent as strings to X10 USB Transceiver // Turn on Appliance A1 Write_to_x10(“+A1”); // Turn off Appliance A2 Write_to_x10(“-A2”); // Brighten Lamp J1 Write_to_x10(“bJ1”); // Dim Lamp J2 Write_to_x10(“sJ2”);
Test Plan • Web Server • Serve a simple web page to test GET requests • Turn on leds in response to a POST request • Retrieve the status of leds through dynamic code • X10 USB RF Transceiver Driver • Turn on a single appliance through the driver
Optional Features • Visual alarm clock that switches an appliance on at certain times • Thermostat control • SDCARD support for a bigger website