Arduino Programming Flashcards
Which product was created in 2005?
Arduino aka “Strong Friend”
Who created the Arduino?
Massimo Banzi and David Cuartielles
True or false: The hardware for the Arduino are open source?
True
Which languages we accessible and transferable for Arduino?
C++, Java, Processing
Who most often used the Arduino originally?
Hobbyists, students, and those interested in gadgetry
What kind of processor does an Arduino have?
ATMEL
What does Ohm’s law describe?
The relationship between voltage, current, and resistance of a circuit
What are the iterations of Ohm’s law?
V=IR, I=V/R, R=V/I
What is voltage?
The amount of potential energy in a circuit
What is current?
The rate of charge flow in a circuit
What is resistance?
The opposition to charge flow
What are the units for voltage?
Volts (V)
What are the units for current?
Amperes (A)
What are the units for resistance?
Ohms
List the colors on a resistor representing from 0 to 9 in that order
black, brown, red, orange, yellow, green, blue, purple, gray, white
What is the color with the highest power of 10 for the third strip of a resistor?
Blue (1,000,000)
Fill in the blanks: An electrical circuit must have __________ from _________ to ________.
a continuous loop, Power (Vdd/Vcc) to Ground (GND)
What is important to make portions of a circuit connected?
continuity
What is one of the most useful tool in an engineer’s toolkit?
solderless breadboard
How do you comment in arduino programming?
with a // or a /* */
Do comments affect code?
no
What is the assignment operator?
=
What is used to check values for equality?
==
What is used for the ‘and’ function?
&&
What is used for the ‘or’ function?
||
What are basic variable types for Arduino programming?
boolean, integer, character, string
What are the 2 required functions for an Arduino program?
void setup() and void loop()
When is the setup() function executed?
only once everytime the Arduino is connected to power
When in the loop() function executed?
after the setup function executes, it executes repeatedly until the Arduino is disconnected from power
What is an Arduino file called?
a sketch
What is usually done in the setup() function?
input and output setup using the pinMode() function
Does the header for setup() ever change?
no
What is the definition of a microcontroller’s ports and pins?
the communication channels through which information flows into or out of the microcontroller
What are examples of what would be connected to an input pin?
thermistor, light sensor, push button
What are examples of what would be connected to an output pin?
LED, piezo sensor (speaker), servo/DC motor