You are on page 1of 2

Fig 1.

Trainning circuit is
Proteus.

DEVELOP
We did some calculates for using the items in our
circuit such as capacitance and resistance recommended
by the PIC 16F84A book.
The connection between items in the circuit was based
on the simulation in Proteus because it works in the same
way as real.

Images and Tables

TRUE TABLE
Input Output
RA3 RA2 RA1 RA0 RB3 RB2 RB1 RB0
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 0
0 0 1 1 0 0 1 1
0 1 0 0 0 1 0 0
0 1 0 1 0 1 0 1
0 1 1 0 0 1 1 0
0 1 1 1 0 1 1 1
1 0 0 0 1 0 0 0
1 0 0 1 1 0 0 1
1 0 1 0 1 0 1 0
1 0 1 1 1 0 1 1
1 1 1 0 1 1 1 0
1 1 1 1 1 1 1 1


This true table
shows how the
behavior of our circuit
is, basically
there is not
something
else because
every input to the
pin, the output is the
same.



















I/O PORTS
Fernando Arturo Flores Amzquita, David Arturo Franco Bautista, Arisbel Tllez Lpez, Roxana Valdez
Segovia
Polytechnic University of Pachuca, Eng. Telematic, Microprocessors and Interfaces,31598

INTRODUCTION
In this document I started to program the microcontroller 16F84A in MPLAB, configuring input / output and how to burn it
to the microcontroller. This was done with the knowledge learned in class about the established instructions provided by
the teacher. The result is simulated in Proteus get it because it is the same way you do. This is the first time we will use this
type of programming so we could have some error, but in the end the circuit should work.

Key words: Microcontroller, MPLAB, Proteus, Set up.
Fig 2. Every input is the output.












Abbreviations and acronyms
MPLAB IDE. Is a Windows Operating System (OS)
software program that runs on a PC to develop
applications for Micro-chip microcontrollers and digital
signal controllers.
PROTEUS. Is a software program to design circuits and
simulate as real.
PIC. Programmable Interrupt Controller.
I/O. Input/Output.


Other advices
In this practice we dont use equations due to the
standard for using microcontroller. The most capacity of
current is:
25mA, when the pin is low level. The plus of the
5 lines intensity in the PORT A cannot be more
than 80mA or the 8 lines of PORT B cannot be
more than 150mA.
20 mA, when the pin is high level. The plus of the
5 lines intensity cannot be more than 50 mA or the
8 lines intensity of PORT B cannot be more than
100mA.

CONCLUSION
The practice was helpful to introduce us into
microcontrollers world because we had never done
something like that. The principal idea was to do the first
program for the pic 16f84a in MPLAB IDE, inside the
program we learn how to set up the ports as input and
output and use some instructions.
It was interesting this world we realized we can do
many things as we want the only thing that we must do is
imagination


REFERENCES


[1] Palacios Municio E. Remiro Dominguez F. Prez Lpez L.
Microcontrolador PIC16F84. 3 Edicin. 2009. Alfaomega, RA-
MA. Madrid, Espaa. Pginas: 625.

Fig 3. Real circuit.

You might also like