reporte en inglés

Upload: jane-loaiza

Post on 03-Jun-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Reporte en Ingls

    1/6

    INDEX

    I. INTRODUCTION ........................................................................................................................... 2

    II. PROJECT DESCRIPTION ......................................................................................................... 2

    III. OBJECTIVES .............................................................................................................................. 2

    IV. MATERIALS AND METHODS.................................................................................................. 3

    FIRST STAGE OF THE PROJECT ........................................................................................... 3

    CIRCUIT SIMULATION ............................................................................................................... 4

    SECOND STAGE PROJECT ..................................................................................................... 4

    MICROCONTROLLER PROGRAMMING ................................................................................ 4

    MOUNT TABLE NODES ............................................................................................................. 5

    THIRD STAGE PROJECT .......................................................................................................... 5

    DESIGN PRINTED CIRCUIT BOARD (PCB - PRINTED CIRCUIT BOARD)..................... 5

    CARD CREATION ........................................................................................................................ 5

    V. LIST OF COMPONENTS ........................................................................................................... 6

    VI. RESULTS .................................................................................................................................... 6

  • 8/12/2019 Reporte en Ingls

    2/6

    INDEX

    I. INTRODUCTION

    Today's digital design has focused on because programming of programmable

    devices is arranged as the microcontroller, which can reduce the number of

    electronic devices necessary for a given system.

    A microcontroller is an embedded system that has in its internal structure a

    microprocessor, random access memory (RAM), read only memory (ROM) through

    its programming is used for specific purposes. This paper details the design and

    construction of the control system of a water using PIC16F877 microcontroller.

    II. PROJECT DESCRIPTION

    The system of control of water has 3 sensors that lets the device to know what is

    the water level and 1 water bomb at the output.

    The main element of the project is PIC16F877A microcontroller is a programmable

    device, our project is mainly focused on programming it.

    The operation of the project is the next, first the bomb is off until the sensor

    localized in the tank sends a signal that there is not water on it. The microcontroller

    put on the bomb and when the thank is full another sensor will be activated to turn

    out the bomb.

    III. OBJECTIVES

    GENERAL PURPOSE

    Designing the electronic control circuit of a control of on PIC16F877

    microcontroller.

    SPECIFIC OBJECTIVES

    Create the program that governs the operation of the microcontroller.

    Create electronic circuit control system.

    Present design with a small-scale representation of the system.

  • 8/12/2019 Reporte en Ingls

    3/6

    IV. MATERIALS AND METHODS

    The main elements of the project are:

    Programmable Device. Microcontroller PIC16F877A

    Water Pump

    Sensors. We used switches as sensors

    The PIC16F877A was chosen for its characteristics of memory storage allow us

    the source program and the number of ports required to implement the circuit. The

    PIC16F877 microcontroller

    Microchip belongs to a large family of 8-bit microcontrollers (data bus) having the

    following general characteristics:

    Harvard architecture.

    CMOS Technology

    These and other features indicated in the manufacturer's data sheet we provide a

    highly efficient use of program and data memory and therefore the speed of

    execution device.

    FIRST STAGE OF THE PROJECT

    1. Creating the Source File.

    2. Circuit Simulation.

    SOURCE FILE CREATION

    The source file is compiled and makes the machine code that needs to be

    programmed into the microcontroller. This has the extension. "Hex".

    We use the basic compiler ldmicro than is in the same program ldmicro por PIC.

    Which has a high level language that facilitates the creation of the file or source

    code to be compiled and then get the file or machine code (". hex ") to be recorded

    in the microcontroller

    It was necessary to master the rules, instructions and basic libraries of this

    programming language, for we use the help of the teacher, manuals and tutorials

    found online and forum pages with examples easy to get familiar with this program.

  • 8/12/2019 Reporte en Ingls

    4/6

    It is at this stage of the project where the device characteristics, type of

    microcontroller, operating frequency, ports used as input, ports used as output,

    logic used, which is why it was necessary to carry out the simulation of the circuit in

    which electric and physically these options are defined.

    CIRCUIT SIMULATION

    It is in the simulation of the circuit where the electrical work as well as being quick

    and effective tool for observing and then debug the source file, correct errors and

    make improvements to the design used is specified.

    We used the ISIS Design Suite - Proteus 7 Professional version 7.5 SP3 for

    developing simulation of the easiness in handling the PIC microcontroller family.

    Connecting the main characteristics are:

    Port D: Output to control water bomb step that is responsible for fill the tank.

    Port A: Entrance sensors (switches).

    We worked with a 4MHz clock signal obtained from quartz crystal.

    SECOND STAGE PROJECT

    1. Programming the Microcontroller

    2. Mounting Chart Nodes

    MICROCONTROLLER PROGRAMMING

    To implement the simulated circuit, it is necessary to program the microcontroller.

    We use PIC 600 FOR PIC, to set the source file to PIC16F877A microcontroller.

    The device has an interface to the process.

    The steps were as follows:

    1. Choice programming device, our case PIC16F877A

    2. Reading device

    3. Checking if the device is free of programming "Blank_Check".

    4. Erasing any program on your device, result from above "Error"

  • 8/12/2019 Reporte en Ingls

    5/6

    5. Upload File. "Hex" to be recorded on the device

    6. Programming the device.

    MOUNT TABLE NODES

    Once the operation of the circuit in the simulation stage was verified, we proceeded

    to mount in node table and test them.

    We use the available equipment as a power source for the 5V required by the

    microcontroller, switches and sensors for simulating.

    At the end of this stage again verified the operation of the control circuit.

    THIRD STAGE PROJECT

    1 Designing Printed Circuit Board (PCB - Printed Circuit Board)

    2. Creating card

    DESIGN PRINTED CIRCUIT BOARD (PCB - PRINTED CIRCUIT BOARD)

    We use Design Suite ARES - Proteus 7 Professional version 7.5 SP3, and PCB

    Wizard - Professional Edition 3.50.

    CARD CREATION

    The creation of the board was following the following steps:

    1. The design was printed on paper acetate .

    2. We use a household iron to heat-set design to the blank card, some copper face

    of ink on printed paper.

    3. Unwanted copper according to the tracks was removed by using a nitric acidsolution with water for about two minutes.

    4. Clean the card.

    5. Necessary holes were drilled.

    6. They proceeded to solder components.

  • 8/12/2019 Reporte en Ingls

    6/6

    V. LIST OF COMPONENTS

    MAIN CARD

    Microchip Microcontroller PIC16F877A

    ULN2803

    4 MHz crystal

    22 pF ceramic capacitors

    10 Kresistors

    push-button switches

    DIP-40 Base

    DIP-18 Base

    VI. RESULTS

    In the second stage of the project note that not behaved to as we expect, we hadproblems with the main board connections this was because the design was

    originally made wrong, we solve the problem by redesign the diagram

    After all settings and drawbacks encountered in assembling the project, the

    designed control system worked properly responded to the structure created as

    expected.

    VII. CONCLUSIONS

    We created the program and the control of water using PIC16F877 microcontroller

    and its representation on a small scale with a model, demonstrating the importance

    of the programmable devices in reducing design both combinational and sequential

    logic.