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

SEATING CHART

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

SEATING CHART

Do Now

Answer in your notes (2 min): What does this mean?

  • RGB (255, 0, 0)
  • RGB (0, 255, 0)
  • RGB (0, 0, 255)
  • RGB (0, 0, 0)
  • RGB (255, 255, 255)
  • RgB (120, 40, 201)

Do Now

Today's Agenda

today's Agenda

  • Exploration: RGB LED Wire and program

Lesson Objective

Lesson Objective

I can use appropriate resources to code and build a circuit.

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.

Challenge: RGB LED

RGB LEDs

For Tinkercad RGB LEDs:

The Common Cathode (longest leg) is connected to ground, while each of the remaining legs are connected to digital pins.

For RGBs with a Common Anode (our real-world RGBs):

When the digital pins of the color legs are set to high (5V), there is no potential difference, so current does not flow through the RGB LED. The digital pins must be set to low (0V) in order for current to flow in this case.

  • NOTE: Each leg (besides the common anode) must have its own resistor!

For both types, you can use PWM to vary the potential at each leg in order to achieve different colors.

Challenge: RGB LED

Assignment

Challenge

Figure out a way to get the RGB LED to cycle through four different colors. (Apprentice)

Get an RGB LED to fade from one color to the next (Practitioner)

Extension (if you complete Level 1): Connect three potentiometers to allow you to control the color of the RGB LED within your circuit! (Professional)

To begin:

1. Pick up your assigned Macbook (partner assignment)

2. Go to classroom.google.com and open 02.18 Arduino Challenge RGB LED

3. Read all instructions, answer all questions, and answer all screenshots. For today, you'll be working with physical Arduinos, but are welcome to build your initial prototype in Tinkercad Circuits.

Learn more about creating dynamic, engaging presentations with Prezi