Programming in Arduino
Important Functions
Inputs & Outputs
Outputs & Inputs
Dr B trivia
100

Two functions make up an Arduino sketch. void setup() {...} and THIS

void loop() { ... }

100

What does the number 6 do in this piece of code? pinMode(6, INPUT);

use pin 6 on the microcontroller

100

THIS component often accompanies LEDs and other components to limit current flow

resistor

100

THESE two inputs would be written in the digitalWrite command to cause a 5V signal to send from pin 3.

digitalWrite(3,HIGH);

100
I attended THIS university for graduate school

Tufts University

200

Include the pinMode function in THIS part of the Arduino sketch

void setup ()

200

What does LOW do in the following code? digitalWrite(7,LOW);

send a low signal (0V), in this case to pin 7

200

THIS is a construction base that allows you to easily develop and replace an electronic circuit and wirings 

breadboard

200

LED stands for THIS

light emitting diode

200

I went to undergrad in THIS state (bonus points for getting the city or university!)

Colorado

Denver, University of Denver

300

THIS is the unit of time in Arduino, e.g. delay(2000);

milliseconds (1/1000 seconds)

2000 ms = 2 s

300

THIS command is used to send a signal with a range of possible values

analogWrite()

300

THIS is the name of the pin(s) that serve as a reference point for 0 Volts

GND

ground

300

THIS kind of motor moves to specific positions based on angle

servo motor

300

My family comes from THIS country in the Middle East

Lebanon

400

THIS is a set of user-defined instructions that can be called over and over in a program 

function

400

THIS command is used to receive a signal from a switch

digitalRead()

400

THIS is the maximum input voltage to an input pin of an Arduino board

5V

400

THIS is the method used to control speed of a DC motor

PWM, pulse width modulation

400

I have biked from Boston to THIS CITY twice

Montreal

500

THIS command starts serial communication between the Arduino and the serial monitor

Serial.begin(baudrate);

Serial.begin(9600);

Serial.begin

500

THIS command is used to receive a signal from a temperature sensor wired to pin 7

analogRead(7);

500

THIS is the number of digital I/O pins on the Arduino Uno / RedBoard

14
500

THIS symbol indicates which pins can be used with pulse width modulation

~

500

THIS is the first song on the Dad Rock & Draw playlist (must be 100% correct for points!)

Escape (The Pina Colada Song)