Skip to content

01. Getting Started with Arduino

Murugadoss Balasubramanian edited this page Feb 2, 2019 · 3 revisions

Getting started with Arduino

Arduino is composed of two major parts: the Arduino board, which is the piece of hardware you work on when you build your objects; and the Arduino IDE, the piece of software you run on your computer. You use the IDE to create a sketch (a little computer program) that you upload to the Arduino board. The sketch tells the board what to do.

Getting Started with Arduino and Genuino products https://www.arduino.cc/en/Guide/HomePage

Language Reference https://www.arduino.cc/reference/en/

Project Hub https://create.arduino.cc/projecthub?by=part&page=2&part_id=15659&sort=trending

In those illustrations, you see the Arduino board. At frst, all those connectors might be a little confusing. Here is an explanation of what every element of the board does:

#14 Digital IO pins (pins 0–13)

These can be inputs or outputs, which is specifed by the sketch you create in the IDE.

#6 Analogue In pins (pins 0–5)
These dedicated analogue input pins take analogue values (i.e., voltage readings from a sensor) and convert them into a number between 0 and 1023.

#6 Analogue Out pins (pins 3, 5, 6, 9, 10, and 11)
These are actually six of the digital pins that can be reprogrammed for analogue output using the sketch you create in the IDE. The board can be powered from your computer’s USB port, most USB chargers, or an AC adapter (9 volts recommended, 2.1mm barrel tip, center positive). If there is no power supply plugged into the power socket, the power will come from the USB board, but as soon as you plug a power supply, the board will automatically use it.

Software IDE

IDE (Integrated Development Environment) is a special program which allows us to write sketches and upload it to the Board in a very simple language.

Programming cycle of Arduino

  1. Plug your board into a USB port on your computer.
  2. Write a sketch that will bring the board to life.
  3. Upload this sketch to the board through the USB connection and wait a couple of seconds for the board to restart.
  4. The board executes the sketch that you wrote.

You must first download environment ( IDE ) from [here](https://www.arduino.cc/en/Main/Software)
After installing the Arduino IDE, we must install the _Drivers_ which allows your computer to talk to your Board through USB Port.

Installing Drivers :Windows

Plug the Arduino board into the computer; when the Found New Hardware Wizard window comes up, Windows will frst try to find the driver on its own,if it doesn't then check this link here to install.

Clone this wiki locally