Arduino IDE and motors

Arduino IDE and motors

7th Grade

10 Qs

quiz-placeholder

Similar activities

History of Computing (Crash Course Computer Science Episode 1&2)

History of Computing (Crash Course Computer Science Episode 1&2)

6th - 9th Grade

15 Qs

Robotics Quiz 2

Robotics Quiz 2

2nd - 9th Grade

15 Qs

FOR LOOPS and Angles with Tracy (PYTHON)

FOR LOOPS and Angles with Tracy (PYTHON)

7th - 8th Grade

10 Qs

Robotics Fall Semester Test

Robotics Fall Semester Test

6th - 8th Grade

10 Qs

Vex

Vex

7th - 8th Grade

8 Qs

Python Turtle - Knowledge Check

Python Turtle - Knowledge Check

7th - 8th Grade

10 Qs

Robòtica VEX IQ

Robòtica VEX IQ

7th - 9th Grade

8 Qs

Python with Turtle

Python with Turtle

4th Grade - Professional Development

7 Qs

Arduino IDE and motors

Arduino IDE and motors

Assessment

Quiz

Computers

7th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?