Robotics Quiz 9/9/26

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:39 PM on 9/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

17 Terms

1
New cards

GND

negatively-charged pin

2
New cards

3.3V and 5V pin

positively charged pins

3
New cards

1-10+ (digital pins)

input/output

4
New cards

push button

is a mechanical device

used to control an electrical circuit in

which the operator manually presses a

button to actuate an internal switching

mechanism.

5
New cards

digitalRead

checks

the voltage level on a digital

input or the readings. To know

what pin to check

6
New cards

button Status


variable used to store the state of the

pushbutton. It is declared as an

integer and initialized to 0.


7
New cards

int led = 2;
int button = 3;
int buttonStatus ;

full int coding for button

8
New cards

void setup ()
{
pinMode (led, OUTPUT);
pinMode (button, INPUT);
}

full void setup coding for button

9
New cards

void loop ()
{
buttonStatus = digitalRead (button) ;
if (buttonStatus == HIGH)
{
digitalWrite (led, HIGH);
delay (1000);
}
else{
digitalWrite (led, LOW);
}
}

full void loop coding for button

10
New cards

If Statement

compares two things and it

determines whether the comparison is true or false.

When comparing two things in programming, you use two equal signs

==


11
New cards

Else Statement

happens if the original condition is not met

12
New cards

piezo

is an electronic device that produces a voltage that when a

vibration or a mechanical strain is applied, it will be physically deformed.

When a voltage is applied to a _____, it vibrates and produces a sound.

_____________ may be used to detect as well as play tones.

13
New cards

piezoelectric disc

thin metal plate that

vibrates which creates a buzzing

sound

14
New cards

lead type and pin type

2 types of piezo buzzer

15
New cards

int piezo = 2;

full int coding for piezo buzzer

16
New cards

void setup ()
{
pinMode (piezo, OUTPUT);

}

full void setup coding for piezo buzzer

17
New cards

void loop ()
{
tone (piezo, 200);
delay (50);
noTone (piezo);
delay (50)
}

full void loop coding for piezo buzzer