100% found this document useful (1 vote)
147 views

American International University-Bangladesh Department of Computer Science

This document describes a laboratory experiment to build a decade counter using an Arduino Uno microcontroller and a 7-segment display. The objective is to interface the 7-segment display with the Arduino. The experiment includes connecting the devices, writing code to display numbers from 0-9 on the 7-segment display as the counter increments, and simulating the circuit using Proteus software. Flowcharts are provided to show the logic for displaying even and odd numbers. The discussion evaluates learning objectives about controlling the 7-segment display with Arduino and simulating the circuit in software.

Uploaded by

md Reflection
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
100% found this document useful (1 vote)
147 views

American International University-Bangladesh Department of Computer Science

This document describes a laboratory experiment to build a decade counter using an Arduino Uno microcontroller and a 7-segment display. The objective is to interface the 7-segment display with the Arduino. The experiment includes connecting the devices, writing code to display numbers from 0-9 on the 7-segment display as the counter increments, and simulating the circuit using Proteus software. Flowcharts are provided to show the logic for displaying even and odd numbers. The discussion evaluates learning objectives about controlling the 7-segment display with Arduino and simulating the circuit in software.

Uploaded by

md Reflection
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/ 9

American International University- Bangladesh

Department of Computer Science

Course Name MICROPROCESSOR AND EMBEDDED SYSTEMS

Assignment Type Laboratory Task No. 08

Title Building a decade counter using Arduino Uno and a 7-segment display.

Lecturer Name MD. ALI NOOR

Semester Summer 2020-21

Submission Date 07.08.2021

Section K

Group No. 1

Submitted By: Talukder Wasimul Islam


ID: 17-33275-1

No Group Members Student ID Date

01 Talukder Wasimul Islam 17-33275-1


02 Islam,Md Ariful 18-37520-1
03 Khan Ali Awsaf 17-34520-2
04 Tanjina Osman 17-35610-3 7.08.2021
05 Ishrat Jahan 18-37610-1
06 Fahim, Md 18-38396-2
07 Ahamed, Istiak 18-37475-1
Title: Building a decade counter using Arduino Uno and a 7 segment display.

Introduction:

The objective of this experiment is to interface a 7-segment display with Arduino Uno.

Equipment-
• Arduino IDE
• Arduino Uno (R3) board or Arduino mega 2560.
• 7 segment display (HDSP5503).
• LED
• WIRE

Theory and Methodology:

Arduino is an open-source platform used for creating interactive electronics projects. Arduino consists of
both a programmable microcontroller and a piece of software, or IDE (Integrated Development
Environment) that runs on your computer, used to write and upload computer code to the microcontroller
board. Arduino Uno also doesn’t need a hardware circuit (programmer/ burner) to load a new code into
the board. We can easily load a code into the board just using a USB cable and the Arduino IDE (that
uses an easier version of C++ to write a code).

Pin configuration of the board (Arduino Uno R3) and Arduino Mega 2560:

1
Basis of a 7-segment display:

A seven-segment display consists of 7 LEDs/ segments all arranged in the shape of the digit “8”. Most of
the segment display has 8 segments (with a dot at the right side of the digit representing the decimal
point. All of the seven segments are named by sequence from “A” letter to “G” and “DP” for the decimal
point. And each of the segments can be controlled as individually just like a regular LED.

7 Segment Display
Apparatus:

1) Arduino IDE (any version) Software


2) Arduino Uno (R3) board or Arduino
mega 2560.

2
3) 7 segment display (HDSP5503).

Flowcharts: -

1. (for 0–9-digit display)

3
2. (For even digits)

3. (For odd digits)

4
Result and simulation: -

1. (for 0-9 digits display)

5
2. (For even number display)

6
3. (For odd digits)

7
Discussion: In this experiment we learned about the design of a decade counter using Arduino Uno and
a 7-segment display. The main goal of this experiment is to familiarize with the Arduino Uno and the 7-
segment display and how to control it, the control system implementation using Arduino and OLED
display. First of all we have used proteus software for simulating this experiment. we have learn about
schematic diagram and Flow chart . there are some errors due to human error those were fixed. As we
can’t do it in physically, we have to rely on software

Reference(s):
1) https://www.arduino.cc/.
2) https://www.labcenter.com/visualdesigner/

You might also like