Home
Browse
Create
Search
Log in
Sign up
Upgrade to remove ads
Only $2.99/month
Intro to Arduino
STUDY
Flashcards
Learn
Write
Spell
Test
PLAY
Match
Gravity
Terms in this set (34)
Arduino
An open source electronics prototyping platform
void setup(){ }
When you establish boundaries for your code. Everything is put in between the brackets. Tokens such as: define#, pinMode, serial.Begin, const, etc.
void loop(){ }
When you tell your Arduino what it's supposed to do. (When done, it will repeat) Tokens such as: int, digitalWrite, analogWrite, if, etc.
int x = y
When you define x as y. Y can be a number, another sensor value, or a reading (digitalRead or analogRead). Used in void loop
pinMode(x,y)
When you define a pin as input or output. X is the pin number and Y is input/output. Used in void setup
digitalWrite(x,y)
When you tell a previously determined output pin to turn HIGH or LOW. Used in void loop
digitalRead(x)
When you tell a previously determined input pin to read its HIGH or LOW signal. Used in void loop
analogWrite(x,y)
You tell a previously determined output pin to send out a ranged signal. Used in void loop
analogRead(x)
You tell a previously determined input pin to read a ranged signal. Used in void loop
Serial.Begin(x)
Set the reading speed to x times per second. Used in void setup
Serial.println(x)
Print x to the serial monitor. Used in void loop
delay(x)
Wait x milliseconds. Used in void loop
const x = y
Set x to y. Used in neither void loop or void setup (before everything). Sets a variable which cannot be changed. If tried to be changed there will be an error
if(){ }
If what's in the parentheses is true then the things in the bracket will happen. Used in void loop
//comment
Used to make a one line comment. Everything on that line after the // will be ignored by the compilation
/*
comment
*/
Used to make a long comment which is put in between the /
and
/. (Bolding is not significant. It's a typo)
Serial Monitor
A window in the Arduino application which reads the data it is given. Click the icon or press Ctrl+M to open it
Open Source
Resources that can be used, redistributed or rewritten free of charge
Electronics
Technology which makes use of the controlled motion of electrons through different media
Prototype
An original form which can serve as a basis or standard for other things
Platform
Hardware architecture with software framework on which other software can run
Microchip
A very small computer that you can program to respond to things. It can measure conditions and then control other things' responses
Input
Detecting something and feeding the Arduino the data
Output
When you turn something on or off or something you can control
Digital
When something can be turned on or off on a basis of 1 or 0 (HIGH and LOW in Arduino code)
Analog
When something can signal a range of readings
Ohm's Law
V=IR, or R=V/I, or I=V/R
Direct Current
When electricity flows in one direction
Alternating Current
When electricity flows in opposite directions in regular cycles
Anode and Cathode
Anode is the long leg which is at the positive end of the LED and cathode is the short one which goes towards the ground
Wiring
The language Arduino uses. Similar to C, C++, and Java
Token
A single element of a programming language. Could be a keyword, an symbol, or punctuation mark.
Arduino Voltage = ?
5 Volts
Ground
All circuits have to lead towards the ground to create a full circuit. It is a plain piece of metal with no charge.
THIS SET IS OFTEN IN FOLDERS WITH...
Arduino Programming
20 terms
Arduino Code Basics
7 terms
Arduino Test Review
19 terms
Android
22 terms
YOU MIGHT ALSO LIKE...
Analog-to-Digital and Digital-to-Analog Conversion
55 terms
5.11: Using Files for Data storage
19 terms
Mr. Tomaino: Computer Science Final
83 terms
MPU - Mod. 3 Introduction to MPU
97 terms
OTHER SETS BY THIS CREATOR
Spanish Nationalities
33 terms
Crimson Midpoint Interview
58 terms
Hebrew - Dec. of Ind.
47 terms
Vocab 12-15
25 terms
OTHER QUIZLET SETS
Geometry Chapter 9
27 terms
Geometry A Exam
28 terms
Cálculo 1A
33 terms
Applied Calc Test 2
17 terms