0% found this document useful (0 votes)
5 views12 pages

Temperature Control System Project Report

The document presents a project for a temperature control system using a PIC18F4550. It describes the theoretical framework on microcontrollers, the project objectives, the materials used such as the PIC, protoboard, LM35 sensor, and the development including the program, simulation in Proteus, and physical circuit. Images of the simulated and assembled circuit that controls temperature by turning a fan on and off are shown.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views12 pages

Temperature Control System Project Report

The document presents a project for a temperature control system using a PIC18F4550. It describes the theoretical framework on microcontrollers, the project objectives, the materials used such as the PIC, protoboard, LM35 sensor, and the development including the program, simulation in Proteus, and physical circuit. Images of the simulated and assembled circuit that controls temperature by turning a fan on and off are shown.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Technological University of Aguascalientes.

TECHNOLOGICAL UNIVERSITY OF AGUASCALIENTES.

CAREER:

MECHATRONICS.

SUBJECT:

ANALOG ELECTRONICS.

GROUP:

3rd G

STUDENT:

EDGAR ALCÁNTARA MOBILE.

SUBJECT:

PROJECT REPORT U-6. CONTROL SYSTEM


TEMPERATURE.

PROFESSOR:

M.I. VICTOR MANUEL MORA ROMO.

DEADLINE FOR SUBMISSION:

12/08/2015

1
Aguascalientes Technological University.

Content:
PROJECT UD 1: ........................................................................................................................................... 3
SUMMARY. ................................................................................................................................................. 4
THEORETICAL FRAMEWORK.. 5
OBJECTIVES. 7
MATERIALS AND DEVELOPMENT. 8
RESULTS..............................................................................................Error! Marker not defined.
DISCUSSION. ................................................................................................! Error! Marker not defined.
CONCLUSIONS..........................................................................................Error! Undefined marker.
REFERENCES..............................................................................................Error! Bookmark not defined.

2
Technological University of Aguascalientes.

PROJECT UD 1:
CONTROL SYSTEM
OF TEMPERATURE (ON-
OFF).

GO TO CONTENT

3
Technological University of Aguascalientes.

SUMMARY.
The PICs are a family of RISC-type microcontrollers manufactured by Microchip.
Technology Inc. and derivatives of the PIC1650, originally developed by the division of
General Instrument microelectronics.

The current name is not an acronym. In fact, the full name is PICmicro.
although it is generally used as a Peripheral Interface Controller
peripheral interface.

The original PIC was designed to be used with the new 16-bit CPU CP16000.
Overall a good CPU, it had poor input and output performance, and the PIC
The 8-bit was developed in 1975 to improve system performance by removing weight.
from I/O to the CPU. The PIC used simple microcode stored in ROM to
carry out these tasks; and although the term was not used back then, it is about
a RISC design that executes an instruction every 4 cycles of the oscillator.

In 1985, the microelectronics division of General Instrument became separated as


independent company that is incorporated as a subsidiary (on December 14, 1987)
it changes its name to Microchip Technology and in 1989 it is acquired by a group of
investors) and the new owner canceled almost all developments, which for those
dates were mostly obsolete. The PIC, however, was improved with EPROM to
get a programmable channel controller. Nowadays, many PICs come with
several included peripherals (serial communication modules, UART, control cores
of motors, etc.) and with program memory from 512 to 32,000 words (a
word corresponds to an instruction in assembly language, and can be 12,
14, 16 or 32 bits, depending on the specific PICmicro family.

The PIC uses an instruction set, the number of which can vary from 35 for PICs.
low range to 70 for the high range. The instructions are classified among those that
they perform operations between the accumulator and a constant, between the accumulator and a
memory position, conditioning instructions and jump/return instructions,
implementation of interrupts and one to enter low power mode called
sleep.

Microchip provides a freeware development environment called MPLAB that includes


a software simulator and an assembler. Other companies develop C compilers and
BASIC. Microchip also sells compilers for high-end PICs ('C18' for
the F18 series and "C30" for the dsPIC) and a student edition can be downloaded
of C18 that disables some options after a period of evaluation.

4
Technological University of Aguascalientes.

THEORETICAL FRAMEWORK.

Beginners in electronics think that a microcontroller is the same as a


microprocessor. This is not true. They differ from each other in many ways. The
the first and most important difference is its functionality. To use the
microprocessor in a real application, it must connect with components such
like memory or data transmission bus components. Although the
microprocessor is considered a powerful computing machine, it is not
ready for communication with the peripheral devices that are connected to it.
In order for the microprocessor to communicate with a peripheral, the following must be used
special circuits. That's how it was in the beginning and this practice remains valid in the
current events.

On the other hand, the microcontroller is designed in such a way that it has all the
integrated components on the same chip. It does not require other components.
specialized for its application, because all the necessary circuits, which in another
5
Technological University of Aguascalientes.

ways correspond to the peripherals, they are already incorporated. This saves
time and space necessary to build a device.

To understand more easily the reasons for the great success of the
microcontrollers, let's pay attention to the following example. About 10 years ago,
design an electronic control device for an elevator in a multi-story building
Floors were very difficult, even for a team of experts. Have you ever thought about
What requirements must a simple elevator meet? How to deal with the situation when
Do two or more people call the elevator at the same time? Which call has priority?
priority? How to solve issues of security, power loss,
of failures, of misuse? What happens after resolving these issues
Basics is a meticulous process of designing the appropriate devices using a
a large number of specialized chips. This process can take weeks or
months, depending on the complexity of the device. When it is finished
process, the time comes to design a printed circuit board and to assemble the
device. An enormous device! It's another difficult and time-consuming job. Finally, when
everything is finished and properly tested, we move on to the crucial moment and it is
When one concentrates, breathes deeply, and turns on the power supply.

This is usually the point where the party turns into a real job.
that electronic devices almost never work properly from the start.
Get ready for many sleepless nights, corrections, improvements... and don't forget about
that we are still talking about how to set up a simple elevator.

When the device finally starts to work perfectly and everyone


be satisfied, and be paid for the work you have done, many companies of
development will be interested in your work. Of course, if you're lucky, every day it
it will bring a job offer from a new investor. However, if they require it
to work in the control of the elevators of a new building that has four floors
more than those already managed by its control system. Do you know how to proceed? Do you perhaps think
how can you control your customers' demands? We think that you are going to
build a universal device that can be used in buildings from 4 to 40 floors,
a masterpiece of electronics. Well, even if you manage to build a gem
electronics, your investor will wait for you in front of the door asking for a camera
the elevator or relaxing music in case of elevator failure. Or an elevator with
two doors.

6
Aguascalientes Technological University.

OBJECTIVES.

GENERAL OBJECTIVE 1.

Being able to identify and understand the concept of a microcontroller.

SPECIFIC OBJECTIVE 1.

Develop specific functions with the microcontroller.

GENERAL OBJECTIVE 2.

Establish the development of practical applications of physical fitness.

SPECIFIC OBJECTIVE 2.

Physically establish the operation of the code created previously.

7
Technological University of Aguascalientes.

MATERIALS AND DEVELOPMENT.

MATERIALS.

Breadboard. Pic 18f4550


Teaching card for tests. Led’s.
Pc. Network cable.
Release Buzzer.
Resistances. 12 V DC fan and bulb.
Capacitors Lcd LM016L
Lm35

DEVELOPMENT.

A temperature control system is being developed, which we will start from its development.
of the program and for which the Pic programming and compilation software will be used
C Css.

To later develop the circuit in the simulation software called


PROTEUS and what will be in version 8.0.

This is to confirm the proper functioning of our program


previously designed.

Once the functionality of our program is confirmed, we proceed to perform the


representation and physical assembly of our system, for which we will use a
breadboard and the materials previously listed in the document.

8
Technological University of Aguascalientes.

TEMPERATURE CONTROL SYSTEM PROGRAM:

9
Technological University of Aguascalientes.

CONNECTIONS CIRCUIT DEVELOPED IN SIMULATION:

PHYSICAL CIRCUIT OF THE TEMPERATURE CONTROL SYSTEM:

10
Aguascalientes Technological University.

11
Aguascalientes Technological University.

RESULT.
As results, the programs for each of the practices were carried out, and they were
shown during the development of the report.

DISCUSSION.
The required programs for each of the practices are fulfilled, only
highlighting that due to the connections of the didactic test card, there were
to modify the ports to those shown in the circuit images.

CONCLUSIONS.
EDGAR ALCÁNTARA MOBILE.
In conclusion, I can emphasize that I found the section very interesting.
from microcontroller programming, since thanks to them we can
develop great and endless applications in a relatively fast, easy and
Effective on the other hand, it is also worth mentioning that, within the language of

programming is of vital importance in handling different software, as


depending on which one is used, the dimensions of the applications to be developed are determined,

just as each one has its limitations and/or programming procedures, the
which could cause us certain difficulties and by knowing more than one we have a
broader and clearer panorama regarding the work to be done, in my case, I can
highlight that the practices carried out during the course, I executed the programming in
MikroBasic, and my final project turned out to be easier to carry out in Pic Css.

REFERENCES.
Molina, J. (2003). Programming_Pics. August 01, 2015. From Unicrom. Website:
Unable to access the content of the provided URL.
Salcido, M. (2005). MikroBasic. August 05, 2015, from independent. Website:
Unable to translate the provided URL content.
Mora, V. (2015). Class notes. In Class Notes. (N/A). Technological University of
Aguascalientes.: N/A.

12

You might also like