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
8 questions
Minecraft Education - Demo Lesson

Quiz
•
6th - 8th Grade
15 questions
Lego Quiz

Quiz
•
6th - 8th Grade
10 questions
EXAMEN 8VO

Quiz
•
6th - 8th Grade
10 questions
13 . Mobile control Robot car

Quiz
•
6th - 8th Grade
10 questions
สอบเก็บคะแนน

Quiz
•
6th - 8th Grade
10 questions
Python for Beginner - Module 1

Quiz
•
7th Grade
12 questions
Tracy 🐢 CodeHS

Quiz
•
5th - 8th Grade
14 questions
Sensors and Motors

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade