Temperature Controller
Temperature Controller
• Introduction
• Key Principle of Temperature Controller
• Overview of 8085 Microprocessor and Why to use it
• Components Required
• Working of Temperature Controller
• Conclusion
• Bibliography
INTRODUCTION
What is a Temperature Controller ?
A temperature controller is a device designed to regulate
the temperature of a system by comparing the actual
temperature to a desired setpoint.
Introduction:
• The 8085 microprocessor, developed by Intel in 1976, is an 8-bit general-purpose microprocessor widely
used in embedded control applications.
Key Technical Features:
• 8-bit Data Bus: The 8085 processes 8 bits of data simultaneously, allowing manipulation of data in
byte-sized chunks.
• 16-bit Address Bus: Supports addressing of up to 64 KB (2^16) of memory space, accommodating
both program and data memory.
• Clock Speed: Operates at 3 MHz, with a minimum instruction cycle of 4.8 μs.Power Supply: Operates
on a +5V DC supply, simplifying integration into embedded systems.
• Multiplexed Bus System: The lower 8 bits of the address bus are multiplexed with the data bus to
minimize pin count, requiring external demultiplexing when accessing memory or I/O.
• Accumulator-Based Architecture: The 8085 uses an accumulator register for most
arithmetic and logical operations, optimizing execution time for common tasks.
• Interrupt System: Supports five hardware interrupts (TRAP, RST7.5, RST6.5, RST5.5, INTR)
and an interrupt enable/disable flip-flop for real-time response to external events.
• Direct Memory Access (DMA) Support: Allows high-speed data transfer without CPU
intervention via the HOLD and HLDA signals.
• Instruction Set: Comprises 74 instructions divided into data transfer, arithmetic, logical,
branching, and machine control categories, providing robust support for complex control
algorithms.
WHY USE 8085 IN A TEMPERATURE
CONTROLLER ?
• Precise Control: The 8085 can interact with an ADC (Analog to Digital Converter) to convert
temperature sensor readings and control heating/cooling elements with high accuracy.
• Efficient Interrupt Handling: The 8085’s interrupt system allows immediate response to
critical conditions such as temperature thresholds being exceeded.
• Ease of Peripheral Interfacing: Can easily interface with peripherals such as LCDs, keypads,
and relays via I/O ports or memory-mapped I/O, simplifying the design of a temperature control
system.
• Cost-Effective: Its low power consumption and simplicity make it a suitable choice for basic
embedded systems like temperature controllers in small-scale industrial applications.
COMPONENTS REQUIRED
1.Temperature Sensor:
• The temperature sensor (e.g., thermistor, RTD, or
LM35) detects the ambient temperature of the
environment. It produces an analog signal
(voltage) that is proportional to the temperature.
Here we are using LM35
• This signal represents the current temperature,
which needs to be converted into digital form for
processing by the microprocessor.
Figure 2: Labelled Diagram of LM35 Temperature Sensor
Reference: Figure 3.1, Page 46, Microcontroller-Based Temperature
Monitoring and Control 1st Edition (2002) by Dogan Ibrahim
2. Analog-to-Digital Converter 0808
(ADC0808):
• Since the 8085 microprocessor can only
process digital data, the analog signal from the
temperature sensor is fed into an
Analog-to-Digital Converter (ADC).
• The ADC converts the analog voltage from the
sensor into a corresponding digital value, which
is then sent to the 8085 microprocessor for
processing.
• The microprocessor reads this digital value via
Figure 3: Pin Diagram of ADC 0808
its data bus. Reference: Figure 3.17, Page 61, Microcontroller-Based
Temperature Monitoring and Control 1st Edition (2002) by
Dogan Ibrahim
3. Liquid Crystal Display (LCD)
• Shows the current temperature or system
status (e.g., heating, cooling) to the user.
• It is interfaced with the microprocessor to
display real-time temperature data or
system feedback. Figure 4: 2X16 line LCD Display
Reference: Figure 4.5, Page 87, Microcontroller-Based
Temperature Monitoring and Control 1st Edition (2002)
by Dogan Ibrahim
4. Control Circuit (Relay/Triac):
• The 8085 microprocessor controls external
devices like heaters or fans through a control
circuit.
• Typically, a relay or a Triac is used as a switching
mechanism. The relay receives signals from the
microprocessor and acts as a switch to turn the
heating or cooling element on or off.
• A relay is commonly used for DC devices, while
Figure 5: A Control Circuit demonstrated with circuit diagram
a Triac is used for AC-powered devices. Reference: Figure 4.1, Page 79, Microcontroller-Based Temperature
Monitoring and Control 1st Edition (2002) by Dogan Ibrahim
5. Heater/Fan (Actuating Devices):
• The heater or fan is the final component in the control system, responsible for adjusting
the temperature.
• The heater is activated if the temperature is below the set point, while the fan is
activated if the temperature is above the set point.
• These actuators are powered through the relay or Triac controlled by the 8085
microprocessor.
WORKING OF TEMPERATURE CONTROLLER
Data Actuating
Temperature Processing Output
Sensing by 8085 Devices
6. Feedback Loop:
• The system operates in a continuous loop, constantly reading the temperature and adjusting the output to
ensure the environment stays at the desired temperature.
• This forms a feedback control loop where the system adjusts itself automatically to maintain the target
temperature.
SIMULATION OF TEMPERATURE CONTROLLER
IN PROTEUS
Why Use Proteus for This Project?
• Circuit Design and Schematic Creation
• Sensor and Device Simulation
• Testing Without Physical Hardware
Figure 6: Temperature Controller Simulated in Proteus
DRIVER CODE FOR TEMPERATURE CONTROLLER
CONCLUSION
• Successfully designed and simulated a temperature control system using the 8085
microprocessor.
• The system efficiently maintains the desired temperature by controlling heating and
cooling devices based on sensor feedback.
• Practical applications include HVAC systems, industrial furnaces, and automated climate
control.
BIBLIOGRAPHY
Books -
• 0000 To 8085 : Introduction to Microprocessors for Engineers and Scientists (2004) by P.K. Ghosh
• Microcomputers And Microprocessors (1985) by John Uffenbeck
• Interfacing to Embedded Microprocessors (2001) by Stuart Ball
• Microcontroller-Based Temperature Monitoring and Control 1st Edition (2002) by Dogan Ibrahim
Research Papers -
• 8086 Microprocessor and Interfacing (2012) by Arun Kumar Das