Dar Es Salaam Institute of Technology: Group Six (6) Members

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

DAR ES SALAAM INSTITUTE OF TECHNOLOGY

DEPARTMENT OF ELECTRONICS AND TELECOMMUNICATION ENGINEERING


B.ENG 12T
MICROPROCESSOR APPLICATION

GROUP SIX (6) MEMBERS.
1. OMARY M. SAID (120647472643)
2.FELIX MWAMBASHI (120647412621)
3.SITTA GEMBEGE (120647492649)
4. ASWILE NIKUSUMA (120647402611)
5.JOHNCHACHA (100602G8002)
6.BRUNO SONZOGO (100602G8317)










PRACTICAL REPORT
Aim.
To design and simulate a LED matrix which display letter using PIC.
COMPONETS USED
LED matrix
PIC (PIC16F877)
Simulating software (Proteus and MikroC PRO)
PROCEDURE
1. Connecting a circuit diagram as shown below.

CIRCUIT DIAGRAM





2.mikro C program code:
void main() {
TRISB=0;
PORTB=0;
TRISd=0;
PORTd=0;

loop:
PORTd=0B00000001;
PORTB=0B00000000;
delay_us(100);

PORTd=0B00000010;
PORTB=0B00000000;
delay_us(100);

PORTd=0B00000100;
PORTB=0B10011111;
delay_us(100);

PORTd=0B00001000;
PORTB=0B11001111;
delay_us(100);

PORTd=0B00010000;
PORTB=0B11001111;
delay_us(100);

PORTd=0B00100000;
PORTB=0B10011111;
delay_us(100);

PORTd=0B01000000;
PORTB=0B00000000;
delay_us(100);

PORTd=0B10000000;
PORTB=0B00000000;
delay_us(100);

goto loop;
}








Output after feeding the instructions to the circuit and run the simulation




Conclusion:
The task was intended to display any letter, on this task letter M was displayed on
the led matrix as shown above hence the task has been succed

You might also like