You are on page 1of 8

Communication Engineering

Department

Introduction to
Internet of Things
The Arduino
The Arduino project started in 2003 as a collaboration between a group of students at the
Interaction Design Institute Ivrea in Italy and a team led by Massimo Banzi, a professor
of Interaction Design. The aim was to create a simple, affordable and accessible platform
for anyone to create interactive projects. The first Arduino board was released in 2005,
and since then, it has become one of the most popular microcontroller platforms used in
education, hobbyist and professional projects.
Arduino is an open-source electronics platform based on easy-to-use hardware and
software. It is designed to be simple, easy to learn and flexible for beginners and professionals
alike. The platform consists of a microcontroller board, an integrated development environment
(IDE), and a vast library of code examples and libraries.
The Arduino
The Arduino architecture is based on the Atmel AVR microcontroller, which is a low-power, high-
performance chip with a range of features and peripherals. It is connected to various input and
output pins, which are used to interface with sensors, actuators and other devices. The board
includes components such as LEDs and USB interface for programming and communication.

Digital Pins
A4 (SDA) and A5 (SCA) for TWI 0-13
communication.
USB 10 (SS), 11 (MOSI), 12 (MISO) and
13 (SCK) for SPI communication. Reset
Switch
Power
Switch
Rx and Tx to receive and transmit serial data
A0-A5
Power
Power Pins Analog Pins TWI: Two-Wire Interface
SPI: serial peripheral interface
PWM: Pulse width modulation
The Arduino
The Arduino
Integrated Development Environment (IDE)
www.arduino.cc
The Arduino
Coding Examples: The Arduino IDE includes a number of code examples and libraries that can be used
to get started with programming. Here are some examples of basic programs:
This program blinks an LED connected to pin 13 of the Arduino board.

// This program blinks an LED connected to pin 13 of the Arduino board.


// The setup function is called once at the beginning of the program to initialize the board.
void setup() {
pinMode(13, OUTPUT); // Set pin 13 as an output 13
}
// The loop function is called repeatedly to perform the main program logic.
void loop() {
digitalWrite(13, HIGH); // Turn on the LED connected to pin 13
delay(1000); // Wait for 1 second
digitalWrite(13, LOW); // Turn off the LED connected to pin 13
delay(1000); // Wait for 1 second
}
The Arduino
Thank You

You might also like