MICROCHIP. STEMSEL Beginners Project 6: Temperature Controller

Similar documents
STEMSEL Beginners Project 1: Alarm System

Welcome to MultiSight TM Vision Sensor Hands-On Lab

Added password for IP setup page : Password must be in IP format!

Spacing Average distance between seeds in a given row of planted seeds. Results are expressed in inches.

Netatmo Thermostat user manual Netatmo Thermostat V1.0 / December 2013 You can nd an interactive version of this user manual in your Netatmo app

People living in the desert need to wear special clothing in order for them to keep cool.

Refrigeration System Overview. ASTI 32 Hour Managing Ammonia Course September 27 30, 2016

HUMIDITY IN INCUBATION

iminiplus PDF User Guide Version 2.0

MPL3115A2 Sensor Toolbox User s Guide

EL-OEM-3 OEM Packaged Voltage Data Logger

ECO N DATE DESCRIPTION OF CHANGE CHG

quick start guide Product features English RFG293HA Surround Multi Flow Secure Auto Close Door System Twin Cooling System Easy Handle System

Galaxy. Galaxy Robot Sampler Page 1

ICS Regent. Fire Detector Input Modules PD-6032 (T3419)

Food Control Plans or National Programmes Cold Hold Records 2019

SRGC Bulb Log Diary Pictures and text Ian Young. BULB LOG th February 2016

Rotem One Touch. User Manual PRELIMINARY DOCUMENT. Ag/MIS/UmGB /18 Rev 1.0 P/N:

Maintenance Tips for Tenants

CONTROL PANEL REMOTE FEATURES INFORMATION ACCOUNT SETTINGS CONTROL PANEL REMOTE FEATURES INFORMATION SETTINGS. Connected

A: The last radiators might not be able to heat the rooms they serve on the coldest days of the year. Your system would be out of balance.

Science 7. Unit 3. Heat and. Temperature

Some Demonstration Experiments: Effects of Air Motion, Evaporation, and Pressure Changes on Temperature

Alarms Manual. ver.1 rev.06/'07. Enclosures to Service Manuals of: McbNET Digital TM Magnum400 TM MiniMagnum400 TM. 6) Speeder One

Adaptive CyCLO Technical and HMI User Guide. CyCLO User Guide. Version th December 2017 REV

Development of a GSM based DC Powered Bird Egg Incubator

TOUCH IOT WITH SAP LEONARDO

White Paper Study on Refrigerator Safety and Solving Airflow Problems Are Your Refrigerators Really Safe?

Heat Energy. Heat Energy. A Science A Z Physical Series. Word Count: 1,301. Written by Felicia Brown. Visit

RS485 MODBUS Module 8AI

DS1286 Watchdog Timekeeper

Mobile App User Guide

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Optical Smoke Detector Heat Detector Manual Call Point Output Unit Isolator

TEACHER BACKGROUND INFORMATION Water Cycle

Appendix 3 Thermostats

3D_ISS. Integrated Software System. User Guide Manual

USER MANUAL USB Multi-Function Datalogger Model RHT35

False Alarm Management

Rev This manual covers the following models: T771. Mounting and Battery Installation

USB Multi Function Dataloggers. RHT30 Humidity/Temperature Datalogger. TH30 Dual Temperature Datalogger

quick start guide RFG237AA RFG238AA

QUICK CONSUMER REFERENCE GUIDE

I/O logger box. User manual NO POWER & SIGNAL CABLES TOGETHER READ CAREFULLY IN THE TEXT!

Domestic Elementalism: hints and walkthrough

Solar Cooling. Adam Koeppel, Engineering Skyline Innovations

how does the warmer work? are the contents of the warmer safe? can yoomi overheat my baby's feed?

NexSysLink. 2 CAN Display Operation Manual. CAN Instruments Product Family

WHAT IS ENERGY+ILLAWARRA? WHAT DO YOU MEAN WHO IS INVOLVED IN ENERGY+ILLAWARRA? ENERGY+ILLAWARRA?

Platinum Touch/Rotem One Touch

WeatherLink for Alarm Output Addendum

Tips how to use the MAS Web tool

Heater Assembly replacement - A pictorial guide

quick start guide Product features RFG26M*** English Counter Height Design Surround Multi Flow Secure Auto Close Door System Twin Cooling System

How Ground Source Heat Pumps Work

Manual Supplement. Product/System Title: Static Pressure Controller. Contents of this manual supplement include:

Classroom Composting

Ambient Temperature/ Relative Humidity & Dew Point Temperature Sensors to USB Output. Model LFS108B

PWM. Solar Charge controller with Ethernet. Solar Smart PWM 20Amp. Hardware Description : Release : 19 June 2014

DISCONTINUED PRODUCT. For reference only SMOKE DETECTOR WITH INTERCONNECT FEATURES. ABSOLUTE MAXIMUM RATINGS (Voltages are referenced to V SS

HUMIDITY MANAGEMENT MODULE TYPE H122 Digital USER INSTRUCTIONS

PROPOINTPLUS ASPIRATING SMOKE DETECTION SYSTEM

XM3 Proximity Tag. Door Access System

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Safe method: Chilled storage and displaying chilled food Harmful bacteria can grow in food that is not chilled properly.

CDR-AL Room CO 2 Traffic Light Alarm Units and Sensors

Alarms Updated 03/26/2018

Wrangler JK Engine Cooling

What is Room EQ Wizard (aka REW)?

OPI-integris Advantages

HOBO U14 Data Logger User Manual

Ovation Alarm Management System

Bluebird. Wisconsin. Winter Blues! Spring 2008 Vol. 23, No. 1. Newsletter of the Bluebird Restoration Association of Wisconsin, Inc.

End To End Optical Beam Smoke Detector. Additional Information

PHD Dolphin Installation

Advance Humidity Pump

Gemma M0 Vibration Sensor Motion Alarm

Heat Transfer Using words from the word boxes below, complete the paragraph about heat transfer.

quick start guide Product features RFG298HD* RFG297HD* RFG296HD* RFG29PHD* RFG29THD* English Surround Multi Flow 16" Pizza Corner Twin Cooling System

Roo232 User Guide. Revision 1.0. Copyright 2006 RoboDynamics Corp

PLEASE READ THE USER GUIDE CAREFULLY BEFORE INSTALLATION AND RETAIN FOR FUTURE USE.

quick start guide Product features RF4287HA English Surround Multi Flow

SEC 3500 OI- StatCast RS232 Gas Status Text Broadcast Configuration Manual

CG500SKE SKYEYE GATEWAY USER MANUAL VERSION OCTOBER Disclaimers and Copyright

The Design of Temperature Control System for Vegetable Greenhouse

DXL ALA Settings Guide

The diagram shows the inside of an incorrectly wired three-pin plug. What two changes need to be made so that the plug is wired correctly?

UVA and UVB Sensor UVA 315 to 400 nm UVB 280 to 315 nm

Nature Notes. For life to exist there must be Sun, Air, Water and Soil. These are all gifts provided by Nature.

Poultry Housing Tips Radiant Tube Heater Floor Heating Patterns Volume 17 Number 5 April, 2005

ocbridge Plus SPECIFICATION 3. COMPONENTS Wireless sensors receiver, battery СR2032, manual, instalation CD.

Answer Coming to A Boil Questions

Rev Flame Detection Sensor. TF100 User Manual

INSTRUCTION MANUAL. stay ahead - stay informed 1. THE APP

1. Select the group that best represents your connection with Eagle Hall.

OPERATOR S MANUAL MODEL AP15/AP15-1/AP15-2 PC-ALARM PANEL

rvm4c Installation Guide Remote Video Module

e 便 e 沈凜 y s 鹿 vi 便凜 ti 殺 s

Modular Standard HP Chiller 1/4 screw compressor with Carel driver

Final Background Report. Viruses, illnesses, diseases - these are words that come to mind when most people

Transcription:

STEMSEL Beginners Project 6: Temperature Controller Problem In some situations it is very important to be able to control the temperature. We want to use our microchip to check and adjust the temperature. Background There are many situations where it is important to control the temperature. We use airconditioning and heating to keep our homes at a nice temperature, and the fridge should be keep cold enough that the food doesn t spoil but not so cold that the food freezes. One application where it is even more important to control the temperature is in an incubator. Incubators are used to keep bird eggs or human babies warm and safe until they are big enough to survive the outside world. If the temperature changes too much then the baby or the chicks could die, so it is vitally important to control the temperature accurately. Ideas How can we check the temperature? What can we use to make it cooler? What about to make it hotter? Plan This project uses the STEMSEL controller board to maintain the temperature of a temperature sensor by either heating it with a light globe or cooling it with a fan. You may think it s strange to heat something up with a lightbulb, but the way a lightbulb works is to heat a tiny wire up until it glows to emit light. Because of this, lightbulbs give out even more heat energy than light energy! Once again we will need a threshold value, but how will we know what the temperature is? We can actually use the microchip to first check the initial temperature then keep the thermistor at that temperature. This will need to be done right at the start of the program, then we need to continually check how the temperature changes and turn on the lightbulb or fan as necessary. INPUTS OUTPUTS Thermistor MICROCHIP Lightbulb Fan Figure 1 1 Copyright 2013 elabtronics. All Rights Reserved.

Temperature Hot If the temperature is above the threshold turn on the fan and turn off the lightbulb Threshold If the temperature is below our threshold turn on the lightbulb and turn off the fan. Cold Figure 2 Design the Circuit Use ezcircuit Designer to construct an input/output (I/O) diagram. Driver icons can be used for both the lightbulb and the fan. Right click to change the names of the components. Figure 3 Build the Circuit Use the ezcircuit Designer I/O diagram to connect the hardware. Red wires go into positive (+), black wires go into negative (-) and white wires go into the pin specified in the circuit design. One of the white wires from the fan should go into C5, and the other into the negative pin. 2 Copyright 2013 elabtronics. All Rights Reserved.

Figure 4 Programming Use CoreChart to program the functions of the temperature controller. After you have used the test routines to check the outputs, delete them so that we can start writing our own program. 1. According to our plan, we need to first read the initial temperature and use it as our set point. Use an AnalogIn icon to save the reading from HeatSensor as Initial_Temp. 2. Add 2 to Initial_Temp and save it as Initial_Temp again. 3. We will not want to continually reset Initial_Temp, so add an address called Again. When we reach the end of the program we will loop back to this address, not START. 4. Use another AnalogIn to read the current temperature and save it as RESULT. 5. Now we need to check if the temperature is hotter or colder than the threshold we set. Use a Compare icon to compare RESULT with Initial_Temp. Tick both the Above and Below checkboxes. 6. We can see from the graph we made in the plan that if the current temperature is below our set temperature, then it is too cold and we need to warm it up, so turn the lightbulb on. We also don t want it getting any colder, so make sure the fan is off. Group these icons together so they fit underneath the decision icon. 7. Similarly, if the current temperature is above our set temperature, then it is too hot so turn the fan on. We also don t want it getting any hotter, so make sure the lightbulb is off. Group these icons together so they fit underneath the decision icon. 8. Add a short time delay of 20 HUNDREDTHS of a second to give the temperature a bit of time to change. 9. We want the program to go back and check the temperature again, so add a GoTo icon, but make sure it is going back to the Again address and not to START. 10. Your finished program should look like the following. Send it to the chip and check it works. 3 Copyright 2013 elabtronics. All Rights Reserved.

Figure 3 Figure 5 Extension Currently the temperature controller has only one single set point. It means that either the globe heater or the fan cooler is on at any one time which is wasteful of energy. Less energy will be used if the controller has upper and lower temperature set points. Modify the program so that the heater is only on when the temperature is below the lower temperature set point and the fan cooler is only on when the temperature is above the upper temperature set point. 4 Copyright 2013 elabtronics. All Rights Reserved.

Temperature Hot If the temperature is above the threshold turn on the fan and turn off the lightbulb Upper Threshold If the temperature is between the thresholds, the temperature is just right and both the fan and lightbulb should be off Lower Threshold If the temperature is below our threshold turn on the lightbulb and turn off the fan. Cold Figure 6 Summary Although it is uncomfortable for us to be too hot or too cold, for a baby it can easily be life threatening. Therefore it is important that the incubators that keep them alive have very accurate temperature control. Our temperature controller turns on a lightbulb to heat up the incubator, and uses a fan to cool it down again. 5 Copyright 2013 elabtronics. All Rights Reserved.