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

Lecture 3

The document discusses designing an electronic circuit for a Roman catapult project. It covers interfacing an Arduino with sensors to detect motion and display velocity on a 7-segment display. It also describes binary coded decimal representation and circuits for a 7-segment display and BCD adder.

Uploaded by

abansal10be22
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)
25 views

Lecture 3

The document discusses designing an electronic circuit for a Roman catapult project. It covers interfacing an Arduino with sensors to detect motion and display velocity on a 7-segment display. It also describes binary coded decimal representation and circuits for a 7-segment display and BCD adder.

Uploaded by

abansal10be22
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/ 24

Dr.

Poonam Verma
Assistant Professor
ECED, TIET, Patiala
▪ In Engineering Design Project-I, Mangonel (Roman catapult)
is to be designed and implemented.
The Electronic Part is divided into 4 sections:

➢ Programming of Arduino Digital I/O pins for various applications.


➢ Sensing any activity through Arduino and instructing accordingly.
Also, data capturing through sensors.
➢ Interfacing of hardware and software to do a specific task (using
7-segment display)
➢ Develop a micro-electronic circuit to determine and display the
angular velocity of the throwing arm.
The Electronic Part is divided into 4 sections:

➢ Programming of Arduino Digital I/O pins for various applications.


➢ Sensing any activity through Arduino and instructing accordingly.
Also, data capturing through sensors.
➢ Interfacing of hardware and software to do a specific task (using
7-segment display)
➢ Develop a micro-electronic circuit to determine and display the
angular velocity of the throwing arm.
1. Binary Coded Decimal (BCD) Number

2. 7-segment Display

3. BCD Adder

4. Sketch
 Although binary data is the most efficient
storage scheme; However, some applications
may not be desirable to work with binary data.

 For instance, the internal components of digital


clocks keep track of the time in binary. The
binary value must be converted to decimal
before it can be displayed.

 The most common format used to represent


decimal data is called binary coded decimal, or
BCD.
 In BCD representation, every decimal digital is represented
by four binary bits.
 Multi-digit decimal numbers are stored as multiple groups of
4 bits per digit.

 BCD is a signed notation


 Positive number: +27 as 0(sign) 0010 0111.
 Negative number: -27 as 1(sign) 0010 0111.

 BCD does not store negative numbers in two’s complement.


 Contains seven display units to form different numeric
number.
 For example to represent number zero, LED a, b, c, d, e, and f
must be turned ON (glowing) while g must be OFF.
abcde f g
a 0 1111110
1 0110000
f b 2 1101101
g 3 1111001
4 0110011
5 1011011
e c 6 1011111
7 1110000
d 8 1111111
9 1111011
 Contains seven display units to form different numeric
ABCD abcde f g
0000 1111110
0001 0110000
0010 1101101
0011 1111001
0100 0110011
0101 1011011
0110 1011111
0111 1110000
1000 1111111
1001 1111011
 Contains seven display units to form different numeric
 Contains seven display units to form different numeric
 Contains seven display units to form different numeric
 Contains seven display units to form different numeric
 Contains seven display units to form different numeric
 Contains seven display units to form different numeric
 Contains seven display units to form different numeric
 Circuit can be
implemented
using few AND,
OR and NOT
gates only.
 Ltch Disable:
 To latch the data on
the output pins
 Phase:
 Should be zero for
common cathode
while 1 for common
anode 7-segment
display.
 Blanking:
 To blank the display
by giving high input.
 Normally connected
to ground.
 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.
 It can latch (maintain the output) when the latch is low.
 The decimal integer can be converted into 4-bit binary number as
follows
 int a=i%2; // calculate LSB
 int b=i/2 %2;
 int c=i/4 %2;
 int d=i/8 %2; //calculate MSB

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy