302 LAB REPORT #06 (Thinkercad)
302 LAB REPORT #06 (Thinkercad)
302 LAB REPORT #06 (Thinkercad)
Lab Report:06
Objective: The main purpose of this experiment is to get familiarized with the photoresistor and
create a smart street light using Arduino.
4. Input/Output Pins: This category’s pins are Digital pins 0-13. These pins used as input or
output pins.
5. Serial: It has two pins. One is Rx it uses as 0 and another one is Tx it uses as 1. And these
pins are basically used to receive and transmit TTL serial data.
6. External Interrupts: Its pins names are 2,3. These are used to trigger an interrupt.
7. PWM: Its pins name is 3,5,6,9,11. It Provides 8-bit PWM output.
8. SPI: This category’s pins are 10 (SS), 11 (MOSI), 12 (MISO) and 13 (SCK). And these
are Used for SPI communication.
9. Inbuilt LED: It pin name as 13. It uses to turn on the inbuilt LED.
10. TWI: This category’s pins are A4 (SDA), A5 (SCA). And used for TWI communication.
11. AREF: This pin use to provide reference voltage for input voltage.
In this experiment the photoresistor lead is connected to the 5V of the Arduino, the GND lead of
the photoresistor is connected with GND and A5. Then we have connected all the equipment’s
following the fig.1. Then we write the code in (fig.2) and completed the experiment.
Conclusion: This experiment teaches us about using of Thinker CAD. All of the things of
Arduino and how a Photoresistor works.
References:
1. https://components101.com/microcontrollers/arduino-uno
2. https://youtu.be/lv6Uhk1mRBA