Creativity and Computation Lab
Aruduino Uno
Practice LED and buttons on an Arduino
In my first week, I understood the working of an Arduino and how it interacts with the components on the breadboard. The following were the stages of my work:
- I thought of the application I wanted to achieve
- I created a circuit diagram which showed the application in practice
- I connected the components on a breadboard and whole connected to the Arduino
- I wrote the relevant code on the Arduino
- I uploaded the code to the circuit to run the application
Here are the applications I worked with:
- Case 1: Parallel Connection of LEDs and a button to turn them on and off
- Case 2: Series connection of the LEDs and a button to turn them on and off
- Case 3: Parallel connection of 3 LEDs and make them glow alternatively like a traffic signal
- Case 4: Parallel connection of 2 LEDs and make them glow alternatively with a button trigger
Case 1:
Case 2:
Case 3:
Video of the work:
Code for Case 3:
LED Traffic Light without buttons
Case 4:
Code for Case 4: