0% found this document useful (0 votes)
11 views

7 SD REPORT Q

The document outlines a series of assignments for a Micro-processor Unit Lab involving the use of Arduino UNO and seven-segment displays (7SD). Students are required to take inputs from a Serial Monitor and display corresponding outputs on the 7SD, including configurations for even and odd student IDs, as well as various number display tasks. The assignments also include creating lookup tables and writing code to manage the display of numbers based on user inputs.

Uploaded by

mahbub18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

7 SD REPORT Q

The document outlines a series of assignments for a Micro-processor Unit Lab involving the use of Arduino UNO and seven-segment displays (7SD). Students are required to take inputs from a Serial Monitor and display corresponding outputs on the 7SD, including configurations for even and odd student IDs, as well as various number display tasks. The assignments also include creating lookup tables and writing code to manage the display of numbers based on user inputs.

Uploaded by

mahbub18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

EEE – 3210

Micro-processor Unit Lab

Assignment

7SD

1. Take an input from Serial Monitor and show it in 7SD. (Proteus Simulation)

Student ID 7SD Configuration


EVEN Common Cathode (CC)
ODD Common Anode (CA)

Connect 7SD with Arduino UNO in following configuration –

Last Digit of Segment Segment Segment Segment


. . .
Student ID ‘a’ ‘b’ ‘g’ ‘p’

0, 1 Dpin 13 Dpin 12 . . . Dpin 7 Dpin 6


2, 3 Dpin 12 Dpin 11 . . . Dpin 6 Dpin 5
4, 5 Dpin 11 Dpin 10 . . . Dpin 5 Dpin 4
6, 7 Dpin 10 Dpin 09 . . Dpin 4 Dpin 3
8, 9 Dpin 09 Dpin 08 . . . Dpin 3 Dpin 2

* Digit in 7SD should not blink, it would be ON state.

2. Take an Input from Serial Monitor and Print all numbers less than that in 7SD One by One.
After printing relevant digits 7SD would be turned off.

* Use the same configuration as stated above. (Tinkercad Simulation)


3. Consider your Student ID –

19.01.05. X Y Z

Y = ODD (Common Cathode)


Y = EVEN (Common Anode)

Connection Table –

Z PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7

0 c e a d f g p b

1 e a c d g p b f

2 a g c b e d p f

3 g p b a c e f d

4 b e g c a f d p

5 g c e d p a b f

6 d g p b e c f a

7 d b p g c f e a

8 p e c d f b a g

9 g f e a d c p b

*** Find out the Look up Table (LUT) for 0 – F


*** Run a Code to show the digits one after one in Tinkercad and Proteus
4. Take an input from user using serial monitor and show the output using two (2) seven-
segment display.

• For Integer numbers input take 2-digit input [Ex – 23, 07]

• For float input take numbers such as one digit after decimal point [Ex – 7.5, 0.9]

5. Consider you have two seven-segment displays. Write a code such that one 7SD shows
only even numbers one after one whether the other 7SD shows odd numbers one by one.

7 SD [Odd] 7 SD [Even]
1 0
3 2
.. ..
.. ..
.. ..
D C
F E

6. Take an input from user using serial monitor. After that show all the numbers that are
multiple of user inputs in the range of Є [0, F]. After showing all multiples turn off the
display.

If user input = 3

Show → 3, 6, 9, C, F (then Turn OFF)

If user input = 7

Show → 7, E (then Turn OFF)

You might also like