Lect2 IOT

Download as pdf or txt
Download as pdf or txt
You are on page 1of 33

Arduino

Presented by
Dr. Amany AbdElSamea
Outline

• Microprocessor vs. Microcontroller


• What is Arduino?
• Difference between Arduino Boards
• Arduino Uno
• Arduino Sensors
• Arduino IDE
• Arduino and TinkerCAD
• M2M vs. IoT
Microprocessor vs. Microcontroller
Different types of Arduino
Difference between Arduino boards
Arduino Uno
• The Uno is one of the more popular boards in the ArduinoPWR IN USB
(to Computer)
family and a great choice for beginners. The Arduino Uno is a
microcontroller board based on the ATmega328 .
RESET

• What does it have?


-14 Digital In/Out pins (6 can be used as Pulse Width
Modulation (PWM) is a technique for getting analog results
SCL\SDA
with digital means) (I2C Bus)
-6 Analog Inputs
-A USB Connection
-A Power Jack
POWER
-Reset Button
-On-board LED 5V / Digital I\O
3.3V / PWM(3, 5,
-SCL/SDA pins (Serial Clock/ Serial Data pins) GND 6, 9, 10, 11)
Analog
INPUTS
• In short, it contains everything needed to support the
microcontroller; simply connect it to a computer with a USB
cable or power it with a AC-to-DC adapter or battery to get
started.
Arduino Uno Board
Arduino Sensors
• The sensors are defined as a machine, module, or a
device that detect changes in the environment. The
sensors transfer those changes to the electronic devices
in the form of a signal.

• The sensors are used to measure the physical quantities,


such as pressure, temperature, sound, humidity, and
light, etc.

• The data signal runs from the sensor to the output pins
of the Arduino. The data is further recorded by the
Arduino.
Arduino Sensors cont.,
How Arduino is Programmed
Arduino IDE
• The Arduino IDE is an open-source software, which is used to
write and upload code to the Arduino boards.

• The IDE application is suitable for different operating systems


such as Windows, Mac OS X, and Linux. It supports the
programming languages C and C++. Here, IDE stands
for Integrated Development Environment.

• The program or code written in the Arduino IDE is often called


as sketching. We need to connect the Genuino and Arduino
board with the IDE to upload the sketch written in the Arduino
IDE software. The sketch is saved with the extension '.ino.'
Arduino IDE cont.,
Useful Functions
Blinking LED
How to Get Started
If you have the board follow up the following steps:
• Arduino board
- USB cable
- DC power supplies

• Download the Arduino software (Arduino IDE)


• Read carefully
-Instructions to install and setup the Arduino board with
the computer and software
- Download the Arduino IDE software
• Plug in the Arduino board into the computer after writing the
sketch.
If you don’t have the board so use TinkerCAD simulator
TinkerCAD Arduino
M2M vs. IoT
Machine-to-Machine (M2M)
Machine-to-Machine (M2M) is a slightly older term that
usually describes devices that communicate via direct
point-to-point connections. For example, a sensor may
measure the temperature in a building, then trigger an
actuator to turn on the furnace or air conditioning until
the temperature reaches a certain threshold.
M2M gateway
• Since non-IP based protocols are used within M2M
area networks, the M2M nodes within one network
cannot communicate with nodes in an external
network.
• To enable the communication between remote M2M
area networks, M2M gateways are used.
Difference between IoT and M2M
• Communication Protocols
M2M and IoT can differ in how the communication between
the machines or devices happens.
M2M uses non-IP based communication protocols for
communication within the M2M area networks.
• Hardware Vs. Software Emphasis
The emphasis M2M is more on hardware with embedded
modules, the emphasis of IoT is more on software.
• Data Collection & Analysis
M2M data is collected in point solutions and often in on-
premises storage infrastructure.
In contrast to M2M, the data in IoT is collected in the cloud
(can be public, private or hybrid cloud)
Communication in IoT vs. M2M
IoT vs. M2M
Conventional Network Architecture
• In conventional network
architecture the control
plane and data plane are
coupled.

• Control plane is the part of


the network that carries the
signalling and routing
message traffic while the
data plane is the part of the
network that carries the
payload data traffic.
SDN
Key Elements of SDN
Network Function Virtualization
(NFV)
Key elements of NFV
NFV Use Case

You might also like