SlideShare a Scribd company logo
Project No:03
Title of Project: Display a
Character on a 7 Segment Display
Presentation on Project
222Prepared For
Md. Alomgir Hossain
Senior Lecturer
Department of Computer Science & Engineering
Prepared By
Group – Micro Engineers Section-F
Name ID No Name ID No
Rihab Rahman (Leader) SECRET Abu Sufian Sabuj SECRET
Shohag Mia SECRET Mohammad Tamim Rahman SECRET
Alomgir Hossen SECRET Zerin Akter SECRET
Saifullah Al Mamun SECRET Kaisary Zaman SECRET
Tasnia Tahsin SECRET Maseat Nahar SECRET
Ikram Asif Khan Radi SECRET
Objectives 3
 Aim/Objective Of Project
 Apparatus Required
 Software Installation Process
 Code Installation Process
 Working Procedure
 Circuit And Schemetic Diagram
 Source Code And Result
Objective and Apparatus
 Objective: The purpose of this lab was to become
comfortable with the ins and outs of utilizing a
breadboard, as well as constructing a proper seven-
segment display.
 Apparatus Required: The following electronics components
are required.
4
Arduino Uno Board
USB B Cable
7 Segment Display (1 pc)
Resistor (1kΩ) (7pcs)
Jumper Wires (8pcs)
Battery Power Source
5
Software Installation Process
Step-1: Install the appropriate Arduino Software for your desktop
operating system from the official website of Arduino. The link is
given below: https://www.arduino.cc/en/Main/Software
6
Software Installation Process
Step-2: After completing the download connect your Arduino board
with the USB B wire to your computer. You will see the power LED on
once connected. It will help the software to detect the Arduino board
automatically with Port No as well.
Software Installation Process 7
Step-3: Click on Arduino icon and it will start the installation. During
the installation it will require some permissions. So click on accept or
next or yes as per the dialog box will appear.
If you face any problem is install the software you can see the
following tutorials
For windows 7: https://www.youtube.com/watch?v=ylPpO-NG2pA
For windows 10: https://www.youtube.com/watch?v=pfUR7Qa88sk
Now you are done with the software installation process.
8Code Installation Process
Step-1: Connecting Arduino to the computer
1.1 Open the Arduino IDE by clicking on the Arduino Icon.
1.2 Connect your Arduino to the computer using the USB cable
1.3 Make sure to select the right board (see below screen-shot)
9Code Installation Process
1.4 Then select the correct serial port. (see below screen-shot)
10Code Installation Process
Step-2: Open a new window. Write your code for blinking single LED.
2.1 Then click on the Sketch menu and check for any typos / errors
using verify button and Compile to the machine language if the
verification is successful.
11Code Installation Process
2.2 If the above process is successful, you should see the message in
the status bar showing that the compilation is successful.
2.3 Now upload your program to the Arduino by clicking upload button
in the Sketch menu.
2.4 You might face some issues if you have not selected a correct
board/serial port. So please make sure you went through the part 3
and 4 carefully. Now you are all set complete the necessary electrical
connections as per the circuit diagram.
12Working Procedure:
1. After completing software installation and coding upload
unplug the board.
2. Connect the output pin no 1, 2, 3, 4, 5, 6, 7 of Arduino
board with 7 resistors on the bread board.
3. Connect the resistors with the A, B, C, D, E, F and G
terminal of the 7 segment display according to the pin no
sequence of Arduino Board.
4. Connect any of two negative terminals of the 7 segment
display with the ground pin of Arduino board.
5. Supply power to the Arduino board by USB B wire or
external power port.
13Circuit Diagram
14Schematic Diagram
15Source Code
int a = 1;
int b = 2;
int c = 3;
int d = 4;
int e = 5;
int f = 6;
int g = 7;
void setup() {
pinMode(a, OUTPUT);
pinMode(b, OUTPUT);
pinMode(c, OUTPUT);
pinMode(d, OUTPUT);
pinMode(e, OUTPUT);
pinMode(f, OUTPUT);
pinMode(g, OUTPUT);
}
16Source Code
void loop() {
digitalWrite(a, LOW);
digitalWrite(b, HIGH);
digitalWrite(c, HIGH);
digitalWrite(d, LOW);
digitalWrite(e, LOW);
digitalWrite(f, HIGH);
digitalWrite(g, HIGH);
}
17Result
 After making all the connections and uploading the code to the
Arduino board we have found that the connected 7 segment display
is showing the single output digit as per the coding.
Precaution:
 All the connections should be tight and proper.
 Handle the Arduino board carefully.
 Check the connection once again before powering the Arduino
board.
 Switch off the Arduino board after performing the Experiment.
Display a Character on a 7 Segment Display

More Related Content

Similar to Display a Character on a 7 Segment Display

Arduino guide
Arduino guideArduino guide
Arduino guide
Rajan Gautam
 
Lecture 3 (tool stick platform) rv01
Lecture 3 (tool stick platform) rv01Lecture 3 (tool stick platform) rv01
Lecture 3 (tool stick platform) rv01
cairo university
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2
srknec
 
Arduino frequency counter
Arduino frequency counterArduino frequency counter
Arduino frequency counter
nasyith_hananur
 
Arduino : how to get started
Arduino : how to get startedArduino : how to get started
Arduino : how to get started
동호 손
 
Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kitRdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
Research Design Lab
 
Project_report_on_Attendance_system
 Project_report_on_Attendance_system Project_report_on_Attendance_system
Project_report_on_Attendance_system
Ami Goswami
 
Embedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxEmbedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptx
aartis110
 
Unit III ARM Interface and ARM Programming
Unit III ARM Interface and ARM Programming Unit III ARM Interface and ARM Programming
Unit III ARM Interface and ARM Programming
Dr. Pankaj Zope
 
Larson and toubro
Larson and toubroLarson and toubro
Larson and toubro
anoopc1998
 
BeneVision N22N19_Service Training_V1.0_EN - Copy.pdf
BeneVision N22N19_Service Training_V1.0_EN - Copy.pdfBeneVision N22N19_Service Training_V1.0_EN - Copy.pdf
BeneVision N22N19_Service Training_V1.0_EN - Copy.pdf
AtiqurRahman7153
 
Digital Alarm Clock 446 project report
Digital Alarm Clock 446 project reportDigital Alarm Clock 446 project report
Digital Alarm Clock 446 project reportAkash Mhankale
 
arduino-esp32-projects.pdf
arduino-esp32-projects.pdfarduino-esp32-projects.pdf
arduino-esp32-projects.pdf
Daniel Donatelli
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
vishal choudhary
 
esp32-complex-waveform-generator-v2.pdf
esp32-complex-waveform-generator-v2.pdfesp32-complex-waveform-generator-v2.pdf
esp32-complex-waveform-generator-v2.pdf
Daniel Donatelli
 
IOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdfIOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdf
MayuRana1
 
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepal
Arduino by bishal bhattarai  IOE, Pashchimanchal Campus Pokhara, NepalArduino by bishal bhattarai  IOE, Pashchimanchal Campus Pokhara, Nepal
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepal
bishal bhattarai
 
OTP Based Smart Wireless Locking System using Aurdino
OTP Based Smart Wireless Locking System using AurdinoOTP Based Smart Wireless Locking System using Aurdino
OTP Based Smart Wireless Locking System using Aurdino
SwapanMandal12
 
Ardx eg-spar-web-rev10
Ardx eg-spar-web-rev10Ardx eg-spar-web-rev10
Ardx eg-spar-web-rev10
stemplar
 
ADAELS .docx
ADAELS .docxADAELS .docx
ADAELS .docx
JagjeevanSingh9
 

Similar to Display a Character on a 7 Segment Display (20)

Arduino guide
Arduino guideArduino guide
Arduino guide
 
Lecture 3 (tool stick platform) rv01
Lecture 3 (tool stick platform) rv01Lecture 3 (tool stick platform) rv01
Lecture 3 (tool stick platform) rv01
 
Intel galileo gen 2
Intel galileo gen 2Intel galileo gen 2
Intel galileo gen 2
 
Arduino frequency counter
Arduino frequency counterArduino frequency counter
Arduino frequency counter
 
Arduino : how to get started
Arduino : how to get startedArduino : how to get started
Arduino : how to get started
 
Rdl esp32 development board trainer kit
Rdl esp32 development board trainer kitRdl esp32 development board trainer kit
Rdl esp32 development board trainer kit
 
Project_report_on_Attendance_system
 Project_report_on_Attendance_system Project_report_on_Attendance_system
Project_report_on_Attendance_system
 
Embedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptxEmbedded L1_notes_unit2_architecture.pptx
Embedded L1_notes_unit2_architecture.pptx
 
Unit III ARM Interface and ARM Programming
Unit III ARM Interface and ARM Programming Unit III ARM Interface and ARM Programming
Unit III ARM Interface and ARM Programming
 
Larson and toubro
Larson and toubroLarson and toubro
Larson and toubro
 
BeneVision N22N19_Service Training_V1.0_EN - Copy.pdf
BeneVision N22N19_Service Training_V1.0_EN - Copy.pdfBeneVision N22N19_Service Training_V1.0_EN - Copy.pdf
BeneVision N22N19_Service Training_V1.0_EN - Copy.pdf
 
Digital Alarm Clock 446 project report
Digital Alarm Clock 446 project reportDigital Alarm Clock 446 project report
Digital Alarm Clock 446 project report
 
arduino-esp32-projects.pdf
arduino-esp32-projects.pdfarduino-esp32-projects.pdf
arduino-esp32-projects.pdf
 
Lecture 7
Lecture 7Lecture 7
Lecture 7
 
esp32-complex-waveform-generator-v2.pdf
esp32-complex-waveform-generator-v2.pdfesp32-complex-waveform-generator-v2.pdf
esp32-complex-waveform-generator-v2.pdf
 
IOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdfIOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdf
 
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepal
Arduino by bishal bhattarai  IOE, Pashchimanchal Campus Pokhara, NepalArduino by bishal bhattarai  IOE, Pashchimanchal Campus Pokhara, Nepal
Arduino by bishal bhattarai IOE, Pashchimanchal Campus Pokhara, Nepal
 
OTP Based Smart Wireless Locking System using Aurdino
OTP Based Smart Wireless Locking System using AurdinoOTP Based Smart Wireless Locking System using Aurdino
OTP Based Smart Wireless Locking System using Aurdino
 
Ardx eg-spar-web-rev10
Ardx eg-spar-web-rev10Ardx eg-spar-web-rev10
Ardx eg-spar-web-rev10
 
ADAELS .docx
ADAELS .docxADAELS .docx
ADAELS .docx
 

More from Rihab Rahman

Study on Cyber Security:Establishing a Sustainable Cyber Security Framework f...
Study on Cyber Security:Establishing a Sustainable Cyber Security Framework f...Study on Cyber Security:Establishing a Sustainable Cyber Security Framework f...
Study on Cyber Security:Establishing a Sustainable Cyber Security Framework f...
Rihab Rahman
 
Presentation on House Rent Management System
Presentation on House Rent Management SystemPresentation on House Rent Management System
Presentation on House Rent Management System
Rihab Rahman
 
Presentation on Transmission Media & Switching
Presentation on Transmission Media & SwitchingPresentation on Transmission Media & Switching
Presentation on Transmission Media & Switching
Rihab Rahman
 
Presentation on Automated Prescription Management System
Presentation on Automated Prescription Management SystemPresentation on Automated Prescription Management System
Presentation on Automated Prescription Management System
Rihab Rahman
 
Global Warming Poster Presentation
Global Warming Poster PresentationGlobal Warming Poster Presentation
Global Warming Poster Presentation
Rihab Rahman
 
Impact of technology in agricultural sector of bangladesh
Impact of technology in agricultural sector of bangladeshImpact of technology in agricultural sector of bangladesh
Impact of technology in agricultural sector of bangladesh
Rihab Rahman
 
Combinational logic circuit
Combinational logic circuitCombinational logic circuit
Combinational logic circuit
Rihab Rahman
 
Secondary memory
Secondary memorySecondary memory
Secondary memory
Rihab Rahman
 
Bernard Matthews Communicating with Stakeholders
Bernard Matthews Communicating with StakeholdersBernard Matthews Communicating with Stakeholders
Bernard Matthews Communicating with Stakeholders
Rihab Rahman
 

More from Rihab Rahman (9)

Study on Cyber Security:Establishing a Sustainable Cyber Security Framework f...
Study on Cyber Security:Establishing a Sustainable Cyber Security Framework f...Study on Cyber Security:Establishing a Sustainable Cyber Security Framework f...
Study on Cyber Security:Establishing a Sustainable Cyber Security Framework f...
 
Presentation on House Rent Management System
Presentation on House Rent Management SystemPresentation on House Rent Management System
Presentation on House Rent Management System
 
Presentation on Transmission Media & Switching
Presentation on Transmission Media & SwitchingPresentation on Transmission Media & Switching
Presentation on Transmission Media & Switching
 
Presentation on Automated Prescription Management System
Presentation on Automated Prescription Management SystemPresentation on Automated Prescription Management System
Presentation on Automated Prescription Management System
 
Global Warming Poster Presentation
Global Warming Poster PresentationGlobal Warming Poster Presentation
Global Warming Poster Presentation
 
Impact of technology in agricultural sector of bangladesh
Impact of technology in agricultural sector of bangladeshImpact of technology in agricultural sector of bangladesh
Impact of technology in agricultural sector of bangladesh
 
Combinational logic circuit
Combinational logic circuitCombinational logic circuit
Combinational logic circuit
 
Secondary memory
Secondary memorySecondary memory
Secondary memory
 
Bernard Matthews Communicating with Stakeholders
Bernard Matthews Communicating with StakeholdersBernard Matthews Communicating with Stakeholders
Bernard Matthews Communicating with Stakeholders
 

Recently uploaded

MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
PinkySharma900491
 
web-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jerweb-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jer
freshgammer09
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
aozcue
 
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
andreassenrolf537
 
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Peter Gallagher
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
peuce
 
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
aozcue
 

Recently uploaded (7)

MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
 
web-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jerweb-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jer
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
 
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
 
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
 
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
 

Display a Character on a 7 Segment Display

  • 1. Project No:03 Title of Project: Display a Character on a 7 Segment Display Presentation on Project
  • 2. 222Prepared For Md. Alomgir Hossain Senior Lecturer Department of Computer Science & Engineering Prepared By Group – Micro Engineers Section-F Name ID No Name ID No Rihab Rahman (Leader) SECRET Abu Sufian Sabuj SECRET Shohag Mia SECRET Mohammad Tamim Rahman SECRET Alomgir Hossen SECRET Zerin Akter SECRET Saifullah Al Mamun SECRET Kaisary Zaman SECRET Tasnia Tahsin SECRET Maseat Nahar SECRET Ikram Asif Khan Radi SECRET
  • 3. Objectives 3  Aim/Objective Of Project  Apparatus Required  Software Installation Process  Code Installation Process  Working Procedure  Circuit And Schemetic Diagram  Source Code And Result
  • 4. Objective and Apparatus  Objective: The purpose of this lab was to become comfortable with the ins and outs of utilizing a breadboard, as well as constructing a proper seven- segment display.  Apparatus Required: The following electronics components are required. 4 Arduino Uno Board USB B Cable 7 Segment Display (1 pc) Resistor (1kΩ) (7pcs) Jumper Wires (8pcs) Battery Power Source
  • 5. 5 Software Installation Process Step-1: Install the appropriate Arduino Software for your desktop operating system from the official website of Arduino. The link is given below: https://www.arduino.cc/en/Main/Software
  • 6. 6 Software Installation Process Step-2: After completing the download connect your Arduino board with the USB B wire to your computer. You will see the power LED on once connected. It will help the software to detect the Arduino board automatically with Port No as well.
  • 7. Software Installation Process 7 Step-3: Click on Arduino icon and it will start the installation. During the installation it will require some permissions. So click on accept or next or yes as per the dialog box will appear. If you face any problem is install the software you can see the following tutorials For windows 7: https://www.youtube.com/watch?v=ylPpO-NG2pA For windows 10: https://www.youtube.com/watch?v=pfUR7Qa88sk Now you are done with the software installation process.
  • 8. 8Code Installation Process Step-1: Connecting Arduino to the computer 1.1 Open the Arduino IDE by clicking on the Arduino Icon. 1.2 Connect your Arduino to the computer using the USB cable 1.3 Make sure to select the right board (see below screen-shot)
  • 9. 9Code Installation Process 1.4 Then select the correct serial port. (see below screen-shot)
  • 10. 10Code Installation Process Step-2: Open a new window. Write your code for blinking single LED. 2.1 Then click on the Sketch menu and check for any typos / errors using verify button and Compile to the machine language if the verification is successful.
  • 11. 11Code Installation Process 2.2 If the above process is successful, you should see the message in the status bar showing that the compilation is successful. 2.3 Now upload your program to the Arduino by clicking upload button in the Sketch menu. 2.4 You might face some issues if you have not selected a correct board/serial port. So please make sure you went through the part 3 and 4 carefully. Now you are all set complete the necessary electrical connections as per the circuit diagram.
  • 12. 12Working Procedure: 1. After completing software installation and coding upload unplug the board. 2. Connect the output pin no 1, 2, 3, 4, 5, 6, 7 of Arduino board with 7 resistors on the bread board. 3. Connect the resistors with the A, B, C, D, E, F and G terminal of the 7 segment display according to the pin no sequence of Arduino Board. 4. Connect any of two negative terminals of the 7 segment display with the ground pin of Arduino board. 5. Supply power to the Arduino board by USB B wire or external power port.
  • 15. 15Source Code int a = 1; int b = 2; int c = 3; int d = 4; int e = 5; int f = 6; int g = 7; void setup() { pinMode(a, OUTPUT); pinMode(b, OUTPUT); pinMode(c, OUTPUT); pinMode(d, OUTPUT); pinMode(e, OUTPUT); pinMode(f, OUTPUT); pinMode(g, OUTPUT); }
  • 16. 16Source Code void loop() { digitalWrite(a, LOW); digitalWrite(b, HIGH); digitalWrite(c, HIGH); digitalWrite(d, LOW); digitalWrite(e, LOW); digitalWrite(f, HIGH); digitalWrite(g, HIGH); }
  • 17. 17Result  After making all the connections and uploading the code to the Arduino board we have found that the connected 7 segment display is showing the single output digit as per the coding. Precaution:  All the connections should be tight and proper.  Handle the Arduino board carefully.  Check the connection once again before powering the Arduino board.  Switch off the Arduino board after performing the Experiment.