Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

DJM 50122 - EMBEDDED SYSTEM APPLICATION

PRACTICAL WORK 3 : INPUT OUTPUT PROGRAMMING APPLICATION

Learning Outcomes:
Construct and simulate real- me embedded system applica on based on PIC16F/PIC18F
microcontroller effec vely

OBJECTIVE
1. Write program in C language in MPLABX IDE.
2. Draw circuit in Proteus and simulate the output.

THEORY
PIC18 series normally has five input/output ports. They are used for
the input/output interfacing with other devices or circuits. Most of these port pins
are mul plexed for handling alternate func on for peripheral features on the
devices. All ports in a PIC chip are bi-direc onal.

EQUIPMENT
1. MPLAB X IDE so ware
2. Proteus so ware
3. PC
4.
PROCEDURE
1. At desktop or any loca on drive, create a folder named PW. In the folder, create
subfolder as below.
2. Open MPLABX, follow the previous step to create a C main file. Write the program below.

Program 1.
3. Construct circuits below in Proteus, and include .hex file from MPLAB into Proteus ans run the
simula on

4. Record all result from your observa on. Result must be arrange according list below.
a.Program.
b.Build successful report.
c.Simula on circuit with LCD displaying text.

5. DISCUSSION

6. CONCLUSION

You might also like