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

Lesson Objective

Lesson Objective

I can control an actuator with a potentiometer.

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.

Do Now (Answer in your notes): The circuit below shows a photoresistor connect to analog input 0 and an LED connected to digital pin 3. As the code is written, will the readings from the photoresistor be able to turn the LED ON and OFF? Why or why not? Be specific.

Do Now

Arduino Unit - Section 2: Sensors

Section 2 Goals

  • Review Helpful Resources for Arduino Fans
  • Learn how to collect measurements (signals) from sensors, including:
  • Push Button, Photoresistor (LDR), Force- Sensitive Resistor (FSR), and Potentiometer (Pot)
  • Use measurements from a sensor to control and actuator (Simple System)
  • Gain experience using these functions:
  • digitalRead( ), analogRead( ), Serial.println( )

Helpful Resources - as you work in class or at home

  • Common Functions for Arduinos Chart: https://www.teachengineering.org/content/nyu_/activities/nyu_physical_computing/nyu_physical_computing_activity1_common_functions_v2_tedl.pdf
  • Arduino Programming Notebook (SWN): https://playground.arduino.cc/uploads/Main/arduino_notebook_v1-1.pdf
  • Arduino Reference Page: https://www.arduino.cc/reference/en/
  • Google to search for Arduino Help
  • Getting Started with Arduino (PDF book)
  • Learn Electronics with Arduino (PDF book)

Arduino Unit Section 2: Sensors

Sensors!

  • Devices that convert other forms of energy (mechanical, light, etc...) into electrical energy.
  • Use input pins to detect changes in electrical energy.

The Serial Monitor!

A window that allows us to observe the Arduino communicating with the computer.

Arduino Sensors: Potentiometers

Assignment

Your assignment:

  • Part 1: In Tinkercad Circuits simulator, wire the Potentiometer circuit, program, and test your code/circuit.
  • Part 2: In the real world, wire the Potentiometer circuit, enter the code in Arduino Create, verify, upload, and test.
  • Part 3: Answer the reflection questions on this worksheet, and choose two challenges to complete.

To begin:

1. Pick up your assigned Macbook (work with a partner)

2. Go to Google Classroom and open assignment 02.15_Arduino_Potentiometers.

3. Follow all instructions, answer all questions, capture all screenshots.

Learn more about creating dynamic, engaging presentations with Prezi