embedded wireless sensors

Upload: sxfdxaveb

Post on 14-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 embedded wireless sensors

    1/21

    SEMINAR ON

    EMBEDDED WEB

    SERVER FOR WIRELESSSENSOR NETWORKS

    Presented by

    L. Sravan Kumar Reddy

    1581210090

  • 7/30/2019 embedded wireless sensors

    2/21

    To enhance the communication in an

    industrial environment.

    To control the industry from a distance.

    To reduce the risk of dangerous situations in

    an industry.

    2

  • 7/30/2019 embedded wireless sensors

    3/21

    Microcontroller units(Atmega 32 and 8)

    Xbee modules

    Ethernet module

    Network Sensors

    3

  • 7/30/2019 embedded wireless sensors

    4/21

    Overview of wireless sensor networks

    client serverclient server 4

  • 7/30/2019 embedded wireless sensors

    5/21

    ServerBlock diagram

    5

  • 7/30/2019 embedded wireless sensors

    6/21

    CLIENT- BLOCK DIAGRAM

    6

  • 7/30/2019 embedded wireless sensors

    7/21

    Atmega 32

    High-performance, Low-power AVR8-bit Microcontroller

    32K Bytes of In-System Self-Programmable Flash

    -Endurance: 10,000 Write/Erase Cycles

    1024 Bytes EEPROM

    -Endurance: 100,000 Write/Erase Cycles

    2K Byte Internal SRAM

    Inbuilt ADC

    32 Programmable I/O Lines

    Operating Voltages 4.5 - 5.5V

    7

  • 7/30/2019 embedded wireless sensors

    8/21

    ETHERNET MODULE

    Ethernet controller features

    Supports Full and Half-Duplex modes.

    Programmable automatic retransmit oncollision.

    Programmable padding and CRC generation.

    Programmable automatic rejection of

    erroneous packets. SPI Interface with speeds up to 10 Mb/s.

    8

  • 7/30/2019 embedded wireless sensors

    9/21

    XBEE Module

    Key Features

    Indoor/Urban: up to 100 m

    Outdoor line-of-sight: up to 1 mile (1.6 km)

    Transmit Power Output: 100 mW (20 dBm)RF data rate: 250,000 bps

    TX Current: 295 mA (@3.3 V)

    RX Current: 45 mA (@3.3 V)

    9

  • 7/30/2019 embedded wireless sensors

    10/21

    XBEE RF Module Operation

    The Xbee OEM RF Modules interface to a host devicethrough a logic-level asynchronous serial port.

    Devices that have a UART interface can connect directly to the pins of the RF

    module as shown in the figure below.

    10

  • 7/30/2019 embedded wireless sensors

    11/21

    LCD INTERFACING

    11

  • 7/30/2019 embedded wireless sensors

    12/21

    I2C Protocol

    12

  • 7/30/2019 embedded wireless sensors

    13/21

    13

  • 7/30/2019 embedded wireless sensors

    14/21

    SPI Protocol

    14

  • 7/30/2019 embedded wireless sensors

    15/21

    15

  • 7/30/2019 embedded wireless sensors

    16/21

    16

  • 7/30/2019 embedded wireless sensors

    17/21

    17

  • 7/30/2019 embedded wireless sensors

    18/21

    TCP/IP architectureApplication layer

    Provide services that can be used by other applications

    Incorporate the functions oftop 3 OSI layers

    E.g., HTTP protocol, format in request, dialogue betweenclient and server

    http request/response contains format information, sotransformation.

    a web page may contain text,graphics,Java applet.Different files, different downloads, the browser keepstracks of downloads.

    18

  • 7/30/2019 embedded wireless sensors

    19/21

    TCP/IP architectureTransport layer

    Application layer directly run over the transport layer,corresponding to OSI transport layer.

    Two kinds of services: TCP & UDP.

    TCPTransmission Control Protocol, reliable connect-oriented transfer of a byte stream.

    UDPUser Datagram Protocol, best-effort

    connectionless transfer of individual messages.

    19

  • 7/30/2019 embedded wireless sensors

    20/21

    TCP/IP architectureInternet layer

    1. Transfer of information across networks through gateways/routers2. Corresponding to OSI network layer: routing and congestion control

    3. Global unique IP address and IP packets

    4. Best-effort connectionless IP packet transfer: no setup, routed

    independently, robust, out of order, duplicate, or lose of packet

    Application

    Transport

    Internet

    Network Interface

    Application

    Transport

    Internet

    Network Interface

    Internet

    Network InterfaceS

    Network 1 Network 2

    Machine A Machine B

    Router/Gateway

    IP

    packet

    Packetof network1

    Packet

    of network1

    IP

    packetIP

    packet

    Packet

    of network2

    IP

    packet

    Packet

    of network2

    20

  • 7/30/2019 embedded wireless sensors

    21/21

    21