Arduino uno Quiz Flashcards
Arduino Power Ports
- 3.3V and 5V Ports: Provide power to your circuit.
- GND Ports: Provide ground to your circuit.
Data Transmission Ports
- Numbered Ports (Top): Used for transmitting/receiving data.
- Ports with ‘A’ (Bottom): Also used for transmitting/receiving data.
Digital vs. Analog Signals
Digital Ports (PWM-): Provide on/off (high/low) signals.
Analog Ports (‘A’): Provide a range of values.
Breadboard Power Setup
Vertical Areas (Red +, Black -): For connecting power from the Arduino board to the breadboard.
Building Circuits on Breadboard
Center Section: Divided into columns (a-e on left, f-j on right) for building circuits with LEDs, resistors, etc.
Resistors
Function: Restrict electrical flow.
Color Bands: Show resistance value and tolerance.
LED Basics
LED: Stands for Light-Emitting Diode.
Cathode (Shorter Leg): Negative.
Anode (Longer Leg): Positive.
RGB LED
4 Legs: One for each color (Red, Green, Blue) and one for the negative feed.
Potentiometer
Also Known As: Variable resistor.
Analog Output: Provides a range of values based on rotation.
Photoresistor
Function: Adjusts resistance based on the amount of light it senses.
Arduino Sketch
- Sketch: File where Arduino code is written.
- Verification Button: Click to check for errors before uploading.
- Upload Button: Upload code to the circuit.
Digital Pins (0-13)
Purpose: Used for sending or receiving digital signals (HIGH or LOW).
Analog Pins (A0-A5)
- Purpose: Used for reading analog signals (voltage levels) from sensors.
- Functionality: Each analog pin can read values between 0 and 1023, corresponding to a voltage range from 0V to 5V.
Reset Pin
Purpose: Resets the Arduino board when connected to ground.
delay Function:
Purpose: Pauses the program for a specified duration.
Example: delay(1000) keeps the LED on or off for 1 second (1000 milliseconds).