Arduino Basics

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:55 PM on 4/26/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

What is a microcontroller? - A computer system on a single chip. It is programmable, has hardware interfaces, and can operate standalone (does not need to stay tethered to a computer once programmed).

2
New cards

What is an Arduino? - A type of microcontroller. VCU uses the Ruggeduino, which uses the same chip as the Arduino Uno but is indestructible.

3
New cards

What is an embedded system? - A microcontroller used as part of a larger system or machine (not as a standalone general-purpose computer).

4
New cards

How do you get code onto an Arduino? - You write and compile the code on a computer in the Arduino IDE, then download it to the Arduino via USB.

5
New cards

What are the TWO required functions in every Arduino program? - void setup() — runs once; void loop() — runs continuously forever.

6
New cards

What does setup() do? - Runs exactly once to initialize variables and configure hardware.

7
New cards

What does loop() do? - Runs continuously and infinitely after setup() completes.

8
New cards

What language does Arduino use? - Primarily C, with some constructs from C++. It is a compiled language.

9
New cards

What is the difference between a compiled and interpretive language? - Interpretive (Python) runs line by line; Compiled (C) must fix ALL syntax errors before running.

10
New cards

What is the best Arduino debugging strategy? - Write a little code, test it, and use Serial.println() to print variable values to the Serial Monitor.

11
New cards

Why does Arduino use the 'read one point, output one point' approach? - Because microcontrollers have very limited memory (SRAM).

12
New cards

What is a variable in C? - A named location in memory where a value can be stored and retrieved.

13
New cards

What is the int data type? - A signed integer. On the Arduino Uno: 2 bytes, range -32768 to 32767.

14
New cards

What is the long data type? - A signed integer. 4 bytes, used when values exceed int range.

15
New cards

What is a float? - Single-precision decimal number used for math requiring decimals.

16
New cards

What is integer overflow (wrap-around)? - When the result of integer math exceeds the range, the value wraps around like an odometer.

17
New cards

What is integer division? - Long division where the result is the quotient only (e.g., 3/5 = 0).

18
New cards

What is the modulo operator (%)? - Returns the remainder of integer division.

19
New cards

What is the bool/boolean type? - A logical true/false variable (HIGH=1, LOW=0).

20
New cards

How do you declare an array in C? - Type name[size]; e.g., int a[10]; Size is fixed after declaration.

21
New cards

What are the logical operators in C? - && (AND), || (OR), ! (NOT) .

22
New cards

Is there a built-in pi constant on the Arduino? - No. You must define it yourself: const float pi = 3.14159