Assignment 3

Microcontroller Programming

The intention of this assignment was to grasp a decent hands-on understanding of Arduino. The task was to light up a set of nine LEDs in a given manner. The task has to be accomplished in teams of two. My partner for this assignment has been Medha Kadian (2019DDS6011).


1. With the press of one push button, the letters of our name should blink every 1000 ms.

2. With the press of another push button, all LEDs blink ON and OFF with a delay of 1000 ms five times.

3. Extra Credit : Printing the letter typed on serial monitor.


Components used :


1. Breadboard : It is the base used for connections especially prototyping


2. Jumper Wires :Connectors for various components


3. LED (Light Emitting Diodes) : Output components in our task


4. Resistors : To control the current flowing through the LEDs


5. Arduino Uno Kit :To run the Arduino code as per desired output


Being from Electrical Engineering background, I have had some prior experience in Arduino Coding which made me comfortable with the current task. Following are the steps I followed for completing this assignment :


Assembling the components :


We arranged the LEDs in a 3*3 grid, connecting the positives of each LED to resistors and negatives of each LED to the ground strip. From each resistor, the LEDs were connected to the digital pins on Arduino. Two push buttons were also connected, one to trigger the letter naming sequence and the other to make all LEDs blink together five times.




Writing the code : The code used for this assignment can be seen in the link below :


Testing for the code :The code was tested and displayed the results as can be seen in the videos below :






The code for the above results can be found here :


Arduino Code for LED name blinking
Arduino Code for Serial Monitor

Thank You!