Arduino
Arduino
The best way to explain what an Arduino is will be to start with what you can use it for.
Put simply, an Arduino is a tool for controlling electronics. Think about a pencil. A pencil is a tool to help
you write stuff.
You need to write something down so you could grab a pencil. Same idea with Arduino. But Arduino is a
tool for controlling electronics.
If you need to control some electronic stuff, hey, grab an Arduino. But what do we mean by electronic
stuff?
INPUTS
which would be electronic devices that gather information. you can think of all the types of sensors out
there: temperature sensors, light sensors, touch sensors, flex sensors, humidity sensors, infrared
sensors, distance sensors, You can think of those sensors as input devices, and those types of sensors
can be read by an Arduino board.
OUTPUTS
which would be electronic devices that do things. you can think of things like DC motors, stepper
motors, servo motors, solenoids, LCD displays, LED indicator lights, speakers, and electrical stuff that
have some type of action in the world.Arduino OUTPUTSs Arduino can be used to read inputs and
control outputs. That’s kind of what Arduino can do, but how does Arduino work?
So when we talk about Arduinos we’re really talking about three things: Arduino Hardware, Arduino IDE,
and Arduino Code.
ARDUINO HARDWARE
First, we have the physical component of Arduino which are Arduino boards. There’s a bunch of
different types of Arduino boards. When someone says Arduino board, it could mean a number of
different boards.
A very popular Arduino board is called the Arduino UNO.Arduino UNO boardAll Arduino boards share
one thing in common: they all have a microcontroller on them. A microcontroller is basically a really
small computer.
So when you learn to use Arduino, you’re learning to use a microcontroller. The microcontroller is what
enables us to read those different inputs, and control those different outputs.
When someone says Arduino board, they’re talking about something physical. It’s a printed circuit
board, and it’s got some electrical components on it.
ARDUINO SOFTWARE
The Arduino is more than just hardware, however, it’s also software.
There’s this thing called the Arduino IDE (Integrated Development Environment). This is a software
application that you download onto your computer, and then you use it to program the Arduino boards.
It’s completely free software, and it’s pretty easy to use. It looks a lot like a text editor. The Arduino IDE
is where you write your code that actually gets loaded onto the Arduino board itself.Arduino IDE
ARDUINO CODE
The third part of this Arduino trifecta is the Arduino code. The code that you write inside the Arduino
IDE is ultimately what gets loaded onto the microcontroller that’s on these Arduino boards.
The Arduino code that you write is called a sketch. The Arduino code itself is basically a derivative of the
C and C++ programming languages, but with some Arduino-specific functions and structure.
So those are the three components that basically make up what”Arduino is”, and roughly what it does.