Professional Documents
Culture Documents
Activity: Identify each of the components on the ‘ThinkerShield’ as either input, output or expansion.
Input
Expansio
n
Output
Output
Input
Expansio
m
Expansion
Word bank
Input
Output
Expansion
USB
PCB
On Board
LED
Power Light Micro
Controller
Dc Power
Analogue Input
Word bank
Title
Uploa
d
Verify Serial
Comm
ents
Semi
Colon
Comm Brace
and Open
Brace
Close
d
Debug
Status
Bar
© ARDUINO LLC 2016 - CC-BY-SA 3.0
Word bank
Component Function
Commands Are an instruction given in a program that tells the computer to do something
specific. The main ones we will work with are keywords.
Semicolon ; To tell Arduino it is at the end of that line of code.
Serial monitor To allow you to see what the program is doing “in the background” even if your
circuit doesn’t appear to be working. Serial monitor is a good way to check your
code is correct/working.
Void setup This section of code initially runs once when the program is run, and is used to tell
Arduino what to expect its input/output pins to be doing or connected to.
Void loop This section of code runs over and over until the power is switched off or the
program has an ending statement.
Curly braces { } These begin and end sections of code and Arduino needs them to recognise
“paragraph structure” in your program.
Comments Are put into the program to remind the programmer or tell someone else looking at
the program what is happening in that line or section of code.
Verify program This function checks your code for errors and highlights any errors in the code so
you can fix them before uploading to your board.
Activity:
Write three review questions about the Arduino microcontroller and ThinkerShield for your partner to answer.
1. Where is the reset button on the Arduino Uno?
Explain how you were able to change the code and get the blink rate to change?
By Changing the Outputs and delay times to higher or lower numbers depending how we wanted it
___________________________________________________________________________________________________
Explain how you were you able change the code and get the LEDs to flash in the pattern that you wanted?
We changed the order of the outputs to what we desired.
___________________________________________________________________________________________________
Write two things you have learnt so far about coding using Arduino.
1. To write codes that execute a command for blinking LEDs
2. To create and code and a simple circuit for a breadboard with LED
___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________
How could you improve your coding skills, based on what you currently know?
We already know the basics so learning more of the advanced codes would be beneficial to our
progress. One thing we could've done better is writing the codes more efficiently and quickly.
___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________
___________________________________________________________________________________________________