Arduino IDE and motors

Arduino IDE and motors

7th Grade

10 Qs

quiz-placeholder

Similar activities

computer virus and its remedy

computer virus and its remedy

7th Grade

14 Qs

7.MS-ETS3-3 Transportations System Overview Vocab

7.MS-ETS3-3 Transportations System Overview Vocab

6th - 8th Grade

10 Qs

Feel like ur in univeristy

Feel like ur in univeristy

4th - 10th Grade

12 Qs

Python Turtle Quiz

Python Turtle Quiz

7th Grade

15 Qs

Finch Movement Review

Finch Movement Review

6th - 8th Grade

12 Qs

vex vr mid project quiz

vex vr mid project quiz

6th - 9th Grade

14 Qs

Parts: Lego Robotics EV3

Parts: Lego Robotics EV3

6th - 8th Grade

8 Qs

EV3 Mindstorms Scratch - Motors, Movements, Wait and Loops

EV3 Mindstorms Scratch - Motors, Movements, Wait and Loops

4th - 7th Grade

13 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?