0% found this document useful (0 votes)
349 views

Iot Projects Easy With Arduino

Arduino is an open-source electronics platform based on flexible, easy-to-use hardware and software. It reads data from sensors in the environment like light, temperature, motion and sends commands to actuators. The Arduino Uno is best for beginners, with a microcontroller, ports for input/output, power pins and more. Programming Arduino involves writing code in the Arduino IDE to upload programs that process sensor readings and control actuators.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
349 views

Iot Projects Easy With Arduino

Arduino is an open-source electronics platform based on flexible, easy-to-use hardware and software. It reads data from sensors in the environment like light, temperature, motion and sends commands to actuators. The Arduino Uno is best for beginners, with a microcontroller, ports for input/output, power pins and more. Programming Arduino involves writing code in the Arduino IDE to upload programs that process sensor readings and control actuators.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 26

BASIC OF

ARDUINO
UNO
~ VIJAY ANAND B
   513420104049
INTRODUCTION
• What is Arduino?
• Open source electronic ------based on----> Hardware  & software
     platform    
• What do Arduino do?   

Read data's

• Arduino reads the data like


ENVIRONMENT ARDUINO
Light intensity,
Temperature,
Wind flow, Send
Water level... commands
Etc.

• With the help of sensors        


There are many types
of sensors to read
various
 analog inputs

THERMAL SENSOR LDR sensor

Mic module Camera module


• Send command
•     Activating a motor
•     Turning on a tube light
•      Publish something online

• Arduino board can send the command with the help of actuators by
sending a set of instruction(program) to the microcontroller present in
the Arduino board to do the works(read data's & send command's)
• There are various kinds of Arduino board
• COMMONLY USED ARDUINO BOARDS
• Arduino Uno
• Arduino MEGA
• Arduino Nano
• Arduino Lilypad
• Open source software
• Open source hardware • ARDUINO IDE
• ARDUINO BOARD • It is used to write, compile and upload
your program.
• Can be programable
• It is used to send computer program
• Also referred as
to electrical board.
microcontroller or brain
ARDUINO UNO

• Best board to start with electronic and coding.


• Main components in Arduino Uno board:
> USB jack                            > AREF
> Power jack                         > ICSP pins
> Voltage Regulator            > MICROCONTROLLER
>  Crystal Oscillator
>  Reset Button
> Power pins
> Analog input pins
> Digital pins
>TX and RX pins
> Power on LED
> LED attached to digital pin13
USB JACK (B-TYPE)

• Used to upload programs from 


computer to Arduino board.

• USB cable for Arduino uno
POWER JACK

• Used to power Arduino


• Input voltage range 7v to 12v.
• Ways of connection:
      Rechargeable batteries
      Disposable Batteries
        Wall-adapters
       Solar panel
VOLTAGE
REGULATOR
• Used to control & Stabilize
the voltage
given to the Arduino board

• Used by the processor and


other elements.
CRYSTAL
OSCILLATOR
• Helps the Arduino in
dealing with 
time requirement
• Used to calculate time
• Frequency - 16MHZ
RESET
BUTTON
• Used to start our
program from
the beginning
• Reset pin – To reset the
program by
 giving small amount of
voltage
 to reset pin. it is
additional way
to reset the program
POWER PINS

• 3.3v - supply 3.3 output volt


• 5v – supply 5 output volt
• GND – used to ground our
circuit
• Vin – can also be used to power
 the Arduino board from an
external
 power source
ANALOG INPUT
PINS
• Has six analog input pins(A0-
A5).
• Used to read the signal from 
an analog sensor
• Can also be used as digital
o/p, I/p
 pins like digital pins.
DIGITAL PINS
• Has 14 digital pins 0-13
• 6 pins provide PWM(pulse
 width modulation)
• When set as I/p these pins can
 read voltage
only two states : 5v(high),
                              0v(low)
• When set as o/p: these pins
 can apply voltage
By the knowledge of 'C' language it is easy to program the Arduino
For example , to blink the LED connected in
6th digital pin

int LED =8; // The digital pin to which the LED is connected

void setup ( )
{

pinMode(LED, OUTPUT); //Declaring pin 13 as output pin

void loop( ) // The loop function runs again and again


{ By the default
LOW = 0v
digitalWrite(LED, HIGH);     //Turn ON the LED HIGH = 5v
delay(1000);                 //Wait for 1sec
digitalWrite(LED, LOW);     // Turn off the LED
delay(1000);               // Wait for 1sec

}
TX & RX PINS

• TX – Transmit |  RX – receive 
• Arduino uses these pins to
 communicate with other
electronics via serial GSM GPRS MODULE
communication.
• Avoid using these pin for other
 tasks other than serial
communication

+
 
 unless you're running out of pins
• Tx and Rx led used to indicate
the transmiting & receiving the
data's.
WIFI +
BLUETOOTH
MODULE
POWER ON LED
To indicate us Arduino
board is powered by
correctly
LED ATTACHED TO
DIGITAL PIN13

• Useful for an easy


debugging of Arduino
sketching
• It is used as an output
indicator
• To test the board with the
codes led will glow
• This led is connected with
pin13
AREF

• Stands for Analog


REFerence
• It is sometimes used to set
an external reference
voltage(between 0 to 5v) as
the upper limit for the
analog input pins
ICSP

• In circuit serial programming


• One of the several methods available for programming
Arduino boards
• SPI communication protocol
Main
MICROCONTROLLER

• Each Arduino board has its own


microcontroller - brain of the board
• Usually of the ATMEL company
• We must know what IC our board has
before loading up a new program
from ARDUINO IDE
• ATMEGA328P
ATMEGA328P 
• Used to store data and run program
HOW TO PROGRAM THE
ARDUINO BOARD​
•STEP1: install the ARDUINO IDE
software in your pc​
•STEP2: open a new project in the
file tab​
•STEP3: Connect your Arduino board
to pc with the help of USB cable and
then power up the board using
adapter connect to power jack​
•STEP4: select your Arduino board in
the IDE toolbar select the correct
board name which you connected
with pc.​
•STEP5: WRITE your program code
in the project file in IDE​
•STEP6: verify & compile your
program and upload in the Arduino
board using upload icon.
LIST OF SOME
ARDUINO UNO BLINK LED
PROJECTS
LINE
FOLLOWER
ROBOT
THANK YOU ! 

You might also like