Robotics Practical

0.0(0)
Studied by 5 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

Last updated 1:11 AM on 9/19/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

A0

For challenge 1: flame sensor, Analog Output (A0) pin connect to this.

2
New cards

GND

For challenge 1: flame sensor, Ground (GND) pin connect to this.

3
New cards

5V

For challenge 1: flame sensor, VCC (Voltage) pin connect to this.

4
New cards

A0

Challenge 2: int flameSensorPin = (?) // Pin where the flame sensor is connected (analog pin)

5
New cards

200

Challenge 2: int flameThreshold = (?) // Threshold value for flame detection

6
New cards

13

Challenge 2: int servoPin = (?);       // Pin where the servo motor is connected (LOOK AT IMAGE CAREFULLY)

<p><span style="font-family: UICTFontTextStyleBody">Challenge 2: int servoPin = (?); &nbsp; &nbsp; &nbsp; // Pin where the servo motor is connected (LOOK AT IMAGE CAREFULLY)</span></p>
7
New cards

servoPin

Challenge 2: myServo.attach(?); // Attach the servo motor to digital pin

8
New cards

0

Challenge 2: myServo.write(?);         // Initialize the servo to 0 degrees

9
New cards

INPUT

Challenge 2: pinMode(flameSensorPin, ?); // Set the flame sensor pin as i***t

10
New cards

9600

Challenge 2: Serial.begin(?);       // Begin serial communication for debugging

11
New cards

analogRead

Challenge 2: sensorValue = ??(flameSensorPin); // Read the value from the flame sensor

12
New cards

sensorValue

Challenge 2: ?? = analogRead(flameSensorPin); // Read the value from the flame sensor

13
New cards

flameSensorPin

Challenge 2: sensorValue = analogRead(??); // Read the value from the flame sensor

14
New cards

sensorValue

Challenge 2: Serial.println(??);              // Print the value for debugging

15
New cards

<

Challenge 2: if (sensorValue (?) flameThreshold) {       // If a flame is detected (value is below threshold)

16
New cards

sensorValue

Challenge 2: if (?? < flameThreshold) {       // If a flame is detected (value is below threshold)

17
New cards

flameThreshold

Challenge 2: if (sensorValue < ??) {       // If a flame is detected (value is below threshold)

18
New cards

90

Challenge 2: myServo.write(?);                      // Rotate the servo motor to 90 degrees

19
New cards

1000

Challenge 2: delay(?);                            // Wait for 1 second

20
New cards

0

myServo.write(?);                       // Return the servo motor to 0 degrees

Explore top notes

note
ER Med - Pa
Updated 749d ago
0.0(0)
note
Japanese Term 4 Vocabulary
Updated 137d ago
0.0(0)
note
Animal Nutrition
Updated 565d ago
0.0(0)
note
AP Biology Unit 1 Notes
Updated 413d ago
0.0(0)
note
electricity
Updated 373d ago
0.0(0)
note
ER Med - Pa
Updated 749d ago
0.0(0)
note
Japanese Term 4 Vocabulary
Updated 137d ago
0.0(0)
note
Animal Nutrition
Updated 565d ago
0.0(0)
note
AP Biology Unit 1 Notes
Updated 413d ago
0.0(0)
note
electricity
Updated 373d ago
0.0(0)

Explore top flashcards

flashcards
Biology Chapter 16 Test
57
Updated 1216d ago
0.0(0)
flashcards
World Honors Final Review
70
Updated 1018d ago
0.0(0)
flashcards
Unit 6,7 TACN3
41
Updated 71d ago
0.0(0)
flashcards
Celebraciones
68
Updated 1126d ago
0.0(0)
flashcards
BANDAGING
37
Updated 353d ago
0.0(0)
flashcards
Animal Farm Vocabulary
39
Updated 1154d ago
0.0(0)
flashcards
Biology Chapter 16 Test
57
Updated 1216d ago
0.0(0)
flashcards
World Honors Final Review
70
Updated 1018d ago
0.0(0)
flashcards
Unit 6,7 TACN3
41
Updated 71d ago
0.0(0)
flashcards
Celebraciones
68
Updated 1126d ago
0.0(0)
flashcards
BANDAGING
37
Updated 353d ago
0.0(0)
flashcards
Animal Farm Vocabulary
39
Updated 1154d ago
0.0(0)