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

UTA013 Engineering Design Project-I: Assignment-3

Here are the key steps I would take to complete this assignment: 1. Design the circuit to combine the outputs of the two pair of sensors into a single pulse. This would involve an OR gate circuit. 2. Write the Arduino code to read the length of the combined pulse and convert it to milliseconds. This involves using millis() to measure the pulse length and some simple math. 3. Display the milliseconds value on the 7-segment display. This requires encoding the digit values as BCD and driving the display pins accordingly. 4. Add buttons to start/stop the timing and reset the display. Include debouncing for the buttons. 5. Test the full circuit and code operation over different

Uploaded by

Anshul Dua
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views

UTA013 Engineering Design Project-I: Assignment-3

Here are the key steps I would take to complete this assignment: 1. Design the circuit to combine the outputs of the two pair of sensors into a single pulse. This would involve an OR gate circuit. 2. Write the Arduino code to read the length of the combined pulse and convert it to milliseconds. This involves using millis() to measure the pulse length and some simple math. 3. Display the milliseconds value on the 7-segment display. This requires encoding the digit values as BCD and driving the display pins accordingly. 4. Add buttons to start/stop the timing and reset the display. Include debouncing for the buttons. 5. Test the full circuit and code operation over different

Uploaded by

Anshul Dua
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 11

DEPARTMENT

OF
ELECTRONICS AND COMMUNICATION ENGINEERING

Assignment-3
for
UTA013 Engineering Design Project-I

Name: Incharge:
Roll No.
Group
BCD (binary coded decimal) to 7 Segment Display

The decoder(CD4543) is a combinational digital circuit that decodes an 4-bit binary


input in the range 0000-1001 (BCD) in to its corresponding decimal level. Example for
the binary value 0101 we need to display 5. Hence the decoder will output a HIGH on
segments (a,c,d,f and g) with output a LOW on segments (b and e). The latch signal is
normally connected to 5V via 10Kohm resistor as per the circuit diagram.
This allows the decoder to decode the present binary input (the latch is said to be in a
transparent state). When the latch is connected to 0V via the jumper provided its logic
state changes to a LOW and the decoder will decode the binary input prior to the latch
going low (i.e. the display is frozen when the latch is LOW).

Pinout of CD4543 IC

Function Table for the CD4543B IC


ASSIGNMENT - 2
Study to display the digits on seven segment display
Exercise 1 – Write an Arduino program to make an integer up counter i.e. 0 to 9 & repeat it
infinitely.Display the digits using BCD code on the 7-segment display kit.
Hardware Required

 Seven Segment Display Kit



  Arduino Board
 Single core connecting wires

Theory :BCD (binary coded decimal) to 7 Segment Display


The decoder(CD4543) is a combinational digital circuit that decodes an 4-bit binary
input in the range 0000-1001 (BCD) in to its corresponding decimal level. Example for
the binary value 0101 we need to display 5. Hence the decoder will output a HIGH on
segments (a,c,d,f and g) with output a LOW on segments (b and e). The latch signal is
normally connected to 5V via 10Kohm resistor as per the circuit diagram.

Pinout of CD4543 IC
This allows the decoder to decode the present binary input (the latch is said to be in a
transparent state). When the latch is connected to 0V via the jumper provided its logic
state changes to a LOW and the decoder will decode the binary input prior to the latch
going low (i.e. the display is frozen when the latch is LOW).

Function Table for the CD4543B IC:


Schematic:

Code:
Reflection
ASSIGNMENT - 3
Study to display the digits on seven segment display

Exercise 2 – Redesign the Exercise 1 from 00 to 99.


Hardware
 Digital Trainer Kit

  Arduino Board
 Single core connecting wires

Code
Schematic

Reflections
Assignment Tasks:
 Given a microsecond time which is a 5-digit integer. Displayed the equivalent time in
millisecond using Arduino on seven segment display.
Self-Effort Hours Tasks:
 Learn the programming of Arduino Board.
 How to design the two pair sensors circuit and combine the two sensors signal into one signal.
 How to Convert the two sensors output into one long pulse.


You might also like