Button Module Flashcards

1
Q

What is a Button Module in Coding and Robotics?

A

A module that detects when a button is pressed

Used for tasks like starting a motor or turning on a light.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of a Button Module?

A

To let the robot or device know when a human wants something to happen, acting as an input device

Sends signals to the computer or microcontroller.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does a Button Module work?

A

It sends an electrical signal to the microcontroller when pressed and stops when released

Example microcontrollers include Arduino and Raspberry Pi.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is digital input in relation to a Button Module?

A

A setting that allows the button to have two states: ON (pressed) or OFF (not pressed)

Read as HIGH (1) or LOW (0) in coding.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Fill in the blank: When you press the button, the module sends an _______ signal to the microcontroller.

A

electrical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of the ‘setup()’ function in the example code?

A

To set the button pin as input and the LED pin as output

Prepares the pins for interaction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What action does the LED perform in the example code when the button is pressed?

A

Turns on

Controlled by the button’s state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What applications does a Button Module have in robotics?

A
  • Control a robot’s movement
  • Activating actions
  • Programming modes
  • Counting presses

Examples include starting motors, switching modes, and creating scoring systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or False: A button can be used to switch between different programming modes.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an example of a real-life application of a Button Module?

A

Obstacle Avoidance Robots

These robots can use button modules for various control functionalities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a Button Module in Coding and Robotics?

A

A small device that detects when you press or release it, controlling actions in robots or electronic projects

Used for tasks like starting a motor or turning on a light.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of a Button Module?

A

To let the robot or device know when a human wants something to happen, acting as an input device

Sends signals to the computer or microcontroller.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does a Button Module work?

A

It sends an electrical signal to the microcontroller when pressed and stops when released

Example microcontrollers include Arduino and Raspberry Pi.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is digital input in relation to a Button Module?

A

A setting that allows the button to have two states: ON (pressed) or OFF (not pressed)

Read as HIGH (1) or LOW (0) in coding.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Fill in the blank: When you press the button, the module sends an _______ signal to the microcontroller.

A

electrical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the purpose of the ‘setup()’ function in the example code?

A

To set the button pin as input and the LED pin as output

Prepares the pins for interaction.

17
Q

What action does the LED perform in the example code when the button is pressed?

A

Turns on

Controlled by the button’s state.

18
Q

What applications does a Button Module have in robotics?

A
  • Control a robot’s movement
  • Activating actions
  • Programming modes
  • Counting presses

Examples include starting motors, switching modes, and creating scoring systems.

19
Q

True or False: A button can be used to switch between different programming modes.

A

True

20
Q

What is an example of a real-life application of a Button Module?

A

Obstacle Avoidance Robots

These robots can use button modules for various control functionalities.