javier castro image: rosemont engineering james...

12
home automation system Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

Upload: others

Post on 14-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

home automation system

Javier CastroJames Psota

6.111 Final Project

image: Rosemont Engineering

Page 2: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 2

vision: 21st century homeIntelligent Environment

• lighting

• audio/video

• home theater

• climate control

• security

• scheduled events

Fully Programmable

Page 3: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 3

project goalsDesign

• Flexible– generally

programmable• Extensible

– adding additional features easy

• Modular– no need to redesign

control when new sensor is added

Function• control via IR remote• climate & lighting

automation• schedule-based

events

Page 4: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 4

3-layer system architecture

control

sensors/inputs

actuators

temp lightlevel clock

remotecontrol

commands

special-purpose

processorstatus

Page 5: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 5

Sensor Input Layer:Climate Interpreter

A/D

1

interpreter/formatter

8

Control

Thermistor

6

•measures ambient temperature in room and reports it to control unit

•lighting sensor is analogous

Page 6: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 6

Sensor Input Layer: IR Remote Control

• Data Transmission

• Phillips RC-5 Encoding

Transmitter

Receiver

chk

1 1 1 1 1 10 0 0 0 0 0 0 0

start address command

Page 7: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 7

Sensor Input Layer: IR Remote Control

Data_en

12

Register Data

IR Receiver

Syn

chro

nize

r

FSM

Timer

Registers

2 Start, ResetRead

Reg_enS

igna

l

Sig

nal_

sync

12

IR Decoder Module Block Diagram

Page 8: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 8

control unit• purpose: apply condition to inputs if

condition is true, perform program-specified action by asserting/deassertingactuators

• special-purpose processor runs user-specified program

FSM(executes program)

Page 9: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 9

instruction format• format

op v1 v2 signal output_value next_pc

< s-0x12 i-68 0x31 0x1 0x0088

• example– turn on heat (signal 0x31) when temp (signal

0x12) is less than 68 degrees

Page 10: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 10

truth engine architecture

Page 11: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 11

Actuator Layer

• Outputs– Heating Unit– Lights– Extension: IR Transmission (e.g., TV, Stereo)

Page 12: Javier Castro image: Rosemont Engineering James Psotaweb.mit.edu/6.111/www/f2004/projects/cp_presentation.pdf · Javier Castro James Psota 6.111 Final Project image: Rosemont Engineering

6.111 :: 11/19/04 12

Neat Things

• Play with IR• Build and experiment with a processor• Implement something we can use in the

real world

Questions?