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