Micro 11-13 Flashcards

1
Q

is an open-source electronics platform based on easy-to-use hardware and software.

A

Arduino

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Arduino was born at the ____ as an easy tool for fast prototyping, aimed at students without a background in electronics and programming.

A

Ivrea Interaction Design Institute (Ivrea, Italy)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

IDE

A

Integrated Development Environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Arduino offers some advantage for teachers, students, and interested amateurs over other systems:

A
  • Inexpensive
  • Cross-platform
  • Simple, clear programming environment
  • Open source and extensible software
  • Open source and extensible hardware
  • Arduino boards are able to read analog or digital input signals from different sensors and turn it into an output
  • You can control your board functions by sending a set of instructions to the microcontroller on the board via Arduino IDE
  • Arduino IDE uses a simplified version of C++
  • You can simply use a USB cable to load a new code onto the board
  • Arduino provides a standard form factor that breaks the functions of the micro-controller into a more accessible package
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A feature where the Arduino Software (IDE) runs on Windows, Macintosh OSX, and Linux operating systems. Most microcontroller systems are limited to Windows.

A

Cross-platform

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A feature where the Arduino Software (IDE) is easy-to-use for beginners, yet flexible enough for advanced users to take advantage of as well.

A

Simple, clear programming environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A feature where Arduino boards are relatively inexpensive compared to other microcontroller platforms.

A

Inexpensive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A feature where the language can be expanded through C++ libraries, and people wanting to understand the technical details can make the leap from Arduino to the AVR C programming language on which it’s based

A

Open source and extensible software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A feature where the plans of the Arduino boards are published under a Creative Commons license, so experienced circuit designers can make their own version of the module, extending it and improving it

A

Open source and extensible hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A feature where the Arduino software is published as open source tools, available for extension by experienced programmers

A

Open source and extensible software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How to set up the Arduino IDE:

A

Step 1: First you must have your Arduino board and a USB cable
Step 2: Download Arduino IDE Software
Step 3: Power up your board
Step 4: Launch Arduino IDE
Step 5: Open your first project
Step 6: Select your Arduino board
Step 7: Select your serial port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Give at least 3 Operating System that is compatible with the Arduino IDE software.

A

Windows, Macintosh OSX, and Linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

is software with source code that anyone can inspect, modify, and enhance

A

Open source software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

is the part of software that most computer users don’t ever see; it’s the code computer programmers can manipulate to change how a piece of software—a “program” or “application”—works.

A

“Source code”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Founders of Arduino

A

Massimo Banzi
David Cuartielles
Tom Igoe
David Mellis
Gianluca Martino
(2005)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Parts of Arduino Uno

A

Power USB
Power (Barrel Jack)
Voltage Regulator
Crystal Oscillator
Arduino Reset
Pins (3.3, 5, GND, Vin)
Analog pins
Main microcontroller
ICSP pin
Power LED indicator
TX and RX LEDs
Digital I/O
AREF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Arduino board can be powered by using the USB cable from your computer

A

Power USB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Arduino boards can be powered directly from the AC mains power supply by connecting it to the Barrel Jack

A

Power (Barrel Jack)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

The function of the _____ is to control the voltage given to the Arduino board and stabilize the DC voltages used by the processor and other elements

A

Voltage Regulator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

helps Arduino in dealing with time issues. How does Arduino calculate time? The answer is, by using the

A

Crystal Oscillator (16.000H9H = 16MHz)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

You can reset your Arduino board, i.e., start your program from the beginning. You can reset the UNO board in two ways. First, by using the reset button on the board. Second, you can connect an external reset button to the Arduino pin labelled RESET

A

Arduino Reset

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

This pin also can be used to power the Arduino board from an external power source, like AC mains power supply

A

Pin Vin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

These pins can read the signal from an analog sensor like the humidity sensor or temperature sensor and convert it into a digital value that can be read by the microprocessor

A

Analog pins

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

You can assume it as the brain of your board. The main IC on the Arduino is slightly different from board to board

A

Main microcontroller

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
a tiny programming header for the Arduino consisting of MOSI, MISO, SCK, RESET, VCC, and GND. It is often referred to as an SPI , which could be considered as an "expansion" of the output.
ICSP pin
26
This LED should light up when you plug your Arduino into a power source to indicate that your board is powered up correctly.
Power LED indicator
27
They appear in two places on the Arduino UNO board. First, at the digital pins 0 and 1, to indicate the pins responsible for serial communication. Second, The ___ flashes with different speed while sending the serial data. The speed of flashing depends on the baud rate used by the board. ___ flashes during the receiving process.
TX and RX LEDs TX led RX led
28
These pins can be configured to work as input digital pins to read logic values (0 or 1) or as digital output pins to drive different modules like LEDs, relays, etc.
Digital I/O
29
It is sometimes, used to set an external reference voltage (between 0 and 5 Volts) as the upper limit for the analog input pins.
AREF
30
SPI
(Serial Peripheral Interface)
31
TX and RX means?
TX (transmit) and RX (receive)
32
The pins labeled “~” can be used to generate
PWM (Pulse Width Modulation)
33
AREF
Analog Reference
34
Can be used as input or output pins.
Digital Pins 0 - 13 (Input/Output Pins)
35
Used to receive and transmit TTL serial data.
Pins 0 (Rx), 1 (Tx)
36
To trigger an interrupt.
Pins 2, 3 (External Interrupts)
37
Provides 8-bit PWM output.
Pins 3, 5, 6, 9, 10, 11
38
Used for SPI communication.
Pins 10 (SS), 11 (MOSI), 12 (MISO) and 13 (SCK)
39
To turn on the inbuilt LED.
Pin 13
40
Used for TWI (Two-Wire Interface) communication.
Pins A4 (SDA - Serial Data), A5 (SCL - Serial Clock) Note: SCL is Serial Clock for I2C (Inter-Integrated Circuit), while SCK is for SPI Communication
41
To provide reference voltage for input voltage.
AREF
42
Recommended Input Voltage
7-12V
43
Input Voltage Limits
6-20V
44
Operating Voltage
5V
45
Arduino Uno Microcontroller
ATmega328P – 8 bit AVR family microcontroller
46
Frequency (Clock Speed)
16 MHz
47
DC Current on I/O Pins
40 mA
48
DC Current on 3.3V Pin
50 mA
49
Flash Memory
32 KB (0.5 KB is used for Bootloader)
50
SRAM
2 KB (Static random-access memory)
51
EEPROM
1 KB (Electrically Erasable Programmable Read-Only Memory)
52
ICSP
In-circuit serial programming
53
is a synchronous serial data protocol used by microcontrollers for communicating with one or more peripheral devices quickly over short distances. It can also be used for communication between two microcontrollers.
SPI
54
With an SPI connection there is always one master device (usually a microcontroller) which controls the peripheral devices. Typically there are three lines common to all the devices:
* MISO (Master In Slave Out) * MOSI (Master Out Slave In) * SCK (Serial Clock)
55
The Slave line for sending data to the master,
MISO
56
The Master line for sending data to the peripherals,
MOSI
57
The clock pulses which synchronize data transmission generated by the master
SCK
58
Arduino programs can be divided in three main parts
Structure, Values (variables and constants), and Functions
59
Software structure consist of two main functions
* Setup( ) function * Loop( ) function
60
This function is called when a sketch starts
setup() function
61
Use it to initialize the variables, pin modes, start using libraries, etc. This function will only run once, after each power up or reset of the Arduino board.
setup() function
62
This loops consecutively, allowing your program to change and respond. Use it to actively control the Arduino board.
loop() function
63
data types that you will use during Arduino programming:
void, Boolean, char, Unsigned char, byte, int, Unsigned int, word, long, Unsigned long, short, float, double, array, String-array char, String-object
64
It indicates that the function is expected to return no information to the function from which it was called. The ____ keyword is used only in function declarations.
Void
65
holds one of two values, true or false. Each ____ variable occupies one byte of memory.
Boolean
66
A data type that takes up one byte of memory that stores a character value
char
67
The unsigned char data type encodes numbers from
0 to 255
68
A ___ stores an 8-bit unsigned number, from 0 to 255.
byte
69
are the primary data-type for number storage. This stores a 16-bit (2-byte) value
Int (Integers)
70
Integers range from
minimum value of -2^15 and a maximum value of (2^15) - 1
71
are the same as int in the way that they store a 2 byte value. Instead of storing negative numbers, however, they only store positive values
Unsigned int (unsigned integer)
72
Unsigned int ranges from
0 to 65,535 (2^16) - 1
73
variables are extended size variables for number storage, and store 32 bits (4 bytes)
long
74
long variable ranges from
-2^31 to (2^31) - 1
75
variables are extended size variables for number storage and store 32 bits (4 bytes) but will not store negative numbers
Unsigned Long
76
Unsigned long ranges from
0 to 4,294,967,295 (2^32 - 1)
77
___ stores a 16-bit (2-byte) value
short
78
short ranges from
minimum value of -2^15 and a maximum value of (2^15) - 1
79
are often used to approximate the analog and continuous values because they have greater resolution than integers
Floating-point numbers
80
Variables in C programming language, which Arduino uses, have a property called
scope
81
is a region of the program and there are three places where variables can be declared.
scope
82
The three places where variables can be declared:
local variables formal parameters global variables
83
Inside a function or a block, which is called
local variables
84
In the definition of function parameters, which is called
formal parameters
85
Outside of all functions, which is called
global variables
86
Variables that are usually at the top of the program
global variables
87
Variables are not known to function outside their own
local variables
88
This variables will hold their value throughout the life-time of your program. This can be accessed by any function. This is available for use throughout your entire program after its declaration
global variables
89
is the name that Arduino uses for a program. It's the unit of code that is uploaded to and run on an Arduino board.
sketch
90
What is the difference of Float data type to Double data type?
Float is suitable for applications where memory is a concern and high precision is not required. While, Double is used when higher precision is needed, such as scientific calculations.