1/24
A set of 25 fill-in-the-blank practice flashcards reviewing core Arduino concepts, programming functions, circuit connections, and troubleshooting for the automatic parking gate project.
The main job of the Arduino microcontroller is to __________.
read inputs and control outputs
Between an LED, a servo motor, a buzzer, and an ultrasonic sensor, the component that functions as an input is the __________.
ultrasonic sensor
Between an HC-SR04 sensor, push button, light sensor, and servo motor, the component that acts as an output is the __________.
servo motor
In Arduino circuits and pin labels, GND stands for __________.
Ground
The Arduino function that runs only once when the program starts is __________.
setup()
The Arduino function that repeats continuously while the board is running is __________.
loop()
The code instruction digitalWrite(redLED, HIGH); causes the red LED to __________.
turn on
The command delay(1000); instructs the Arduino to wait for __________.
1000 milliseconds
On an HC-SR04 ultrasonic sensor, the pin that sends the ultrasonic pulse is __________.
TRIG
On an HC-SR04 ultrasonic sensor, the pin that receives the returning pulse is __________.
ECHO
In the parking-gate project, the Arduino pin used to control the servo signal is __________.
D9
In the parking-gate project, when a car is detected within 15 cm, the gate should __________.
open
The instruction gateServo.write(90); causes the servo motor to __________.
move to 90 degrees
The servo, sensor, and Arduino must share a common ground connection because they need the same __________.
electrical reference
Before changing or moving any wires in your circuit, you should always __________.
unplug the Arduino
Under the parking gate code logic, when the distance measured is 10 cm, the gate moves to __________.
90 degrees
Under the parking gate code logic, when the distance measured is 30 cm, the gate moves to __________.
0 degrees
The parking gate program checks that distanceCm > 0 in order to __________.
ignore invalid distance readings
In the automatic parking gate system, the process step occurs when the Arduino compares the distance measurement with __________.
15 cm
In the parking-gate project wiring, the HC-SR04 TRIG pin connects to pin __________ on the Arduino.
D7
If the servo motor rotates in the wrong direction, you can correct it in code by switching the values assigned to __________.
openAngle and closedAngle
If the HC-SR04 sensor reading consistently outputs -1, two signal wires you should inspect are the __________ wires.
TRIG and ECHO
If the Arduino board resets whenever the servo motor attempts to move, the servo may be drawing __________.
too much current
While an input device sends information to the Arduino, an output device __________.
performs an action
An example of an output component that can be added as an improvement to the parking gate is a warning __________.
buzzer