1 of 22

18BCT51� �INTERNET �OF �THINGS

Presented by:

K.Sathya

AP/CT-UG

Kongu Engineering College

2 of 22

Introduction to

ARDUINO Programming

3 of 22

Basic Components of IoT

4 of 22

Basic Components of IoT

Input Devices 🡪 Sensors, any device sending data

Processor 🡪 Microprocessor, Microcontroller

Output Devices 🡪 Actuators, any action/decision

5 of 22

Microprocessor / Microcontroller

  • Brains of any device
  • Process the inputs to take actions
  • Our code runs on the microcontroller or microprocessor

6 of 22

IoT Projects

  • Hardware circuit 🡪 Consisting of input ports, output ports, processor, power
  • Need mechanism to copy our code into processor on the circuit board
  • How to copy code(PROGRAM) into processor?????

7 of 22

Hardware Circuits

  • Two most popular among them 🡪 Arduino and Raspberry Pi
  • Both of them have a CPU which executes the instructions, timers, memory and I/O pins

8 of 22

ARDUINO

  • Open-source platform used for building electronics projects
  • Consists of both a physical programmable circuit board and a piece of software, or IDE
  • IDE 🡪 runs on your computer
  • Used to write and upload computer code to the physical board

9 of 22

For a Sample Project

  • All you need is:
    • Arduino Circuit Board
    • Arduino IDE (or) Arduino Cloud account
  • Components of Board:
    • Power🡪 USB(1), Barrel Jack(2)
    • Pins 🡪 Gnd, power, I/P, O/P(3,4,5)
    • Reset button (10)
    • Power LED (11)
    • Main IC (13)
    • Voltage Regulator (14)

10 of 22

Learning with Simulator

  • Without the hardware kit, Arduino can be simulated using any simulator
  • Best example: Tinkercad

11 of 22

12 of 22

13 of 22

Features

  • Standard connectors
  • Connect to other devices like LEDs or add-on modules (Shield) - Arduino Proto shield, Arduino WiFi Shield and Arduino Yun Shield
  • board voltage regulator and crystal oscillator
  •  USB to serial adapter
  • need IDE - based on Processing programming language 

14 of 22

  • The Arduino Uno is programmed using the Arduino Softwae (IDE) 
  • Arduino Web IDE – Arduino Web Editor
  • Arduino Desktop IDE - Arduino Software (IDE)

15 of 22

Types of Arduino Boards�

  • Many Types but commonly programmed using the Arduino IDE
  • different power supply requirements, connectivity options, their applications etc
  • ailable in different sizes, form factors, different no. of I/O pins
  • Ex. Arduino UNO, Arduino Mega, Arduino Nano, Arduino Micro and Arduino Lilypad

16 of 22

17 of 22

Arduino UNO�

18 of 22

19 of 22

20 of 22

21 of 22

22 of 22