Post on 15-Aug-2021
home automation system
Javier CastroJames 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
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
6.111 :: 11/19/04 4
3-layer system architecture
control
sensors/inputs
actuators
temp lightlevel clock
remotecontrol
commands
special-purpose
processorstatus
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
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
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
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)
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
6.111 :: 11/19/04 10
truth engine architecture
6.111 :: 11/19/04 11
Actuator Layer
• Outputs– Heating Unit– Lights– Extension: IR Transmission (e.g., TV, Stereo)
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?