LESSON 1 Flashcards
What is an Arduino board?
An Arduino Board is a programmable circuit board that can be used to program lots of electrical projects.
What is the most important component of an Arduino Board, what does it do?
The board contains a microcontroller ( the brains of the board) which controls the board and senses physical objects around it.
How does the Arduino board work?
By sensing INPUTS an Arduino can interact with OUTPUTS such as LEDs, motors and displays.
How do you connect the breadboard to the Arduino Board? What are the different types of power transfers?
Connect the ground pin beside the digital pins on the Arduino Board to the negative control strip on the breadboard.
Multi-pin Power Transfer
Connect two or more control/digital pins from the Arduino Board to separate middle control strips on the breadboard.
Single-pin Power Transfer
Connect a control/digital pin from the Arduino Board to the positive control strip.
What is a breadboard? How do you connect it to a device?
The breadboard has more spots than Arduino board to connect things. In order for it to work, power must be transferred over to breadboard from Arduino.
Components:
Negative and Positive Control strips (Connect Horizontally)
In between, the negative and positive control strips on the top and bottom of the board, you connect input and output devices in the middle control strips. (Connect vertically). In order to do this, you need to connect the object to the negative control strip and either connect the object straight to a digital pin on the Arduino board (Typically in a multi-pin power transfer) or connect a control pin from the Arduino board to the positive control strip then connect it to the object on the breadboard. (Using wires)
How does Arduino Work?
Code is written using an IDE (integrated development environment) or using a website.
Code (also called sketches) is then uploaded to the board.
The board then carries out the instructions.
What language is Arduino coded in?
The language it is coded in is C++.
What are the components of IDE
Menu Bar - File, Edit, Sketch, Tools (Can select serial port and board here), Help.
Button Bar - Verify Button, Upload Button, Debug Button, Select Board Button.
Input/Edit Area - Where you do your code.
Status Bar
Program Notification Area
What is an LED?
A Light Emitting Diode - releases light when activated.
Has a negative (short) end and a positive (long) end.
What are the components of a code/sketch?
Variable declaration - Give integers a name to make things easier to identify.
const int (constant integer) - variable cannot change
int (integer) - want the variable to be able to change. ex: speed
Void setup - Initializes. Activates each variable as either an input and output pin.
Void loop - repeats as long as the board has power. What you want to happen/Statements and Commands