Button Module Flashcards
What is a Button Module in Coding and Robotics?
A module that detects when a button is pressed
Used for tasks like starting a motor or turning on a light.
What is the purpose of a Button Module?
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 does a Button Module work?
It sends an electrical signal to the microcontroller when pressed and stops when released
Example microcontrollers include Arduino and Raspberry Pi.
What is digital input in relation to a Button Module?
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.
Fill in the blank: When you press the button, the module sends an _______ signal to the microcontroller.
electrical
What is the purpose of the ‘setup()’ function in the example code?
To set the button pin as input and the LED pin as output
Prepares the pins for interaction.
What action does the LED perform in the example code when the button is pressed?
Turns on
Controlled by the button’s state.
What applications does a Button Module have in robotics?
- Control a robot’s movement
- Activating actions
- Programming modes
- Counting presses
Examples include starting motors, switching modes, and creating scoring systems.
True or False: A button can be used to switch between different programming modes.
True
What is an example of a real-life application of a Button Module?
Obstacle Avoidance Robots
These robots can use button modules for various control functionalities.
What is a Button Module in Coding and Robotics?
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.
What is the purpose of a Button Module?
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 does a Button Module work?
It sends an electrical signal to the microcontroller when pressed and stops when released
Example microcontrollers include Arduino and Raspberry Pi.
What is digital input in relation to a Button Module?
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.
Fill in the blank: When you press the button, the module sends an _______ signal to the microcontroller.
electrical