Microprocessor Lab 3 - Blink
Microprocessor Lab 3 - Blink
Blink, will turns an LED ON for one second, then OFF for one second, repeatedly. it is attached to
digital pin 13 or other pins.
Activities:
OR
OUTPUT: LED
2. Material
● LED, Long Leg (+), Short Leg (-)
● Resistor, 220 ohms, 300 ohms, 1k ohms
● Arduino Uno Board
● Breadboard
● Wire connector
● USB cable
3. Connection
● Put LED into Breadboard
● Connect resistor in (-) part of LED
● Connect resistor into any GROUND of Arduino Uno
● From Arduino Uno Pin 13, connect it into (+) part of LED
4. Procedures
● A simple Blink laboratory between the Laptop and Arduino Uno via USB cable.
● Open the Arduino Uno IDE Software
● Connect the Arduino Uno
● Write the Program Codes entitled “Blink”
● Click the verify
If Error, double check the codes
No Error, proceed the procedures
● Click the upload (to run your work)
● Every time you change in some program codes, click again the UPLOAD.
NOTE:
1
Department of Computer Engineering
MICROPROCESSOR
● Every time you fix your device, Disconnect the USB cable for safety.
5. Take a photo of the finished connection between the Arduino Uno and Breadboard.
6. Take a photo of the running Arduino Uno device
7. Take a photo of the finished connection between the Arduino Uno, Breadboard and yourself.
8. Take a short video while running the Arduino Uno and other device.
9. Save in PDF File and Upload in Google Classroom.
NOTE:
● To Check the LED If it is working properly
Remove the wire from Digital PIN and Put into 5Vdc
If it is working, it will TURN-ON, otherwise it is defective
Conclusion
We successfully completed the Blink laboratory exercise, which demonstrated the basic functionality of an
Arduino Uno board in controlling an LED. By writing and uploading the Blink program code, we observed
the LED turning ON and OFF repeatedly, with a one-second delay between each state. This hands-on
experience reinforced our understanding of the Arduino platform and its applications in interactive
electronic systems.
Throughout this exercise, we gained a deeper understanding of the Arduino's capabilities and limitations.
We verified that the LED was working properly by connecting it to the 5Vdc pin, and we ensured that the
circuit was set up correctly using a breadboard and jumper wires. This attention to detail helped us to
identify and troubleshoot potential issues, and we were able to successfully complete the exercise.
Reflection
As computer engineering students, we gained valuable experience in programming and interfacing with
electronic components using the Arduino Uno board. Through this activity, we learned how to write simple
program codes, verify and upload them to the Arduino board, and troubleshoot common issues.
We also developed problem-solving skills and learned to work with common electronic components, such
as LEDs and resistors. By following the step-by-step procedure and taking photos and videos of our
setup, we documented our progress and reflected on our learning experience. This exercise helped us to
develop our critical thinking skills, as we had to analyze the circuit and identify potential issues.
Additionally, we learned the importance of patience and persistence in debugging and troubleshooting
electronic circuits.
2
Department of Computer Engineering
MICROPROCESSOR
RESULT:
3
Department of Computer Engineering
MICROPROCESSOR
4
Department of Computer Engineering