23
Enhancing education with computational thinking and Arduino Brian Huang, Education Engineer SparkFun Electronics [email protected] http://bit.ly/T21Con_SparkFun2013

T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Embed Size (px)

DESCRIPTION

Workshop Presentation for Teaching for the 21st Century - Enhancing Education with Computational Thinking and Arduino Using ArduBlock and the Protosnap ProMini

Citation preview

Page 1: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Enhancing education with computational thinking and Arduino

Brian Huang, Education EngineerSparkFun Electronics

[email protected]

http://bit.ly/T21Con_SparkFun2013

Page 2: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

About us...

Founded in 2003 by Nathan Seidle as a Junior in EE at the Univ. of Colorad-Boulder.

Open Source Hardware Company

Focus on “Sharing Ingenuity” and providing shortcuts to design and engineering.

Page 3: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Develop REAL Critical Thinking Skills

Program or be programmed...

Page 4: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Teaching Computational Reasoning

Page 5: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Turtle Art / Net Logo / Scratch

Page 6: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Integrating the Physical

Page 8: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

or things like these...

Page 9: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Rich, Project-based Learning Opportunities

● Measurement - physical & time → units!● Mathematics● Algebraic Reasoning & Programming● Art, Color, Perception● Literacy & Writing● ...

Page 10: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

What I cannot create, I do not understand.

What I cannot create, I do not understand.

-Richard Feynman

Page 11: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Understanding Programming and Electronics is Empowering!

Page 12: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Arduino with Graphical Programming

void setup(){

pinMode(13, OUTPUT);

}

void loop(){

digitalWrite(13, HIGH);

delay(1000);

digitalWrite(13, LOW);

delay(1000);

}

C / C++ Programming ArduBlock Programming

Page 13: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

● No syntax errors● It’s not over-simplified & uses the same

“language”○ set Digital Pin○ set Analog Pin○ delay milliseconds

● Compiles to Arduino -- same language in the background.

Advantages

Page 14: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Installation Directions for Ardublock

Download jar file from:http://sourceforge.net/projects/ardublock/files/ardublock-beta-20131031.jar/download

Move this file to a folder called: (download: tools.zip)

\tools\ArduBlockTool\tool\

inside your Arduino sketchbook folder (typically under My Documents)

Page 15: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Learning Progression...

● Using Ardublock● Difference between setup() and loop()● How fast is a millisecond?● Analog vs. Digital - Fading● Sensor Input● Mixing Colors● Making sound!

Page 16: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Let’s Get Started!

Page 17: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Step 1 - Open up Arduino

Step 2 - Select Tools→ Board→ Uno

Step 3 - Select Tools → Serial PortPC → highest com#Mac → /dev/tty.usbserial-axxxx

Page 18: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Now - run ArduBlock (under Tools - in case you missed it!)

Use the Open command to open up the file called: T21Con_Sketch1.abp

Move the blocks around - click Upload to Arduino and watch!

What’s the difference between setup() and loop()?

Page 20: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Reflection / De-briefing Questions...

● What is the difference between setup() and loop()

● set Digital Pin has two “states” what are they?

● What do they mean?

● Show and Tell○ 5 Second Timer○ Heart Beat

Page 21: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Lightening Round →

~30 minutes or less left in session… 6 activities / example sketches for you to play with.

Play around. See how you can incorporate aspects from each activity to make something new!

How might you use this in your class?Tweet your ideas to #T21Con #SparkFun

Page 22: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

You are all awesome!!!

Page 23: T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini

Enhancing education with computational thinking and Arduino

Brian Huang, Education EngineerSparkFun Electronics -- [email protected]

Thank You!

http://bit.ly/T21Con_SparkFun2013

Promo Code: EDUT21Con2013