Experiment 5
Experiment 5
Experiment 5
Title: Interfacing seven segment display with Arduino Board Session Date: 16/07/2022
Submission Due: End of laboratory class, submit the lab reports at least 10 minutes before the
end of laboratory class.
Total Marks = 10 marks
Marks will be given only to students who attend and participate during 2-hour laboratory class.
Submission on Google classroom is mandatory as an evidence of participation.
Marking Criteria:
Student Name ID
COMPONENTS :
THEORY
The Arduino Uno is an open-source microcontroller board based on the
Microchip ATmega328P microcontroller and developed by Arduino.cc. It has 14 digital
input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz
ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button.
It contains everything needed to support the microcontroller; simply connect it to a
computer with a USB cable or power it with an AC-to-DC adapter or battery to get
started.
Seven-Segment Display:
CONNECTION DETAILS
void setup() {
Serial.begin(9600);
for(int i = 0; i <= 9; i++) {
pinMode(pins[i], OUTPUT);
//Serial.println(pins[i]);
}
}