Вы находитесь на странице: 1из 22

DESIGN AND REALIZATION OF ZIGBEE AND WIFI WIRELESS GATEWAY USING FRIENDLY ARM

Presentation by

SHRIRESH .R. PILLAI 1CR10LDE15

CONTENTS

ABSTRACT INTRODUCTION EXISTING & PROPOSED SYSTEM SYSTEM ARCHITECTURE IMPLEMENTATION H/W & S/W MODULES FLOW CHARTS SNAPSHOTS APPLICATION CONCLUSION REFERENCES

ABSTRACT
o

An embedded access platform is being used, which takes ArmBoard as the center

core and is built on the Linux operating system.


o

Based on the characteristics and advantages of ZigBee and Wifi, this project mainly analyzes the software design of the gateway, including the way to realize the connection between ZigBee protocol and Wifi network, along with the design of data

conversion task between ZigBee network and Wifi network.


o

A temperature sensor is also interfaced to sense the remote temperature, to show that the concept can be used for various fields like Home Automation, Industrial environment control & Monitoring.

INTRODUCTION

Fig: A schematic of a wireless gateway between Zigbee and Wi-Fi

oA gateway is a network node equipped for interfacing with another network that uses different protocols.

EXISTING SYSTEMS
o

Design and Development of a BlueBee Gateway for Bluetooth and ZigBee Wireless Protocols
In this system, combine the functions and capabilities of the maturity wireless protocol such as Bluetooth with the simplified data processing of ZigBee technologies, to design a powerful gateway tool for embedded systems: the BlueBee system

Design and Realization of Wireless Sensor Network Gateway Based on ZigBee and GPRS
Based on the character and advantage of ZigBee and GPRS, it advances the solution scheme of the wireless sensor network gateway.

Design of WSN gateway based on ZigBee and TD-SCDMA


A wireless sensory gateway based on ZigBee/TD, closely combining ZigBee net with TD-SCDMA net. In the plan of design, the network node transport data to gateway by ZigBee short-range communication technique after collecting them and the gateway send them to control center by TD network from long distance, realizing the highly efficient long-range transport of data.

PROPOSED SYSTEM

BRIEF DESCRIPTION OF PROPOSED SYSTEM

The system is based on Samsung S3c2440 arm processor and embedded Wi-Fi module. The system is tested by sensing of temperature via temperatue sensor connected to Zigbee coordinator present in network which is digitizesed and sent to the gateway on request by any wifi devices. The wifi enabled devices runs a GUI application that controls and monitors the temperature. It can send device on/off signals to the Zigbee nodes for automation purpose. This signals are received by the gateway converts from the wifi protocol to the Zigbee protocol and sends to the requested Zigbee node where it performs the operations.

ADVANTAGES OF PROPOSED SYSTEM

Advanced system: The system is advanced compared to the other systems. This concept can be used by many organizations to effectively interconnect the wifi and Zigbee systems for increased flexibility and compatibility. Reduced cost: As only one gateway is enough to do the job of protocol convertion in the network no any overhead is required by host or client devices as all operations are performed in gateway. Flexible: The system is flexible as any wifi enabled devices such as laptops, PDA and mobiles can be used to control the Zigbee network. Reduced complexity: As in the proposed system the complexity is only present in the gateway and no need to add and additional complexity in Zigbee or wifi network side.

ABOUT ZIGBEE
o

Zigbee is a new IEEE 802.15.4-2006 standard based, short distance, low

data rate and low power consumption wireless technology used in Home
security (WPAN)applications.
o

It supports a robust mesh network containing multiple nodes.

It makes the network reliable by permitting messages to travel through a


number of different paths to get from one node to another.

With constantly improving and maturing of Zigbee technology, it is widely used WSN.

ABOUT WI-FI
o

Wi-Fi is a most successful wireless local area network(WLAN) system that builds upon the IEEE 802.11 standards. With rapid development of Wi-Fi in recent years, infrastructure facilities have been improved.

The coverage of wireless access point(AP) has already been very wide and the price is cheap.
Usually the bandwidth of WLAN is higher than the bandwidth of other types of internet connection such as ADSL, GPRS and 3G The transmission delay of WLAN is less than theirs.

SYSTEM ARCHITECTURE

& app. control

(GUI)

Fig: A schematic of a wireless gateway between Zigbee and Wi-Fi

IMPLEMENTATION
Hardware requirements:

PC(Intel Pentium Processor with more than 400 MHz) ARM Board

WIFI Router
Serial Cable USB cable ZIGBEE MODULE s Temperature Sensor

Software Requirements:

Programming language: Embedded C Linux kernel version 2.6 QT SDK 4.6

HARDWARE MODULE

Xbee Module( formerly known as Zigbee series 2) Here we use two Zigbee module, one present at the network side and other at the Gateway side. The Xbee present in network side is connected with the temperature sensor and on/off control ports. When the wifi enabled device sends signals to the required Zigbee through the gateway, the network Zigbee process the request and sends the temperature status performs on/off operation. The xbee present at gateway is use to communicate between the ARM system and Zigbee network. Wi-fi Module Net gear Wi-fi module or adapter is connected to wireless gateway(Arm board) through the usb port. The wireless gateway can send the information or data received by Zigbee router to the wi-fi router in proper format. The client software send the commands or information to the gateway through the wi-fi router which is connect to gateway. The gateway get the data from the wi-fi router and process it further and sends them towords the Zigbee network

SOFTWARE MODULE
Linux Kernel version 2.6

The Linux kernel is the operating system kernel used by the Linux family of Unixlike operating systems. It is one of the most prominent examples of free and open source software.
We use Linux kernel vertion 2.6 which acts as an base os in our gateway.

C Programming language
o

Although C was designed for implementing system software, it is also widely used for developing portable application software C is one of the most widely used programming languages of all time and there are very few architectures for which a C compiler does not exist

We use C program to write code for the ARM gateway console application.

QT SDK 4.6

Qt offers you a robust, tried and tested application and UI framework for the development of rich, compelling apps for windows, linux, Nokia Symbian Smartphones. Qt greatly reduces your coding effort, through intuitive APIs that deliver more functionality from less code We here use QT software to create gui application for monitoring and controlling the Zigbee nodes through Wi-Fi enabled devices

ARMBOARD(S3C2440) ARCHITECTURE

ARM MINI 2440 SBC


o

FriendlyARM Mini 2440 is a SBC (Single-Board Computer) with 400 MHz Samsung S3C2440 ARM9 processor.

Mini2440 is a practical low-cost ARM9 development board, is currently the highest in a costeffective learning board

The S3C2440 features an ARM920T core, a 16/32-bit RISC microprocessor, to provide hand-held devices and general applications with cost-effective, low-power, and high performance microcontroller solution in a small form-factor

The S3C2440 includes the following components:


o o o o o o o

separate 16 KB instruction and 16 KB data cache. MMU to handle virtual memory management, TFT& STN LCD controller NAND flash boot loader, system manager (chip select logic and SDRAM controller) 3-ch UART, 4-ch DMA, 4-ch timers with PWM, I/O ports, RTC, 8-ch 10-bit ADC and touch screen interface camera interface, AC97 audiocodec interface, IIC-BUS interface, IIS-BUS interface USB host, USB device, SD host & multimedia card interface, 2-ch SPI and PLL for clock generation.

This ARM Board is implemented as a gateway in this proposed system.

Flowcharts
Gateway console

FLOW CHARTS
QT INTERFACE APPLICATION

SNAPSHOTS

Friendlyarm board

Snapshot of the GUI application

CONTD.

Snapshot of netgear wi-fi router

Snapshot of the Zigbee module

APPLICATIONS

As we have discussed in the previous chapters, we understand that Zigbee-Wifi wireless gatewat is a type of hybrid system. Zigbee has a robust mesh network, in which communication between nodes are more reliable and are useful for short range communication, all this while consuming very less power. Wifi on the other hand is widely used protocol for connecting to the Internet, but are high in power consumption. So combining both technologies, we can develop solutions like the proposed system which can be used inIt is used in many fields such as-

Home Entertainment and Control Smart lighting, advanced temperature control, safety and security, movies and music.
Home Awareness Water sensors, power sensors, smoke and fire detectors, smart appliances and access sensors. Commercial Building Energy monitoring, HVAC, lighting, access control.

Industrial Plant Process control, asset management, environmental management, energy management, industrial device control.

CONCLUSION

In this paper, the ZigBee-Wi-Fi wireless gateway based on Samsung s3c2440 ARM chip, XBee pro and Wi-Fi module can connect the ZigBee network to standard network seamlessly. From the result of performance test we can see that the performance and stability of wireless gateway suits the usual target of WSN application, which is low real time demand, small amount of data transmission and low bandwidth.