How To Build A Wireless Light Control System Based On Zigbee



Similar documents
Implementation of Wireless Gateway for Smart Home

Intelligent Home Automation and Security System

Accident Notification System by using Two Modems GSM and GPS

Design of Wireless Home automation and security system using PIC Microcontroller

DEVELOPMENT OF VIBRATION REMOTE MONITORING SYSTEM BASED ON WIRELESS SENSOR NETWORK

Establishing a Wireless Sensor Network to Monitor the Temperature in a two storied building

Fingerprint Based Biometric Attendance System

The Research and Application of College Student Attendance System based on RFID Technology

Application of Wireless Sensor Network and GSM Technology: A Remote Home Security System

Surveillance System Using Wireless Sensor Networks

Radiocrafts Embedded Wireless Solutions

A Study of Low Cost Meteorological Monitoring System Based on Wireless Sensor Networks

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

Design of Fuzzy Drip Irrigation Control System Based on ZigBee Wireless Sensor Network

Online Communication of Critical Parameters in Powerplant Using ZIGBEE

Sensor network infrastructure for intelligent building monitoring and management system

Design and Development of SMS Based Wireless Home Appliance Control and Security System

Smart Home System Using Android Application

Wireless Sensor Network Based Low Power Embedded System Design For Automated Irrigation System Using MSP430

Raghavendra Reddy D 1, G Kumara Swamy 2

Design of WSN-Based Remote Monitoring System for Environmental Parameters in Substation

RC2200DK Demonstration Kit User Manual

Automated Security System using ZigBee

A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM

Wireless Temperature

Car Racing Game. Figure 1 The Car Racing Game

International Journal of Computer Engineering Science (IJCES)

Designing VM2 Application Boards

Design of Remote data acquisition system based on Internet of Things

Water Quality Monitoring System Using Zigbee Based Wireless Sensor Network

Project Plan. Project Plan. May Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

iloq P10S.10/20 Programming device User's Guide

3. Identification of water pumps through RFID technology. 4. Wireless control of remote water pump using RF technology.

Using Xbee in Serial Communication

Design of Strong-motion Monitoring System for Dam-reservoir D s e i s gn of Stro r ng-mo m tion Monito t ri r ng Syst s em

Advanced Car Security System Using GSM

Quick Start Guide for High Voltage Solar Inverter DC-AC Board EVM. Version 1.3

FLYPORT Wi-Fi G

Figure 1. The Example of ZigBee AODV Algorithm

POCKET SCOPE 2. The idea 2. Design criteria 3

Controlling a Dot Matrix LED Display with a Microcontroller

USR-TCP232-T Hard Version: V2.0 Doc Version: V

Research of Embedded Tower Crane Monitoring System based on FCS

User Manual. AS-Interface Programmer

Wireless monitoring system for temperature and humidity based on ZigBee

USER GUIDE Programming Adapter Cable for Fujitsu Flash Microcontroller- F²MC-16LX/FR Family Fujitsu Microelectronics America, Inc.

EMBEDDED GSM MONITOR AND CONTROL USING ANDROID APPLICATION

Intelligent Fleet Management System Using Active RFID

Lab 1 Course Guideline and Review

Construction of intelligent home furnishing control system based on Internet of things and sensor

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

Journal of Chemical and Pharmaceutical Research, 2014, 6(5): Research Article

Building a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home

Development of cloud computing system based on wireless sensor network protocol and routing

Study on Differential Protection of Transmission Line Using Wireless Communication

Artur Scholz University of Applied Sciences Aachen, Germany

Design of Self-service Car Washing Machine Control System Based on ARM Zhengmin Cui a, Peng Sun b

Self-Evaluation Configuration for Remote Data Logging Systems

Integration of Arduino as a slave system to LonWorks based System using I2C Interface

Customer Specific Wireless Network Solutions Based on Standard IEEE

Smart Queue Management System Using GSM Technology

Wireless Monitoring and Management of Energy Consumption and Power Quality Events

Network Enabled Battery Health Monitoring System

International Journal of Engineering Research & Management Technology

International Journal of Advancements in Research & Technology, Volume 3, Issue 5, May ISSN THROUGH MOBILE

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

Hands On ECG. Sean Hubber and Crystal Lu

Sensors and actuators are ubiquitous. They are used

Cell Phone Based Liquid Inventory Management Using Wireless System

ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure GHz ZigBee Development Kit

Figure 1. 8-Bit USB Debug Adapter

The Design of DSP controller based DC Servo Motor Control System

A Smart Telephone Answering Machine with Voice Message Forwarding Capability

Final Design Report 19 April Project Name: utouch

Lab 1: Introduction to Xilinx ISE Tutorial

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

MED-AFEs Design Reference Manual

Design and Implementation of an Accidental Fall Detection System for Elderly

Design, implementation and characterization of a radio link in ISM band at 2.4Ghz

Designing a Schematic and Layout in PCB Artist

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

A WSN healthcare monitoring system for elderly people in geriatric facilities

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

Monitoring and Controlling Power using Zigbee Communications

Green House Monitoring and Controlling Using Android Mobile Application

AN588 ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE. 1. Kit Contents. 2. Introduction. Figure 1. Energy Harvesting Sensor Node

Wireless Home Security System

Bus Data Acquisition and Remote Monitoring System Using Gsm & Can

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Open Access The Wireless Environment Monitoring Alarm System Based on Selforganizing

An Introduction to MPLAB Integrated Development Environment

SAMPLE CHAPTERS UNESCO EOLSS DIGITAL INSTRUMENTS. García J. and García D.F. University of Oviedo, Spain

InFoRMS. Interactive FM Radio Messaging System 10/6/07

Agricultural Robot (Irrigation System, Weeding, Monitoring of Field, Disease Detection)

1 Technical Description Lokal-200PC

9448 Installation and User Guide

BROWSER-BASED HOME MONITOR USING ZIGBEE SENSORS

Intelligent GSM Auto-Dial Alarm System

ZigBee Propagation for Smart Metering Networks

Transcription:

Communications and Network, 2013, 5, 29-33 doi:10.4236/cn.2013.51b008 Published Online February 2013 (http://www.scirp.org/journal/cn) Development of Wireless Light Control System Based on Zigbee Changfei Guo, Xiaoping Zou, Chaoting Ma, Rongrong Zhang Beijing Key Laboratory for Sensor, Beijing Information Science and Technology University, Beijing, China Email: xpzou2005@gmail.com Received 2012 ABSTRACT This paper presents a solution to wireless light control system based on Zigbee. Overall design framework of the system was introduced and analyzed in detail, which contained realization of hardware design. The Zigbee wireless light control system was established based on CC2430-chip of Texas Instruments (TI). In this paper, we achieved designing Printed Circuit Board (PCB) for sensor nodes as end device and coordinator in Protel DXP 2004 and also wrote C codes in IAR embedded workbench development tool to form wireless network. Test results of system show that lights on end device or router in Zigbee wireless sensor networks (WSN) can be controlled by another switch on coordinator, which achieved remotely wireless intelligence light control. Keywords: Wireless Light Control; Zigbee; PCB; WSN 1. Introduction With the emergence of the internet of things, the principles that gave rise to the internet are now leading to a new kind of network of everyday devices, an Internet-0 [1]. As a new short-range wireless communication technology, Zigbee aims at solving the function of internet among different hardware devices, which have powerful potential applying in intelligence control [2] such as industry, medical and home. To realize intercommunication among different hardware devices, we built wireless sensor networks (WSN) to achieve wireless light control. In this paper, design and implementation of system were given and analyzed in detail. 2. System Scheme The architecture of system including hardware and software were analyzed and discussed as follows. Figure 1 is the system scheme applying in Zigbee wireless light control network. There are mainly three types of sensor nodes to form a wireless network, which are coordinator, router and end device. Wireless communication was achieved by using CC2430-chip named Zigbee module [3]. Each coordinator is a control centre, which is responsible to manage the whole network. Light module as end device or router can send signals to coordinator or another router. After achieving lower computer programming, coordinator processed data from routers and end devices. It means that the coordinator is similar to a switch which aims at controlling lights by wireless way in network. Router plays the role of information transmission, which must be a Full Function Device (FFD) with function of sending and receiving data. End device can be a Reduced Function Device (RFD), which is only used for sending or receiving data. To manage the whole network and process complicated data, coordinator usually is connected to computer as control centre via RS- 232 serial communication port. Through the control centre, we can easily know the condition of network and handle problems happened at any time we need. In this paper, wireless control was mainly carried out in hardware system by lower computer programming with c codes. Management software with Zigbee tree structure network [4] as control centre with graphic user interface (GUI) will be the next aim we consider. Figure 1. System scheme.

30 C. F. GUO ET AL. 3. Hardware Design 3.1. Key Light Control Circuit For developing the whole light control system, all circuits related to the network must be designed and tested. To finish this part work, Protel DXP 2004 is a good design tool for us to choose. The next procedure we will demonstrate the global design process of the hardware system. All parameters such resistors and capacitors were set precisely before according to circuit function by us. Figure 2 is the key light control circuit we have designed, which mainly contains JPx (JP1 and JP2) module and JTAG module. JP1 and JP2 are slots of light module with CC2430-chip which has dual lines with entire 40 pins. For making circuit enable to be programmed, JTAG module with 10 pins is used for meeting design requirement. S8 is the reset switch of light module. Remaining pins in circuit are linked to other correlative circuits we used in system. Figure 3 is the switch control circuit, which aims at implementing wireless control. This part circuit includes six switches, one capacitor and some resistors. S1 named UP and S5 named RIGHT are applied in intercommunication among different sensor nodes. According to different voltages on switch node, CC2430- chip as MCU can detect which switch is pressed. When a sensor node joints into Zigbee wireless network, switch S5 will be used. In contrast, if a sensor node exits from Zigbee wireless network, S5 will be enable again. S1 is control switch on coordinator, which controls other lights on end device or router. By making use of this approach, lights on different end devices and routers can be controlled by switches on coordinator. Printed Circuit Board (PCB) of the whole circuit will be given in next section and test results will be analyzed as well. Figure 2. Key hardware circuit of light control. Figure 3. Switch control circuit.

C. F. GUO ET AL. 31 3.2. PCB Design and 3D View After finishing circuit schematic design, the next problem is how to change the design circuit into PCB for fabrication. To solve the problem, we built all footprints for all chips and all devices. According to chip data sheets and devices we used, all device pin parameters were measured precisely by us with vernier caliper. Our PCB contained two layers, which is the top layer and bottom layer. Top layer is used to place main devices and bottom layer used to place batteries. After achieving auto and manual placing and routing with no errors through Design Rule Check (DRC), the final complete PCB board is shown in Figure 4. From the PCB board, our circuit is designed successfully. Figure 5 is the Board in 3D view. When fabrication comes to an end, we will see the final board. Figure 4. PCB design of hardware circuit. 3.3. Fabrication Completed design all needed, we submitted PCB document to manufacture for fabrication. Figure 6 is final board of hardware circuit after finishing welding all devices. Test results were discussed in section 5. 4. Low Computer Software Programming 4.1. Programming Tool-IAR Embedded Workbench Low computer software programming is the core part of whole Zigbee wireless. Without software development platform, hardware system can t do anything, let along achieving intercommunication like information islands [5] communication. For making our system with networking, we wrote many functions with C codes to accomplish wireless communication and data transmission. At last we programmed C codes into 128KB-flash memory of CC2430-chip. Microcontroller on CC2430-chip can run exe files compiled by C codes to build Zigbee wireless light control network. All these tasks were done with no errors in IAR embedded workbench software platform. 4.2. Key Light Control Algorithm Achieving wireless communication is not a simple job. On the contrary, it needs amount of large work to write c codes. For meeting requirement of networking, we only analyzed the key algorithm which is used for wireless light control. Figure 7 is the key light control algorithm flow diagram to implement wireless control. First, initializing the whole network before keyboard event happening, we wrote function with C codes to detect which keyboard event happened and processed this event. Second, light on end device or router will send data request according to event process result. If this process goes without any problems, control command will be sent to end device or router from coordinator. Light on end device or router will be lighted or flashed. In the next section we will see the experiment result discussion. Figure 5. Board in 3D view. Figure 6. Final fabrication board in Figure 5.

32 C. F. GUO ET AL. 5. System Tests and Results Analysis 5.1. Hardware Networking Analysis aims at solving areas of problems, while design focuses on creating solution to problems. All problems in design solved, the next step is how to build a Zigbee wireless network with hardware board. Based on finishing programming in IAR development tool, we built our Zigbee wireless light control network. Figure 8 showed the hardware networking. One of three boards plays the role of coordinator and other two boards play the role of end device and router. We built a wireless network with three boards. 5.2. Test and Result Figure 8 is the testing system structure. Blue LEDs are the power indicator light. Coordinator as control centre is the core of the whole system. Router and end device are the object that controlled by coordinator. When wireless network built successfully after lower computer programming, the coordinator module showed Zigbee network ID as controlled node. On end device and router, red lights were used to represent networking success and green ones were used to be controlled light. Switch named S1 discussed in previous section on coordinator can control green lights on end device and router, while using witch S5 can joint or exit the networking for application. Figure 8 showed the green light status that the end device was lighted by switch on coordinator. Router was turned off by coordinator as well, in the mean time S5 on router was pressed to exit the network. 6. Conclusions and Future Work In this paper, we have designed successfully the hardware circuit to apply in building Zigbee wireless light control network and also have given the test results of the system. From the results from Fig.8, we clearly see the implementation of wireless light control. Based on our development system, it is speculated that the present study is very helpful to design a large wireless network including more end devices and routers applying in real projects. However, there are still some problems not solved in our system such as how to manage the whole network with software when more end devices and routers included. And our future aim is to design a light control system including management software. And then we will manage the network well we build through our software with GUI. Figure 7. Key light control algorithm. 7. Acknowledgements This work has been partially funded by the Program of Beijing Key Lab for Sensor under Grant No.KF20111077205. Figure 8. Wireless light control networking. REFERENCES [1] N. Gershenfeld, R. Krikorian and D. Cohen, The Internet of Things, Scientific American, Vol. 91, 2004, pp. 76-81. doi:10.1038/scientificamerican1004-76 [2] J. Yick, B. Mukherjee and D. Ghosal, Wireless Sensor Network Survey, Computer Networks, Vol. 52, 2008, pp. 2297-2230. doi:10.1016/j.comnet.2008.04.002 [3] I. -K. Hwang and J. -W. Baek, Wireless Access Monitoring and Control System based on Digital Door Lock, IEEE Transactions on Consumer Electronics, Vol. 53, 2007, pp. 1724-1727. doi:10.1109/tce.2007.4429276 [4] L.-H. Yen and W.-T. Tsai, The Room Shortage Problem

C. F. GUO ET AL. 33 of Tree-based ZigBee/IEEE 802.15.4 Wireless Networks, Computer Communications, Vol. 33, 2010, pp. 454-460. doi:10.1016/j.comcom.2009.10.013 [5] L. Zheng, ZigBee Wireless Sensor Network in Industrial Applications, SICE-ICASE International Joint Conference, 2006, pp. 1067-1069.