You are on page 1of 2

Microcontroller Project 1 Specifications

Define two LED patterns as required and shift them using the ports specified, with the specified speed controlled by the switches specified below.
LED Port Speed Enabling LED Port Speed Enabling signature
ID Full Name Pattern1 Used Action (shift/sec) Switches Pattern2 Used Action (shift/sec) Switches
1
0000 0011 C → 1 B0 and B2 1010 1010 D ← 4 B1
2
0000 0111 D ← 2 B1 and B2 1100 1100 C → 1 B0
3
0000 1111 C → 3 B0 and B1 1110 1110 D ← 2 B2
4
0001 1111 D ← 4 B3 and B5 1110 0111 C → 3 B4
5
0011 1111 C → 1 B4 and B5 0001 0001 D ← 4 B3
6
1010 1010 D ← 2 B3 and B4 0000 0011 C → 1 B5
7
1100 1100 C → 3 B4 0000 0111 D ← 2 B0 and B2
8
1110 1110 D ← 4 B3 0000 1111 C → 3 B1 and B2
9
1110 0111 C → 1 B5 0001 1111 D ← 4 B0 and B1
10
0001 0001 D ← 2 B1 0011 1111 C → 1 B3 and B5
11
1010 1010 C → 3 B0 0000 0011 D ← 2 B4 and B5
12
1100 1100 D ← 4 B2 0000 0111 C → 3 B3 and B4
13
1110 1110 C → 1 B3 and B5 0000 1111 D ← 4 B1
14
1110 0111 D ← 2 B4 and B5 0001 1111 C → 1 B0
15
0001 0001 C → 3 B3 and B4 0011 1111 D ← 2 B2
16
0000 0011 D ← 4 B0 and B2 1010 1010 C → 3 B4
17
0000 0111 C → 1 B1 and B2 1100 1100 D ← 4 B3
18
0000 1111 D ← 2 B0 and B1 1110 1110 C → 1 B5
19
0001 1111 C → 3 B0 and B2 1110 0111 D ← 2 B3
20
0011 1111 D ← 4 B1 and B2 0001 0001 C → 3 B5
21
1010 1010 C → 1 B3 0011 1111 D ← 4 B0 and B2
22
1100 1100 D ← 2 B5 1110 1110 C → 1 B1 and B2
Required Project Output and the grading weight
1. Written Report:
1.1. Project Specification
1.2. Flow chart presenting the sequence of individual activities to be executed
30 points
1.3. Variable declarations and memory assignments
10 points
1.4. Assembly code (for PIC 16F887), uploadable on the Easy PIC 7 board, that executes the activities stated by the flow chart
30 points

2. Lab Presentation:
2.1. Run MPLAB X, create a project, load the code written, run the assembler and upload the machine code on the microcontroller
10 points
2.2. Run the program on the microcontroller
20 points
Deadline: 30 April 2021
Late Presentations require Dept. Chair approval and bear a 10% penalty

You might also like