micro quiz 1 p3 Flashcards
(44 cards)
is an open-source electronics platform based on easy-to-use hardware and software
Arduino
Arduino boards are relatively inexpensive compared to other microcontroller
platforms
Inexpensive
The Arduino Software (IDE) runs on Windows, Macintosh OSX, and Linux
operating systems. Most microcontroller systems are limited to Windows.
Cross-platform
The Arduino Software (IDE) is easy-to-use for
beginners, yet flexible enough for advanced users to take advantage of as well. For teachers,
it’s conveniently based on the Processing programming environment, so students learning to
program in that environment will be familiar with how the Arduino IDE works.
Simple, clear programming environment
The Arduino software is published as open source
tools, available for extension by experienced programmers. 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. Similarly, you can
add AVR-C code directly into your Arduino programs if you want to.
Open source and extensible software
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. Even relatively inexperienced users can
build the breadboard version of the module in order to understand how it works and save
money
Open source and extensible hardware
You can control your board functions by sending a ____________ to the microcontroller on
the board via Arduino IDE (referred to as uploading software).
set of instructions
Arduino IDE
Step 1: First you must have your Arduino board (you can choose your favorite board) and a USB
cable. In case you use Arduino UNO, Arduino Duemilanove, Nano, Arduino Mega 2560, or Diecimila, you
will need a standard USB cable (A plug to B plug), the kind you would connect to a USB printer as shown
in the following image.
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
Give at least 3 Operating System that is compatible with the Arduino IDE
Windows, Linux, MacOS
The term IDE stands for “ ”.
Integrated Development Environment
is software with source code that anyone can inspect, modify, and enhance.
Open source software
. It is the place where Arduino was created and develop.
Institute Ivrea in Ivrea
Who created Arduino
Massimo Banzi and
David Cuartielles
developed the Arduino
software, which was based on Wiring
David Mellis
original founders of Arduino.
Massimo Banzi
David Cuartielles
David Mellis
Gianluca Martino
Tom Igoe
Use it to initialize the variables, pin modes,
start using libraries, etc. The setup function will only run once, after each power up or reset of the Arduino
board
The setup() function
does precisely what its name suggests, and loops consecutively, allowing your program to change and
respond. Use it to actively control the Arduino board
the loop() function
Data Types
void, Boolean, char, unsigned char, byte, int, unsigned int, word, long, unsigned long, short, float, double, array, String-char array, string-object
The void keyword is used only in function declarations. It indicates that the function is expected
to return no information to the function from which it was called
Void
A Boolean holds one of two values, true or false. Each Boolean variable occupies one byte of
memory.
Boolean
A data type that takes up one byte of memory that stores a character value. Character literals are
written in single quotes like this: ‘A’ and for multiple characters, strings use double quotes: “ABC”.
Char
Unsigned char is an unsigned data type that occupies one byte of memory. The unsigned char
data type encodes numbers from 0 to 255.
Unsigned char
A byte stores an 8-bit unsigned number, from 0 to 255.
Byte
Integers are the primary data-type for number storage. int stores a 16-bit (2-byte) value. This
yields a range of -32,768 to 32,767 (minimum value of -2^15 and a maximum value of (2^15) - 1).
Int