Docsity

Circuit Report four_, Lab Reports of Electronic Circuits Design

Toggle sidebar
bg1
First Name: Om
Last Name: Parbadia
UF-ID Number: 35783378
1. Part I BLINK.
After downloading the software (pages 9-21 from ELEGOO Manual), test the BLINK code in your Arduino
board (pages 31-38). Provide short answers to the following questions:
a. How the delay(1000); function in the Blink code affects the LED’s behavior. What happens when you
change the delay value to delay(500); or delay(2000);? (1 pt)
The delay(1000) function in the Blink code pauses the program for 1000 milliseconds. When the
delay value is changed to 500 or 2000, the program pauses for 500 milliseconds and 2000
milliseconds respectively.
b. How did you confirm that your Arduino board and LED are working correctly? What troubleshooting
steps did you take if the LED did not blink as expected? (1 pt)
The code was not transferring correctly. I used online manuals for the Arduino Uno R3 and the
Arduino IDE software to figure out the issue of the software not transferring. It turns out that I had
the wrong board and port selected in the software. I then switched to the correct board and port to
then see the LED blinking successfully.
c. If you wanted the LED to blink faster/slower, which numbers would you change in the code? How do
they affect the blinking speed? (0.5 pts)
To have the LED blink faster, decrease the number inside both the ‘delay’ functions. To make the
LED blink slower, increase the number inside both the ‘delay’ functions. This affects the blinking
speed as this number indicates the time in between the blinking cycles.
2. Part 2. LED
Read pages 39-45 in ELEGOO Manual
a. Record a short video (less than a minute) of the LED with the 3 different resistors and describe how
does changing the resistor value affect the brightness of the LED?. Include your UF ID number in the
video. (1 pt)
b. How can you determine the positive (anode) and negative (cathode) leads of an LED? (short answer)
(1 pt)
The longer leg is the anode (positive), and the shorter leg is the cathode (negative).
c. What are the values of the following resistors? Use the resistor color code chart to determine the
values (page 42)
a. 2500 Ω ±10%
b. 339 Ω ±1%
red green red silver
orange orange white black brown

Partial preview of the text

Download Circuit Report four_ and more Lab Reports Electronic Circuits Design in PDF only on Docsity!

First Name: Om Last Name: Parbadia UF-ID Number: 35783378

1. Part I BLINK. After downloading the software (pages 9-21 from ELEGOO Manual), test the BLINK code in your Arduino board (pages 31-38). Provide short answers to the following questions: a. How the delay(1000); function in the Blink code affects the LED’s behavior. What happens when you change the delay value to delay(500); or delay (2000) ;? ( 1 pt) The delay(1000) function in the Blink code pauses the program for 1000 milliseconds. When the delay value is changed to 500 or 2000, the program pauses for 500 milliseconds and 2000 milliseconds respectively. b. How did you confirm that your Arduino board and LED are working correctly? What troubleshooting steps did you take if the LED did not blink as expected? ( 1 pt) The code was not transferring correctly. I used online manuals for the Arduino Uno R3 and the Arduino IDE software to figure out the issue of the software not transferring. It turns out that I had the wrong board and port selected in the software. I then switched to the correct board and port to then see the LED blinking successfully. c. If you wanted the LED to blink faster/slower, which numbers would you change in the code? How do they affect the blinking speed? (0.5 pts) To have the LED blink faster, decrease the number inside both the ‘delay’ functions. To make the LED blink slower, increase the number inside both the ‘delay’ functions. This affects the blinking **speed as this number indicates the time in between the blinking cycles.

  1. Part 2. LED** Read pages 39-45 in ELEGOO Manual a. Record a short video (less than a minute) of the LED with the 3 different resistors and describe how does changing the resistor value affect the brightness of the LED?. Include your UF ID number in the video. ( 1 pt) b. How can you determine the positive (anode) and negative (cathode) leads of an LED? (short answer) ( 1 pt) The longer leg is the anode (positive), and the shorter leg is the cathode (negative). c. What are the values of the following resistors? Use the resistor color code chart to determine the values (page 42) a. 2500 Ω ±10% b. 339 Ω ±1% red green red silver orange orange white black brown