20EL52

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Name: Haji Saleh

Roll No: 20EL052


Title: Lab tasks
Department:
Electrical Engineering
Submitted to: Engr
Mehran Memon
LAB EXPERIEMENT 6

Display your name and Roll No. on LCD.


LAB EXPERIEMENT 7
Task 1. Display ADC value on LCD using Arduino.
LAB EXPERIEMENT 8
Task 1. Write an ARDUINO program, utilizing the external interrupt of LED.
LAB EXPERIEMENT 9
Task1. Write an Arduino program for serial communication.
LAB EXPERIEMENT 10

Task 1.Write an AVR program, to display EL on the two digits of the 7-


segment.
LAB EXPERIEMENT 11 & 12
Task1. Write an Arduino sketch to get input value from pin4 and pin5 and
turn ON LED connected at pin7. If both the inputs are same, the LED should
turn ON either should be OFF.

Task2. Write an Arduino program the Turn ON and OFF LED connected at pin 12
with delay of D second. (Where the D = Y×100 and Y equal to last numerical digits
of your roll number i.e.: 20ELWXY.
LAB EXPERIEMENT 13 & 14
Task2(a). Consider that a potentiometer is connected to an analog
input pin, write a program that reads that voltage and turns ON a
specific LED according to the given input: a) If voltage is in between
0 to 2, the LED on pin:13 is turned ON.

b) IF voltage is in between 2 to 3.5, the LED on pin:14 is turned ON.

c) If voltage is in between 3.5 to 5, the LED on pin:15 is turned ON.

You might also like