SlideShare a Scribd company logo
HVAC CONTROLLER: MANUAL
ECET 340
PROFESSOR WANG
DATE: 04/17/2016
Elijah Barner
Bryan Quiroz
Table of Contents
1. Table of Illustrations: Manual.......................................................................................................4
Figure I: Schematic Diagram MCS12G128 - Microcontroller...........................................................4
Figure II: Schematic Diagram MCS12G128 - Microcontroller...........................................................5
Figure III: Schematic Diagram MCS12G128 – Microcontroller.........................................................6
2. Product Specifications: MCS12G128 – Microcontroller..................................................................7
Figure IV: Block Diagram MCS12G128 – Microcontroller................................................................7
Figure V: Block Diagram MCS12G128 – Microcontroller.................................................................7
Figure VI: Schematic Diagram MCS12G128 – Microcontroller.........................................................8
3. Description of Project Operation/User's Manual ...........................................................................9
4. Hardware Block Diagram: ..........................................................................................................10
Figure IV: Block Diagram MCS12G128 – Microcontroller..............................................................10
5. I/O Maps:..................................................................................................................................11
6. Input /Output Specification:.......................................................................................................11
7. Hardware Theory of Operation:..................................................................................................13
8. Software Documentation, Pseudocode, and/or Flow Chart:.........................................................14
Figure VII: Software Code - Freescale CodeWarrior IDE................................................................14
Figure VIII: Software Code - Freescale CodeWarrior IDE...............................................................15
Figure IX: Schematic Diagram MCS12G128 – Microcontroller.......................................................16
9. Software Theory of Operation:...................................................................................................18
10. User’s Manual:......................................................................................................................19
11. SOFTWARE SUPPORT DOCUMENTATION ................................................................................20
A. Software:..............................................................................................................................20
12. APPENDICES (DATA SHEETS, REFERENCE MATERIAL, ETC.):.............................................21
HVAC-CONTROLLER(1)_MANUAL_Final
1. Table of Illustrations:Manual
Figure I: Schematic Diagram MCS12G128 - Microcontroller
Figure II: Schematic Diagram MCS12G128 - Microcontroller
Figure III: Schematic Diagram MCS12G128 – Microcontroller
2. Product Specifications: MCS12G128 – Microcontroller
Figure IV: Block Diagram MCS12G128 – Microcontroller
Figure V: Block Diagram MCS12G128 – Microcontroller
Figure VI: Schematic Diagram MCS12G128 – Microcontroller
Thisis schematicdiagramof the MCS12G128 of memorymappingcontrollermostof the associated
operationof the HVAC are store onthe FLASHmemory.All of the variouscode functionsforthe LCD,
LED’s, ATD,and otherperipheral devicesretrieveinformationforfunctionality.
3. Description of Project Operation/User'sManual
The HVAC controllerusesThermistor (temperaturesensor)asthe inputdevicestodetectexternal
temperature.The A/Dconvertertakesthe analogsignal intodigitalinformationtodisplaythe actual
temperature onthe LCD display.The LED’sare usedtoindicate witherthe HVACcontrolleris onor off
4. Hardware Block Diagram:
Figure VII: Block Diagram MCS12G128 – Microcontroller
5. I/O Maps:
StatusLEDS
HeaterActive LEDS 1 - 4 (Yellow):PortT,Pin7, Output.
StatusLCD
HeaterActive LCD: PortPA0 – PA2,Output.
StatusThermistor
HeaterActive Thermistor:PortPAD1,Input.
StatusATD
HeaterActive ATD:Port PTAD1 – 15, Output/Input.
StatusMSC12G128 Microcontroller
HeaterActive MSC12G128 bidirectionalInput/Output.
6. Input /Output Specification:
Temperature Sensor/Thermistor
MC9700A
2.5 to 5 VDCSupply@ 5mA max.
10 mV perdegree Centigrade
Type Analog
Range:0VDC = 0 degrees/Celsius(mininput)
5VDC = 100 degrees/Celsius(max input)
Character LCD Display
3 Rowby 16 Column
Parallel Interface
5 VDCSupply@ 50 mA max.
YellowLEDbacklight
ATD Converter:ConversionSpan:0– 5VDC,linear,monolithic
Resolution:1-bit=0.0196 VDC= 0.392 degree
0.0VDC = 00H
2.5VDC = 80H
5.0VDC = FFH
7. Hardware Theory of Operation:
The way that the temperature informationis receivedbythe processorreadingthe thermistor
connectedtothe 8-bit ATD converter.The thermistoroutputvoltagewill relative tothe temperature at
10mV/ degree Celsius.The outputdoesn’tneedtobe amplified.Buttoperformance isbasedonthe
outputrange.The signal fromthe thermistorisreadbythe processornextthrew 10-bitATD converter
at a rate of 0.1 Hz for every10 seconds.Afterwardsthe systembeginsreading,storingthe current
temperature,andcalculatinginthe temperature sum.Thenonce the temperaturehadbeenreadbythe
ATD converterthe digital value isconvertedtoa similarvalue of temperature inCelsius.The similar
value isthendisplayinASCIIformatona textstring.The temperature isthencomparedtothe
temperature onsetandthenthe LEDS become activated.
8. Software Documentation, Pseudocode, and/or Flow Chart:
Figure VIII: Software Code - Freescale CodeWarrior IDE
Figure IX:Software Code - Freescale CodeWarrior IDE
Figure X:Schematic Diagram MCS12G128 – Microcontroller
Figure XI:Schematic Diagram MCS12G128 – Microcontroller
9. Software Theory of Operation:
The functionwill reada10-bit binaryintegerthat representthe ambienttemperature indegreeCelsius
fromthe processor(Atmel Mega16 channel 0 on the ATD converter.Each single bitrepresent -
0.17.708889 degreesCelsius.Nextthe routineconvertseachbinarybitof informationandwill save the
three- digitintegerthatwill be saved.LastlycValueswith0bytesrepresentingthe one hundreddigital
of digits.Byte onestens,andbytes.All binarybitsare translatedtoASCII
10. User’s Manual:
11. SOFTWARE SUPPORT DOCUMENTATION
A. Software:
12. APPENDICES (DATA SHEETS, REFERENCE MATERIAL,
ETC.):

More Related Content

PPTX
Presentation i-m
PPTX
Arduino HVAC Temperature Controller
PDF
Advanced view of atmega microcontroller 1673 projects list nov 2019 at mega...
PDF
Advanced view of atmega microcontroller projects list (1632) at mega32 avr
PPTX
Temperature Controller
PPTX
Industrial Temperature Controller System
DOCX
Project report on the Digital clock using RTC and microcontroller 8051
PDF
Automatic temperature control
Presentation i-m
Arduino HVAC Temperature Controller
Advanced view of atmega microcontroller 1673 projects list nov 2019 at mega...
Advanced view of atmega microcontroller projects list (1632) at mega32 avr
Temperature Controller
Industrial Temperature Controller System
Project report on the Digital clock using RTC and microcontroller 8051
Automatic temperature control

What's hot (20)

PPTX
Automatic DC Fan using LM35 (english version)
PDF
Projects 1224 at mega32 avr projects
PDF
Projects at mega32-avr-projects-list-1197-projects
PDF
Automatic room temperature controlled fan using arduino uno microcontroller
PDF
Design an Automatic Temperature Control System for Smart Electric Fan Using PIC
PPTX
Atmeag328 bootloading
PPTX
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
PDF
PPTX
Temperature based speed control of fan using microcontroller
PPTX
Industrial Temperature Controller using Microcontroller
PPTX
Temperature Based Fan Controller
PDF
Digital Alarm Clock 446 project report
PPTX
Arduino based automatic temperature controlled fan speed regulator
PDF
A Measurement Device for an Air Conditioning Unit
PPTX
Presentation1 (1)
PPT
Spi digital led controller
PPTX
Speed controller for fan
DOCX
Digital Alarm Clock (IC-TMS-8560)
PPTX
Temperature Controlled Fan
PPTX
microcontroller based temperature sensor
Automatic DC Fan using LM35 (english version)
Projects 1224 at mega32 avr projects
Projects at mega32-avr-projects-list-1197-projects
Automatic room temperature controlled fan using arduino uno microcontroller
Design an Automatic Temperature Control System for Smart Electric Fan Using PIC
Atmeag328 bootloading
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
Temperature based speed control of fan using microcontroller
Industrial Temperature Controller using Microcontroller
Temperature Based Fan Controller
Digital Alarm Clock 446 project report
Arduino based automatic temperature controlled fan speed regulator
A Measurement Device for an Air Conditioning Unit
Presentation1 (1)
Spi digital led controller
Speed controller for fan
Digital Alarm Clock (IC-TMS-8560)
Temperature Controlled Fan
microcontroller based temperature sensor
Ad

Similar to HVAC-CONTROLLER(1)_MANUAL_Final (20)

PDF
Q46C4C-4-Electrode-Concentration-Monitor.pdf
PDF
report
PDF
scribd.vpdfs.com_bwr-04-winding-thermometer.pdf
PDF
Q46C2-Two-Electrode-Conductivity-Resistivity-Monitor-1.pdf
PDF
Pt650 d英文说明书 (1)
PDF
AVReporter Schneider Electric M221 plc impulse counter
PDF
Ks 50-1-ks-52-1-manual-english
PDF
12.3 inch Automotive TFT the CDS123WU01
PDF
a simple bcd counter project
PDF
Cd00004444 understanding-and-minimising-adc-conversion-errors-stmicroelectronics
PDF
Ltw 32'', 37'', 42'' lcd tv series
PDF
Acb abb
PDF
PD-1076_hardware_manual_hw1.10_rev1.07.pdf
PDF
Max232
PDF
Max232
PDF
m75a temperatyre sensor used in FPGA cyclone IVe kit
PDF
ad590 datasheet
PDF
Sdmo mics-nexys-control panel-manual
PDF
GM8802S-F weighing indicators user manual
Q46C4C-4-Electrode-Concentration-Monitor.pdf
report
scribd.vpdfs.com_bwr-04-winding-thermometer.pdf
Q46C2-Two-Electrode-Conductivity-Resistivity-Monitor-1.pdf
Pt650 d英文说明书 (1)
AVReporter Schneider Electric M221 plc impulse counter
Ks 50-1-ks-52-1-manual-english
12.3 inch Automotive TFT the CDS123WU01
a simple bcd counter project
Cd00004444 understanding-and-minimising-adc-conversion-errors-stmicroelectronics
Ltw 32'', 37'', 42'' lcd tv series
Acb abb
PD-1076_hardware_manual_hw1.10_rev1.07.pdf
Max232
Max232
m75a temperatyre sensor used in FPGA cyclone IVe kit
ad590 datasheet
Sdmo mics-nexys-control panel-manual
GM8802S-F weighing indicators user manual
Ad

HVAC-CONTROLLER(1)_MANUAL_Final

  • 1. HVAC CONTROLLER: MANUAL ECET 340 PROFESSOR WANG DATE: 04/17/2016 Elijah Barner Bryan Quiroz
  • 2. Table of Contents 1. Table of Illustrations: Manual.......................................................................................................4 Figure I: Schematic Diagram MCS12G128 - Microcontroller...........................................................4 Figure II: Schematic Diagram MCS12G128 - Microcontroller...........................................................5 Figure III: Schematic Diagram MCS12G128 – Microcontroller.........................................................6 2. Product Specifications: MCS12G128 – Microcontroller..................................................................7 Figure IV: Block Diagram MCS12G128 – Microcontroller................................................................7 Figure V: Block Diagram MCS12G128 – Microcontroller.................................................................7 Figure VI: Schematic Diagram MCS12G128 – Microcontroller.........................................................8 3. Description of Project Operation/User's Manual ...........................................................................9 4. Hardware Block Diagram: ..........................................................................................................10 Figure IV: Block Diagram MCS12G128 – Microcontroller..............................................................10 5. I/O Maps:..................................................................................................................................11 6. Input /Output Specification:.......................................................................................................11 7. Hardware Theory of Operation:..................................................................................................13 8. Software Documentation, Pseudocode, and/or Flow Chart:.........................................................14 Figure VII: Software Code - Freescale CodeWarrior IDE................................................................14 Figure VIII: Software Code - Freescale CodeWarrior IDE...............................................................15 Figure IX: Schematic Diagram MCS12G128 – Microcontroller.......................................................16 9. Software Theory of Operation:...................................................................................................18 10. User’s Manual:......................................................................................................................19 11. SOFTWARE SUPPORT DOCUMENTATION ................................................................................20 A. Software:..............................................................................................................................20 12. APPENDICES (DATA SHEETS, REFERENCE MATERIAL, ETC.):.............................................21
  • 4. 1. Table of Illustrations:Manual Figure I: Schematic Diagram MCS12G128 - Microcontroller
  • 5. Figure II: Schematic Diagram MCS12G128 - Microcontroller
  • 6. Figure III: Schematic Diagram MCS12G128 – Microcontroller
  • 7. 2. Product Specifications: MCS12G128 – Microcontroller Figure IV: Block Diagram MCS12G128 – Microcontroller Figure V: Block Diagram MCS12G128 – Microcontroller
  • 8. Figure VI: Schematic Diagram MCS12G128 – Microcontroller Thisis schematicdiagramof the MCS12G128 of memorymappingcontrollermostof the associated operationof the HVAC are store onthe FLASHmemory.All of the variouscode functionsforthe LCD, LED’s, ATD,and otherperipheral devicesretrieveinformationforfunctionality.
  • 9. 3. Description of Project Operation/User'sManual The HVAC controllerusesThermistor (temperaturesensor)asthe inputdevicestodetectexternal temperature.The A/Dconvertertakesthe analogsignal intodigitalinformationtodisplaythe actual temperature onthe LCD display.The LED’sare usedtoindicate witherthe HVACcontrolleris onor off
  • 10. 4. Hardware Block Diagram: Figure VII: Block Diagram MCS12G128 – Microcontroller
  • 11. 5. I/O Maps: StatusLEDS HeaterActive LEDS 1 - 4 (Yellow):PortT,Pin7, Output. StatusLCD HeaterActive LCD: PortPA0 – PA2,Output. StatusThermistor HeaterActive Thermistor:PortPAD1,Input. StatusATD HeaterActive ATD:Port PTAD1 – 15, Output/Input. StatusMSC12G128 Microcontroller HeaterActive MSC12G128 bidirectionalInput/Output. 6. Input /Output Specification: Temperature Sensor/Thermistor MC9700A 2.5 to 5 VDCSupply@ 5mA max. 10 mV perdegree Centigrade Type Analog Range:0VDC = 0 degrees/Celsius(mininput) 5VDC = 100 degrees/Celsius(max input) Character LCD Display 3 Rowby 16 Column Parallel Interface 5 VDCSupply@ 50 mA max.
  • 13. 7. Hardware Theory of Operation: The way that the temperature informationis receivedbythe processorreadingthe thermistor connectedtothe 8-bit ATD converter.The thermistoroutputvoltagewill relative tothe temperature at 10mV/ degree Celsius.The outputdoesn’tneedtobe amplified.Buttoperformance isbasedonthe outputrange.The signal fromthe thermistorisreadbythe processornextthrew 10-bitATD converter at a rate of 0.1 Hz for every10 seconds.Afterwardsthe systembeginsreading,storingthe current temperature,andcalculatinginthe temperature sum.Thenonce the temperaturehadbeenreadbythe ATD converterthe digital value isconvertedtoa similarvalue of temperature inCelsius.The similar value isthendisplayinASCIIformatona textstring.The temperature isthencomparedtothe temperature onsetandthenthe LEDS become activated.
  • 14. 8. Software Documentation, Pseudocode, and/or Flow Chart: Figure VIII: Software Code - Freescale CodeWarrior IDE
  • 15. Figure IX:Software Code - Freescale CodeWarrior IDE
  • 16. Figure X:Schematic Diagram MCS12G128 – Microcontroller
  • 17. Figure XI:Schematic Diagram MCS12G128 – Microcontroller
  • 18. 9. Software Theory of Operation: The functionwill reada10-bit binaryintegerthat representthe ambienttemperature indegreeCelsius fromthe processor(Atmel Mega16 channel 0 on the ATD converter.Each single bitrepresent - 0.17.708889 degreesCelsius.Nextthe routineconvertseachbinarybitof informationandwill save the three- digitintegerthatwill be saved.LastlycValueswith0bytesrepresentingthe one hundreddigital of digits.Byte onestens,andbytes.All binarybitsare translatedtoASCII
  • 20. 11. SOFTWARE SUPPORT DOCUMENTATION A. Software:
  • 21. 12. APPENDICES (DATA SHEETS, REFERENCE MATERIAL, ETC.):