T21Con 2013 SparkFun Presentation - Arduino and ArduBlock with Protosnap ProMini
Enhancing education with
computational thinking and Arduino
Brian Huang, Education Engineer
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.
Program or be programmed...
Critical Thinking Skills
What I cannot create, I
do not understand.
Understanding Programming and
Electronics is Empowering!
Arduino with Graphical
C / C++ Programming
● No syntax errors
● It’s not over-simplified & uses the same
○ set Digital Pin
○ set Analog Pin
○ delay milliseconds
● Compiles to Arduino -- same language in the
Installation Directions for Ardublock
Download jar file from:
Move this file to a folder called: (download: tools.zip)
inside your Arduino sketchbook folder (typically under My
Difference between setup() and loop()
How fast is a millisecond?
Analog vs. Digital - Fading
Step 1 - Open up Arduino
Step 2 - Select Tools→ Board→ Uno
Step 3 - Select Tools → Serial Port
PC → 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()
Reflection / De-briefing Questions...
● What is the difference between setup() and
● 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
How might you use this in your class?
Tweet your ideas to #T21Con #SparkFun