In the code line:
switchState = digitalRead(2);
what does the number 2 represent?
Pin Number
See Image 2.
What do you call this circuit component and what value?
Resistor, 220 Ohms
In Image 5:
What type of input value does the temperature sensor (connected to A0) sends to the Arduino?
Analog or Digital
Analog
What is the name of the device we have been working on?
Arduino
in the line code:
digitalWrite(3,HIGH);
What is the pin# being configured on the code and voltage (Value of HIGH) assigned to that pin#?
Pin # 3
Voltage = 5V
What do you call the board we typically place our circuit components?
Hint: rows are connected
Bread board
In Image 6:
if PIN 2 is connected to a push button,
and PIN 3, 4, 5 are connected to LEDs.
Is your Push Button an INPUT or OUTPUT?
INPUT
In an Arduino, what is the voltage corresponding to HIGH and the voltage corresponding to LOW?
HIGH = 5V
LOW = 0V
What do you call the term for assigning a name to store data values?
Hint: values "assigned" can be varied in the code.
Variable
What is the term that is defined as "fundamental form of energy produced from moving electrons"?
Electricity
In Image 3:
under which condition "switchState" (push button) will you see the GREEN LIGHT ON?
NOT Pressed / LOW
In Image 8:
Identify the series circuit and parallel circuit.
Left: series
Right: Parallel
in this code:
for(i=2; i<5; i++)
How many iterations will this loop run?
3 times
What are the two types of circuit?
Parallel and Series
From the circuit, identify the Input(s) and Output(s) pins.
Hint: when push button is pressed, LEDs light up.
Outputs: Pin 3, 4, 5
What do you call a port/channel that allow Arduino to send/receive data bit-by-bit to a computer?
Serial
See Image 7:
if sensorVal = 1024, what would be the printed value of voltage?
Voltage = 5 V
What is the name of the Law/Theory that equates voltage = current x resistance?
Ohm's Law
See Image 4:
if Temperature = 23, and baselineTemp = 20,
What will be the state (in terms of LOW/HIGH) of PIN 2, 3, and 4?
PIN 2 = HIGH
PIN 3 = LOW
PIN 4 = LOW
Identify 2 out of the three types of conditional statements.
1.) If
2.) If, Else
3.) If, Else if