Date post: | 04-Jun-2015 |
Category: |
Education |
Upload: | brian-huang |
View: | 517 times |
Download: | 7 times |
Enhancing education with computational thinking and Arduino
Brian Huang, Education EngineerSparkFun Electronics
http://bit.ly/T21Con_SparkFun2013
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.
Develop REAL Critical Thinking Skills
Program or be programmed...
Teaching Computational Reasoning
Turtle Art / Net Logo / Scratch
Integrating the Physical
The power to create...
or things like these...
Rich, Project-based Learning Opportunities
● Measurement - physical & time → units!● Mathematics● Algebraic Reasoning & Programming● Art, Color, Perception● Literacy & Writing● ...
What I cannot create, I do not understand.
What I cannot create, I do not understand.
-Richard Feynman
Understanding Programming and Electronics is Empowering!
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
● 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
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)
Learning Progression...
● Using Ardublock● Difference between setup() and loop()● How fast is a millisecond?● Analog vs. Digital - Fading● Sensor Input● Mixing Colors● Making sound!
Let’s Get Started!
Step 1 - Open up Arduino
Step 2 - Select Tools→ Board→ Uno
Step 3 - Select Tools → Serial PortPC → highest com#Mac → /dev/tty.usbserial-axxxx
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()?
Play, Explore, and Synthesize…(timer)
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
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
You are all awesome!!!
Enhancing education with computational thinking and Arduino
Brian Huang, Education EngineerSparkFun Electronics -- [email protected]
Thank You!
http://bit.ly/T21Con_SparkFun2013
Promo Code: EDUT21Con2013