Arduino IDE and motors

Quiz
•
Computers
•
7th Grade
•
Easy
Prism Academy undefined
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Name the Motor Driver you used to build your Robot?
L298P
L293D
L298N
Mx304
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you connect a DC motor to the L298N motor driver?
Connect the motor terminals to IN1 and IN2, and ENA to OUT1.
Connect the motor to the power supply and the L298N to the microcontroller.
Connect the motor terminals to OUT1 and OUT2, IN1 and IN2 to the microcontroller, ENA to a PWM pin, and power the L298N.
Power the L298N directly from the motor terminals.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many DC motors can a single L298N control at the same time?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function sets the motor speed in the L298N library?
digitalWrite()
setSpeed()
motorSpeed()
analogWrite()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
#include <L298N.h>
L298N motor(10, 8, 9); // ENA, IN1, IN2
void setup() {
motor.setSpeed(200);
motor.forward();
}
void loop() { }
Run motor backward at speed 200
Run motor forward at speed 200
Stop the motor
Run motor forward at full speed
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
motor.setSpeed(255);
motor.backward();
delay(2000);
motor.forward();
delay(2000);
motor.stop();
Motor runs forward for 2s, backward for 2s, then stops
Motor runs backward for 2s, forward for 2s, then stops
Motor stops immediately
Motor alternates direction forever
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will this loop run?
for (int i = 0; i < 5; i++) { Serial.println(i); }
3
5
4
6
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
KS3 Hardware & Components

Quiz
•
7th - 9th Grade
12 questions
Scratch interface

Quiz
•
5th - 9th Grade
15 questions
Programming Vocabulary

Quiz
•
6th - 8th Grade
10 questions
Intermediate Robotics: Programming

Quiz
•
6th - 8th Grade
12 questions
S1 code.org Knowledge Check 2

Quiz
•
7th Grade
10 questions
15. Robot Car Assembly and Movements - RoboticSchools

Quiz
•
6th - 8th Grade
10 questions
Pear Deck and Progress Journals

Quiz
•
1st - 12th Grade
8 questions
Drive Forward and Reverse Build Quiz

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade