Upload
justina-phelps
View
214
Download
0
Tags:
Embed Size (px)
Citation preview
MICROCLIMATE CONTROL SYSTEMIsm AlfreaqRyan HoffmeierEric-Todd Anderson Kevin WrayRuwaybih AlsulamiMohammed Alattas
PROJECT OVERVIEW
Develop a climate control system for easy maintenance of multiple terrariums/aquariums
Easy to use user interface with possible extensions to the internet
Monitor various aspects of the environments with sensors
Control environments autonomously Presentation of current system status on LCD
screens Possible extension to larger environment
Room in house, indoor stadium, bio-dome
Moh
amm
ed A
latt
as
OBJECTIVES
Monitor and control environmental variables Temperature (heaters/fans) Humidity (mister) Lighting (lamps) CO2 (CO2 tanks)
Multiple sensor boards to monitor individual environments
Display current status on LCDs Easy to use user interface via local computer Interchangeability of peripheral devices
Moh
amm
ed A
latt
as
Microclimate Control SystemClimate Variables
Climate Control
User Interface
Module Microclimate Control System
Inputs -Climate Variables: input from sensors-Power: 120 VAC rms, 60Hz-User Interface: desired climate variables
Outputs -Peripheral Devices: adjust climate variables-User Interface: display climate variable values
Functionality Read in climate variables from sensors, display values on user interface, control peripheral devices so that the environment's variables match user input
Power
LEVEL 0
Moh
amm
ed A
latt
as
LEVEL 1
Sensor Boards
Power Supply
Central Control Unit
Peripheral Devices
User Interface
ClimateVariables
ClimateControl
Power
Climate Values
Desired Values
Per
iphe
ral
Con
trol
6VD
C,
1A
120VAC
12VDC, 1A R
yan
Hof
fmei
er
LEVEL 1.1Module Sensor Boards
Inputs -Climate Variables: input from sensors-Power: 6VDC, 1A wall wart-Desired climate values from CCU
Outputs -Climate values: CO2, ambient light, temperature, humidity-Peripheral control: ON/OFF signal for each peripheral device
Functionality Sensor board collects information from environment, turns ON/OFF peripherals to meet user’s desired environmental conditions, and sends current climate status to CCU.
Module Peripheral Devices
Inputs -Power: 120VAC with relays controlled by sensor board
Outputs -Climate controlled by use of heater, fans, lights, humidifier, CO2 tank
Functionality Adjusts environmental variables
LEVEL 1.2
Rya
n H
offm
eier
LEVEL 1.3Module Central Control Unit
Inputs -Climate Values: current conditions measured and sent by sensor board-User Interface: user inputs desired environmental conditions-Power: 12VDC, 1A wall wart
Outputs -User Interface: displays current climate conditions-Desired Values: outputs user input to sensor board
Functionality Monitor and control multiple sensor boards from one location
Module Power Supply
Inputs -Power: 120VAC-Peripheral Control: ON/OFF signal for each peripheral
Outputs -6VDC, 1A: sensor board-12VDC, 1A: central control unit-120VAC: peripheral devices based on control signal from sensor board
Functionality Power sensor board and central control unit. Relays control signal from sensor board to peripheral devices.
LEVEL 1.4
Rya
n H
offm
eier
LEVEL 2.1: SENSOR BOARDS
Sensors
6VDC, 1A5V
Regulator
3.3V Regulato
r
ATMega328
DesiredValues
LCD
CO2Ligh
tTemp/Humid
Wi-Fly
ClimateVariables
Climate Values Peripheral Control
RS232
I/O
Digital/Analog I/O
Ruw
aybi
h A
lsul
ami
LEVEL 2.2: PERIPHERAL DEVICES
Fans
Heater Heat
Cooling/AirCirculation
Lights Light
Humidifier
Humidity
Solenoid Valve
CO2 Level
ClimateControl
120VAC(Relay Controlled)
Ruw
aybi
h A
lsul
ami
LEVEL 2.3: CENTRAL CONTROL UNIT
12VDCRCM3400
Dev Board
Wi-FlyClimate Values
Desired Values
User Interface
5VD
C
RS
232
RS232
Ruw
aybi
h A
lsul
ami
LEVEL 2.4: POWER SUPPLY
6V Wall Wart
120VAC
PeripheralControl
12V Wall Wart
120VAC toPeripherals
Sensor Board CCU
Peripheral Relay Control System
12V Power Supply
Relays
Power Strip
Eric
And
erso
n
SOFTWARE FLOW DIAGRAM (CCU)
RootRoot
choose tank # or
all
choose tank # or
all
choose tank #choose tank #
get status for all
get status for all
get status for tank #get status for tank #
choose variable to
set
choose variable to
set
set variableset variable
‘P’rogram‘S’tatus
‘Q’uit
‘Q’uit
‘Q’uit
‘tank #’
‘tank #’‘A’ll
‘Q’uit
‘Q’uit
Eric
And
erso
n
SOFTWARE: SENSOR BOARD PSEUDO CODELoop:
check sensor 1if out of range:
adjust peripheralcheck sensor 2
if out of range:adjust peripheral
check sensor 3if out of range:
adjust peripheralcheck uart connected to WiFly (CCU)
if new parameters:change climate variables
return current climate status
Eric
And
erso
n
Light Sensor
Lights
Heater
Fans
Humidifier
LCD Output
Sensor Board 2
Temp. SensorHumidity Sensor
CO2 Sensor
CO2 Tank
Light Sensor
Lights
Heater
Fans
Humidifier
LCD Output
Sensor Board 1
Temp. SensorHumidity Sensor
CO2 Sensor
CO2 Tank
SYSTEM BLOCK DIAGRAM
Central Control
Unit
User Interface (PC)
NetworkW
iFly
WiF
ly
Kev
in W
ray
CONTROL UNIT MICROPROCESSOR: RCM3400W
Rabbit 3000 microprocessor 30MHz 8 channel 12-bit A/D with programmable gain Up to 47 I/O lines and 5 serial ports 412K Flash/512K SRAM K
evin
Wra
y
SENSOR BOARD MICROCONTROLLER:ATMEGA328
1.8-5.5V operating range Serial USART 32kB Flash program memory 1kB EEPROM (non-volatile) 2kB Internal SRAM Up to 20MHz
Kev
in W
ray
ATMEGA328 PINOUT
Eric
And
erso
n
WIFLY COMMUNICATION
Central Control Unit communicates wirelessly with sensor boards using WiFly
RN-134 “SuRF” board
Eric
And
erso
n
SENSORS MG811 – CO2 Sensor
Detects 0.035% to 1% Low humidity and temperature
dependency Needs ADC
SHT71 – Humidity and Temperature Sensor Normal operating range: -20–100oC Digital output Low power consumption
TSL235R – Light Sensor Light to frequency converter 350–1000nm Output frequency: 200–300kHz
Moh
amm
ed A
latt
as
PERIPHERALS
Solenoid valve (CO2) Fans Lights Mister Heater
Moh
amm
ed A
latt
as
POWER (SENSOR BOARDS)
6VDC 5VDC 3.3VDC120VAC
CO2 Sensor (200mA)Wi-Fly (210mA)
ATMega328 (200mA)Light Sensor (2mA)
UART to USB (20mA)
T/H Sensor (1mA)LCD Screen (3mA)
Rya
n H
offm
eier
POWER
Largest power usage through peripherals Sensor board connected to opto-isolator
Isolator allows relay to pass current Keeps high current levels off of sensor boards
Isolation of individual outlets of a power strip Allows for easy exchange of peripherals
Rya
n H
offm
eier
PARTS LIST
Component Quant.
RN-134 “SuRF” board* 3
RCM3400 RabbitCore Devel. Kit* 1
ATMega328 2
Sensors (CO2,Temp/Humidity, Light) 6
UART to USB IC 2
Resistors/Capacitors/Diodes ~75
Regulator/Power Supplies 8
Relays 10
Opto-isolator 10
LCDs 2
Peripherals 9
Kev
in W
ray
DIVISION OF LABOR
Task Ryan Eric Kevin Rob Mohammed
Sensor Board Design X X
Program Sensor Board X X X X
Sensor Board PCB X
LCDs X X
Wi-Fly X X
Power Board X X
Sensors X X X
Program CCU X X X
Documentation X
Kev
in W
ray
SCHEDULE
Ruw
aybi
h A
lsul
ami
SCHEDULE HIGHLIGHTS
Milestone I Parts interfaced with Arduino board Power strip control boards completed
Milestone II Sensor boards completed Sensor boards interface with CCU User interface completed
Expo Documentation completed Expansions?
Ruw
aybi
h A
lsul
ami
QUESTIONS?