You are on page 1of 29

Arduino Advanced

Shield and Sensors


INTERINO | MARQUEZ | OCAMPO
ETHERNET SHIELD
The Arduino Ethernet Shield
allows you to easily connect your
Arduino to the internet. This
shield enables your Arduino to
send and receive data from
anywhere in the world with an
internet connection.
ADVANTAGES
01 02 03
W51000 chip, which has
On-board micro SD slot
an internal 16K buffer Addition of a Power over
which enables you to
connection speed of up Ethernet (PoE) module
store a heck-of-a-lot of
to 10/100Mb
data.

04 05
LED's on Arduino Ethernet Arduino
Ethernet Shield connectivity
LED's on Arduino Ethernet Shield
PWR: For the indication of shield and board
powering.
LINK: For the indication of network link presence
and when data is received or transmit it flashes.
FULLD: For the indication of full-duplex network
connection
100M: For 100 MB/s network connection
presence
RX: When shield receives data it starts flashing
TX: When shield sends data it starts flashing
COLL: Flashes in the case when network
collisions are detected
Ethernet Arduino connectivity

SERVER: We can make our Arduino act as server


i.e. it can be accessed from the internet and we
will send commands from our Arduino board.

CLIENT: Client basically sends data to the server.


GENERAL PIN CONFIGURATION
The general pin configuration of Arduino and Ethernet shield is
given below. However, it may vary from model to model so a
description is also given to avoid confusion.

● Arduino communication is done using SPI bus through


ICSP header so pin number D11, D12, D13 on classic
Arduino models are used for this purpose and pin D 50
and D 52 on Arduino Mega serves the same purpose.
● For W5100 D 10 pin is used and it’s a general purpose
input output pin.
● D 4 pin is again general purpose input output pin but it is
used for SD card. If we are not using SD card then this pin
can be used as general purpose input output pin.
● D 2 pin is named as INT on Arduino board and is
connected with INT pin of W5100
DISADVANTAGES
01 02 03
It has too many pins to
plug into earlier version Needed to be connected This is not the fastest
Arduino boards. in a home router connection around

04 05
W5500 and SD card
Does not come with a
share the SPI bus, only
one at a time can be
built in PoE module, it
active is a separate
component that must
be added on
HOW TO USE IT?
01 02 03
Plugging the header Plug the Arduino into
pins from the shield into Next, open the Arduino
your computer's USB
your Arduino development
port, and the Ethernet
environment
shield into your router

04 05 06
Figuring the IP Address Once open, you may need Once the mac address is
to change the Mac address. properly configured, upload
File --> Examples --> On newer versions of the the sketch to your Arduino,
Ethernet --> Ethernet shield, you should and open the serial monitor. It
DhcpAddressPrinter see this address on a sticker should print out the IP
attached to the board. address in use.
Applications that uses Ethernet Shield

● Ethernet-based home automation system


using Arduino Ethernet shield
● Chat server
● Homeotic (Home automation system)
● Web client
● Automated Garden
● Web server
Arduino Ethernet Shield

Arduino Ethernet Shield Webserver

https://www.youtube.com/watch?v=pyKPivef3ks
Xbee Shield
DAN CARLO R. INTERINO
Overview of Xbee Arduino
● The Xbee shield allows an Arduino board to communicate wirelessly using
Zigbee. It is based on the Xbee module from MaxStream.
● The module can communicate up to 100 feet indoors or 300 feet outdoors (with
line-of-sight).
● It can be used as a serial/usb replacement or you can put it into a command
mode and configure it for a variety of broadcast and mesh networking options.
● The shields breaks out each of the Xbee's pins to a through-hole solder pad.
● It also provides female pin headers for use of digital pins 2 to 7 and the analog
inputs, which are covered by the shield (digital pins 8 to 13 are not obstructed
by the shield, so you can use the headers on the board itself).
● The Xbee shield was created in collaboration with Libelium, who developed it for
use in their SquidBee motes (used for creating sensor networks).
Advantage of Xbee Shield

Wireless Connection LED is useful in


debugging

Doesn’t require ironing


Same network connection &
destination and MY addresses
Disadvantage of Xbee Shield

Other Hardwares are


needed Limited coverage for outdoors

Budget Features

Risky to be used for private


Expensive
information
XBee-Arduino library

Library for talking to to various wireless XBee modules

from Digi.

This supports various devices, configured to use the

more advanced "API" mode.

Author: Andrew Rapp

Maintainer: Andrew Rapp


Compatibility

This library is compatible with all

architectures so you should be able to

use it on all the Arduino boards.

Releases

To use this library, open the Library

Manager in the Arduino IDE and install

it from there.

● 0.6.0 (latest)
Sample Project

https://www.youtube.com/watch?v=5Al
OUPbSjZI
ARDUINO MOTION SENSOR
“Passive Infrared Sensors”

The PIR Motion Sensor Switch can detect the Infrared


Rays released by human body.

The light or any other electrical appliance can be


activated automatically by the active presence of a
human body within the detection range / coverage
area & when there is no presence the light will be
deactivated automatically.
Structure of PIR Sensor
Structure of PIR Sensor
There are two potentiometers on the board to adjust a
couple of parameters:

● Sensitivity– This sets the maximum distance that

motion can be detected. It ranges from 3 meters

to approximately 7 meters. The topology of your

room can affect the actual range you achieve.

● Time– This sets how long that the output will

remain HIGH after detection. At minimum it is 3

seconds, at maximum it is 300 seconds or 5

minutes.
Structure of PIR Sensor
There are two potentiometers on the board to adjust a
couple of parameters:

● Sensitivity– This sets the maximum distance that

motion can be detected. It ranges from 3 meters

to approximately 7 meters. The topology of your

room can affect the actual range you achieve.

● Time– This sets how long that the output will

remain HIGH after detection. At minimum it is 3

seconds, at maximum it is 300 seconds or 5

minutes.
Structure of PIR Sensor
VCC is the power supply for HC-SR501

PIR sensor which we connect the 5V pin


on the Arduino.

Output pin is a 3.3V TTL logic output.

LOW indicates no motion is detected,


HIGH means some motion has been
detected.

GND should be connected to the ground

of Arduino.
Advantage oF Arduino motion Sensor

● PIR Motion Sensors will itself recover


its cost by reducing your electricity
Bills and further save your electricity
cost for the future.
● Very easy installation and can be
installed by in-house technician itself.
● No separate wiring is required hence
no additional installation cost.
● No modification is required and
compiles with current aesthetics
Disadvantage oF Arduino motion Sensor

● Radio frequency at high power


is harmful for humans (active
type).
● Passive motion sensors do not
operate above temperature of
35℃.
● Passive type is insensitive to
very slow motion of the object.
● Any kind of moving object can
trigger the PIR sensor type
Application oF Arduino motion Sensor

● Used in locker systems


● Security at Home, Banks, Mall etc
● All outdoor Lights
● Lift Lobby
● Multi Apartment Complexes
● Common staircases
● For Basement or Covered
● Parking Area
● For garden lights
Arduino Motion Sensor

https://www.youtube.com/watch?v=T8ZHKV95i6k
REFERENCES
https://www.youtube.com/watch?v=pyKPivef3ks

https://www.instructables.com/Arduino-Ethernet-Shield-Tutorial/

https://microcontrollerslab.com/arduino-ethernet-shield/

http://data.conferenceworld.in/11ICSTM/8.pdf

https://www.javatpoint.com/arduino-motion-sensor

https://lastminuteengineers.com/pir-sensor-arduino-tutorial/

https://www.arduino.cc/reference/en/libraries/xbee-arduino-library/

https://www.arduino.cc/en/Main/ArduinoXbeeShield

https://www.polytechnichub.com/advantages-disadvantages-zigbee/

https://learn.sparkfun.com/tutorials/xbee-shield-hookup-guide

You might also like