1/27
Vocabulary flashcards covering the operation, hardware structure, circuit schematics, and Arduino programming of potentiometers, photoresistors (LDRs), and RGB LEDs.
Potentiometer
A type of variable resistor used in Arduino circuits to adjust voltage and control the flow of current or voltage.
Potentiometer Wiper (Signal Terminal)
The terminal of a potentiometer that outputs a variable voltage that changes based on the mechanical position of the wiper arm.

Rotary Potentiometer
A form of potentiometer primarily used to provide an adjustable supply voltage by turning a control shaft in either direction to change resistance.

Linear Potentiometer
A variable resistor whose resistance value is adjusted by moving a slider or wiper along a straight (linear) path.

Digital Potentiometer
A potentiometer component that allows adjustment of resistance and control of a voltage splitter using digital signals.
int
The primary Arduino data type syntax used for integer number storage, followed by a variable name and terminating with a semicolon.
potvalue
A user-defined variable commonly used to store the numerical reading retrieved from a potentiometer pin via the analogRead() function.
void setup()
A mandatory Arduino function containing initialization code and configuration statements, such as pinMode(), executed once when the program starts.
void loop()
A core Arduino function that continuously executes the written block of commands repeatedly as long as the board is powered.
Serial.begin(9600)
A setup statement that initializes serial communication at a data transmission speed of 9600bps (baud), the default baud rate in Arduino.
Serial.print()
A function that sends and prints data to the Arduino Serial Monitor horizontally (from left to right).
Serial.println()
A function that sends data to the Arduino Serial Monitor and appends a line break, displaying successive outputs vertically (from top to bottom).
map()
A built-in Arduino function used to re-map a number from one range to another using the syntax map(value, fromLow, fromHigh, toLow, toHigh).

Photoresistor
A light-controlled variable resistor (also called a photocell) that allows interaction with the external environment based on ambient light intensity.
Photoresistor Light-Resistance Relationship
The characteristic where a photoresistor exhibits higher electrical resistance under low light intensity, and lower electrical resistance under high light intensity.
analogRead()
An Arduino function that reads the incoming voltage from a specified analog pin and converts it into an integer value ranging from 0 to 1023.
Color
The appearance of objects induced by the different qualities of light they reflect or emit, requiring light to be visible.
Primary Colors
Three baseline hues on the color wheel that cannot be created by mixing other colors and must be acquired ready to use.
Secondary Colors
Hues created on the color wheel by combining two of the three primary colors.
Tertiary Colors
Hues produced on the color wheel by mixing equal proportions of one primary color and one secondary color.

RGB LED
A single electronic package containing three separate semiconductor LEDs (Red, Green, and Blue) capable of generating nearly any color when their intensities are blended.
Pulse Width Modulation (PWM)
A technique used to control output power and simulate analog levels by switching a digital signal ON and OFF at high frequency and modulating the width of the ON pulses.
Duty Cycle
The proportion of time a digital signal remains in the ON state over a complete period; 50% duty cycle corresponds to roughly 2.5V, while 0% is fully OFF and 100% is fully ON (5V).
Common Cathode RGB LED
An RGB LED configuration where the cathode leads (-) of all three internal diodes are joined together into a single external ground lead.

Common Anode RGB LED
An RGB LED configuration where the anode leads (+) of all three internal diodes are tied together into a single common positive voltage supply pin.
analogWrite()
An Arduino function that outputs a PWM signal with an 8-bit duty cycle value ranging from 0 to 255 to adjust LED brightness or motor speed.
Arduino PWM Pins
The specific digital I/O pins on the Arduino Uno/Nano (pins 3, 5, 6, 9, 10, and 11) designated with a tilde symbol (~) that can output PWM signals.
Void Function
A function in programming that performs actions or executes commands without producing or returning a value to the caller upon completion.