10
Name: ______________________________________ ARDUINO: The Open-Source Electronics Prototyping Platform An Arduino is a microcontroller motherboard. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or an incoming Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the Arduino Programming Language and the Arduino Software on your CS desktop computer. Microcontroller: a simple computer that can run one program at a time, over and over again. Motherboard: a circuit printed onto a board allowing communication between attached components. http://www.arduino.cc/en/Tutorial/BuiltInExamples http://forum.arduino.cc/ Arduino is a worldwide community of makers - students, hobbyists, artists, programmers, and professionals – who have gathered around this open-source platform. Their contributions have added up to an incredible amount of accessible knowledge that can be of great help to novices and experts alike. Resources can be found online by doing Google searches, but I the links above will also be valuable and reliable sources to help you learn.

ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

  • Upload
    lythuy

  • View
    254

  • Download
    5

Embed Size (px)

Citation preview

Page 1: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

Name: ______________________________________

ARDUINO: The Open-Source Electronics Prototyping Platform

An Arduino is a microcontroller motherboard. Arduino boards are able to read inputs - light on a

sensor, a finger on a button, or an incoming Twitter message - and turn it into an output - activating a

motor, turning on an LED, publishing something online. You can tell your board what to do by sending a

set of instructions to the microcontroller on the board. To do so you use the Arduino Programming

Language and the Arduino Software on your CS desktop computer.

Microcontroller: a simple computer that can run one program at a time, over and over again.

Motherboard: a circuit printed onto a board allowing communication between attached components.

http://www.arduino.cc/en/Tutorial/BuiltInExamples

http://forum.arduino.cc/

Arduino is a worldwide community of makers - students, hobbyists, artists, programmers, and

professionals – who have gathered around this open-source platform. Their contributions have added

up to an incredible amount of accessible knowledge that can be of great help to novices and experts

alike. Resources can be found online by doing Google searches, but I the links above will also be

valuable and reliable sources to help you learn.

Page 2: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

Project Brief:

Each pair-programming team will check out one Arduino UNO R3 Starter Kit. Over

the course of four weeks you will use resources available (from Eric and the Arduino

open-source community) to create a fully operational circuit (programmed using the

Arduino desktop software). Start with a simple goal, then as you feel more

comfortable begin adding complexity! On the project due date (5/26) all students

will set up their final deliverable to display in an Arduino Electronic Design Show

where pair programming teams will receive a final mastery score (1-4).

Project Deliverable:

One completed circuit consisting of an (1) Arduino UNO board, (2) breadboard, (3) hardware

components from the R3 Super Starter Kit, and (4) code in the Arduino Programming Language.

EKS: Programmable Electronics (Arduino)

EKS: Programming Grit

Calendar:

May 2016

2 [Check OUT Kit]

3 4

5

6 PD Day

9

10 11

12 13

CS Honors Presentations

16 SBAC

17 SBAC

18

19

20

23

24

Cumulative Math Final Exam

25

26

Project Due! [Start of Class]

27 [Check IN Kit]

CS Honors Presentations

Page 3: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

Project Rubric:

DON’T DO THIS!

DO THIS!

4

Programmable Electronics Essential Knowledge

Deliverable demonstrates a fully functioning circuit (Arduino board + breadboard + hardware components) that has been correctly programmed using the Arduino Programming Language. Breadboard is organized using color-coordinated jumper cables, and all components are positioned strategically so the circuit can be understood. Both pair programming members can explain how the hardware components (Arduino board & breadboard) are functioning as well as how the software (code created using the Arduino Programming Language) is controlling the circuit.

Programming Grit Habit of Mind

During all days of designated Arduino project worktime, both pair programming members are troubleshooting and working to make sense of their chosen project. Team members work together using appropriate resources to persevere through confusion. When a goal is met, team celebrates appropriately and then moves forward to set a new goal and begin building/programming.

Accountability Habit of Mind

Completed circuit on display during the Arduino Electronic Design Show on 5/26. All components are accounted for when kit is checked IN on 5/27.

Page 4: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

1. Arduino Board

2-13: You will connect lights, sound devices, motors, and more into these pins. Notice that some pins have the ~ symobol before

the number: they can support output values between 0 and 255 instead of just HIGH and LOW.

A0-A5: You will plug sensors into these “Analog” pins.

GND: Pins to “Ground” the circuit. Use a black jumper wire when connecting to these pins and completing your circuit.

3.3V & 5V: Most circuits will use these. Use a red jumper wire when connecting to these pins and powering your circuit.

Page 5: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

2. Hardware Components:

Page 6: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

3. Breadboard

There are strips of metal (shown in blue or red) connecting the rows and columns together. Each hole

has a spring loaded contact underneath so that when you poke a wire into the hole, a clip grabs onto it.

There are two kinds of metal strips:

Rails (shown in red): connecting the 25 column holes. Notice that on your own breadboard, the rails

are between the solid pair of red and blue lines. Typically the "+" column will be connected to the

power and the "-" column will be connected to the ground.

Bars (shown in blue): connecting 5 holes at a time in the direction of the letters. Notice that there is a

gap in the middle, the two bars on the same row are not connected!

Page 7: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

Trace the path of the electron flow in the circuit:

Page 8: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

Trace the path of the electron flow in the circuit:

Page 9: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

Electricity: A form of energy fueled by the movement of electrons.

Circuit: A closed loop that allows charge (electrons) to move from one

place to another. Components in the circuit allow us to control this

charge and use it to do work.

V = Voltage I = Current R = Resistance

Using the Arduino Programming Language (via the Arduino software installed on your CS desktop

computer) you will be able to assign pins on your Arduino board to complete different tasks. When you

send electricity out of your Arduino board you must consider the amount of current you are sending

through each hardware component (LED, motor, etc.) If you send too much current through a

component you will destroy the hardware.

You must have a current limiting resistor in the LED circuit path. If not, the LED will burn out instantly.

LEDs use a 560Ω (green-blue-brown) resistor. The purpose of a resistor is to limit the amount of

current that can flow in a part of a circuit.

Resistor (shown below): The component used to control the current flowing through a circuit.

Page 10: ARDUINO: The Open-Source Electronics Prototyping Platformdvceric.weebly.com/uploads/5/7/7/8/57785077/arduino_electronic... · Name: _____ ARDUINO: The Open-Source Electronics Prototyping

FIGURE 1 FIGURE 2 FIGURE 3

What are all the hardware components you need when creating a circuit that lights an LED? Explain what each component in the circuit is doing;

use the figures above to help clarify your explanation.

______________________________________________________________________________________________________________________

______________________________________________________________________________________________________________________

______________________________________________________________________________________________________________________

______________________________________________________________________________________________________________________

______________________________________________________________________________________________________________________