Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

Robotics & Parametric Design

Do Now

Look closely at the following lines of code which was adapted from the interactive System code we worked with on yesterday. What is the purpose of the Serial.println() method?

Do Now

else if (systemFunction == 2){

Sensor_value = analogRead(SensorPin);

Serial.println(Sensor_value);

delay(200);

brightness = map(Sensor_value, Limit_Low, Limit_High, 255, 0);

analogWrite(ledPin,brightness);

}

When things aren't working the way we'd hoped, We need a way of determining what the system is returning to troubleshoot accurately. Serial.println() allows usto see what is being returned.

Today's Agenda

today's Agenda

  • Assignment 01.17: Serial Communication - Interactive System Due this class period.

Lesson Objective

Lesson Objective

I can use serial communication to create an interactive system.

Mastery Skills

  • MS 1D: Given a CAD tool, I can operate and identify appropriate uses of that tool.
  • MS 3A: Given a problem, I can create a function-contract that performs an operation that will solve that problem.

Serial Communication: Interactive System Last Day

Assignment

Assignment 02.27 Interactive System

  • Part 1: Create the circuit and write the code for control an actuator through the Serial monitor in Tinkercad Circuits
  • Part 2: Create the same circuit in the real world and program the circuit in Arduino Create.
  • Part 3: Answer the reflection questions on this worksheet, and complete all three challenges.*

To complete:

1. Pick up your assigned Macbook (you must work with a partner for this assignment)

2. Go to classroom.google.com and open 02.27 Interactive System

3. Read all instructions, answer all questions, and answer all screenshots.

SEATING CHART

Please find your seat and take out a writing utensil and notebook.

SEATING CHART

Learn more about creating dynamic, engaging presentations with Prezi