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

Circuits & Parametric Design

SEATING CHART

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

SEATING CHART

Lesson Objective

Lesson Objective

I can build a circuit with a microcontroller and breadboard.

Missing Quiz 1 - Circuit Diagrams & Electron Flow

Dorian

Angela

Miguel

Steven Perez

Derek Tejada

Do Now: Answer in your notes (2 min) - Based on your experience with the Arduino code over the past two classes, what do you think is the purpose of the following functions?

  • pinMode();

  • digitalWrite();

  • delay();

Do Now

Test the Arduino & Blink

Challenge 2: Figure out how to add a second LED and get it to blink opposite the first LED (when the 1st one is on, the 2nd one should be off).

Challenge 3: Figure out how to add a third LED. Then make each LED blink with a different pattern. For example, make the first LED blink twice fast, then the second LED blink twice at a medium speed, and then third LED blink twice at a slow speed.

Assignment

Assignment 04.02 Test the Arduino & Blink

Your assignment

  • Last day: Complete ALL three challenges - including the programmer challenge.
  • Create the circuit and write your code virtually (ie. in Tinkercad Circuits) FIRST. After you have everything working just right, call me over. I'll check your work and okay you for completing it on the actual Arduino.

To begin:

  • 1. Pick up your assigned Macbook
  • 2. Go to Google Classroom and open 04.02_Test the Arduino & Blink
  • 3. Follow all instructions and answer all questions on the Google Doc worksheet.

Laptop Expectations:

1. ONLY use the laptop number assigned to you. If you do not see your laptop number, please bring that to the teacher's attention.

2. If anything is wrong with the laptop, please tell the teacher right away so that can be documented.

3. Only retrieve laptops when you table has been called.

4. No music/headphones. No charging your phone.

5. Return your laptop to the correct bay and plug it in so it can be fully charged for the next student.

Arduino

Arduino Layout

Some Notes about How Arduinos Work:

  • Once a program is uploaded to the board, it will run forever. Even if power is cut to the Arduino, the program is still stored in the memory of the Arduino and will begin executing once power is returned.
  • The Arduino is usually powered by the computer using a USB cable. It can also be powered using a 9V power adaptor or a 9V battery.
  • The Arduino can be used like a battery to power simple devices (like LEDs) as well as receive signals from devices (like photo resistors). This is done by connecting them to the I/O pins.
  • The digital pins can be used as inputs (for sensors) or outputs (for actuators). However, they are limited in that they only have two settings: “HIGH” (or 5V) and “LOW” (or 0V).*
  • The analog pins are used as inputs only (most sensors will be connected to this type of pin). They can measure a range of values between 0V and 5V.
  • All three ground pins are identical.
  • NEVER allow a direct connection (or short circuit) between any power pin and ground. This permanently damages the Arduino board and could potentially harm you.

Expectations: Retrieving & Returning Electronics components

  • Only retreive Arduino and electronics components when given approval by the teacher.
  • Use care when retreiving, using, and returning the equipment. Keep and care for the arduino box. You will return the arduino inside of the box.
  • Gear MUST be put away at 8 minutes before the end of the period. Failure to do so will result in a reduction in mastery.
  • Place everything neatly back exactly where you found it.

Expectations: Retreiving & Returning Electronics components

Learn more about creating dynamic, engaging presentations with Prezi