Watr.Li – Developing a Showcase Application for the RIOT Operating System

Total Page:16

File Type:pdf, Size:1020Kb

Watr.Li – Developing a Showcase Application for the RIOT Operating System 1 Watr.li – Developing a showcase application for the RIOT operating system Lucas Jenß [email protected] Lotte Steenbrink [email protected] F 1 INTRODUCTION relatable, and a table full of flowers and hardware can help spark the curiosity of passers by. The Internet of Things (IoT) is a promising The remainder of this paper is structured as follows. paradigm capable of changing the way we in- An outline of the use case for the system presented teract with the world– and the way it interacts in this paper is given in Section 2. Section 3 explores with us. It describes the vision of small sensors the literature pertaining to the use case, followed and computers embedded into everyday objects, by an introduction of the main open standards which autonomously communicate with each other, used (Section 4). The system concept, beginning the Internet, and their surroundings. Since those at the hardware layer and working its way to the embedded devices are typically very constrained application layer, is presented in Section 5. This is in memory as well as computation and energy followed by a description of the implementation of capacities, operating systems powering them must the aforementioned concept (Section 6) as well as be lightweight, energy-efficient and possess a small the issues found and insights gained during that memory footprint. RIOT [1], an Operating System phase (Section 7). Finally, the community building (OS) for the Internet of Things, was designed with aspects of the project are outlined in Section 8, these criteria in mind. And while the development concluding the paper with an outlook and future on the operating system is thriving, it is lacking on work in Section 9. the application side. All existing demo applications focus on technical details, which are often hard to 2 TOWARDS THE INTERNET OF PLANTS communicate and less eye-catching for the broader public. Additionally, experiences with operating a Keeping plants alive in an office without regular network of RIOT nodes in a long-term, real world hours is hard. Either everybody thinks their col- scenario are sparse. leagues have already watered the plants or mul- To patch these gaps, this paper presents a RIOT- tiple people water the same plant, resulting in based plant monitoring application which can be either drought or overhydration. This can be solved shown at fairs, used in workshops, extended and with technology: If each plant humidity status is referenced for new projects. Using IoT hardware displayed publicly, co-workers can take matters and sensors, the wellbeing of plants can be moni- into their own hands without fear of interfering tored and communicated to the user through a web with an absent colleagues’ plant-watering scheme. interface. This is challenging in terms of network- Over the course of this paper, such a system, ing, used standards, heterogeneity of hardware and dubbed “Watr.li” (pronounced “waterli”) will be covers a broad array of RIOT features. The diverse introduced. nature of the setup also shows domain experts how To the end user, Watr.li consists of two different RIOT integrates with other IoT technologies such as entities: one wireless sensor node per plant, which IEEE 802.15.4, 6LoWPAN, and CoAP. Additionally, is plugged into its flower pot, and a web interface it makes RIOTs capabilities approachable and visi- which displays the status of monitored plants. Be- ble to observers of varying technical knowledge. To cause Watr.li should make life easier for the user, it many people, the problem of keeping plants alive is should require minimal installation effort and thus 2 be self-configuring. This means the user will not 4 TECHNOLOGIES have to re-program their nodes when they change plants, or register each new plant with the Watr.li The difference between Watr.li and existing solu- network. Whenever a new plant is detected by tions presented in Section 3 is that Watr.li relies Watr.li, the web interface will show a new, blank exclusively on Open Standards and Open Source spot for this plant. Now, the humidity needs and a software to achieve its goals. The main technolo- picture of the plant can be added by the user. gies that were employed in the Watr.li project are introduced in this section. A plant has three statuses: happy, okay or thirsty. Whenever a member of the Watr.li network feels IEEE 802.15.4 The IEEE 802.15.4 standard specifies thirsty, it will send a tweet and/or E-Mail. After it the physical (PHY) and media access control has been watered, it will tweet and/or E-Mail again (MAC) layers for low-rate wireless communi- to prevent overhydration. Additionally, the status of cation in personal area networks [7]. It was all plants can be checked through the web interface. specifically designed for embedded devices: its This way, users can see that they should water an hardware is cheap to produce, energy efficient “okay” plant before a long weekend even though and uses small packets – with a frame size of its humidity status has not dropped to thirsty yet. 128 bytes, only 81 bytes of payload are left to the upper layers. For comparison: the size of a IPv6 base header alone is 40 bytes. 3 RELATED WORK 6LoWPAN To adapt all IPv6 packets to the re- strictions of an IEEE802.15.4 transceiver, a Over the course of less than ten years, availability 6LoWPAN [8] adaption layer was used. This of hardware targeted at Wireless Sensor Network adaption is achieved through compression (WSN) has increased while costs have decreased of IP headers down to 3 bytes and packet significantly. This has increased the range of op- (de)fragmentation, if necessary. portunities for WSN, with plant monitoring being but one of the many opportunities. In large-scale RPL The Routing Protocol for Low Power and agricultural irrigation, water usage is reduced on Lossy Networks (RPL) [9] is specifically de- the basis of sensor data, which is collected and signed for networks in which all traffic is di- transmitted with the help of WSN [2, 3]. Large- rected towards one central, strong node, the scale pastures can be monitored in order to improve root node. RPL achieves this by generating a irrigation schemes with the use of a low-cost Tmote Destination Oriented Directed Acyclic Graph Sky based system, as presented by [4]. (DODAG) topology which originates at the But with decreasing cost, applications in a smart root node. Routes to the root node are then es- home context are also becoming economically vi- tablished via parent node, i.e. each node sends able. For example, a WSN based system for gar- its data to a parent which is located closer to den watering built with TinyOS on TelosB motes the root node in the tree topology. The data is (ZigBee compliant) has been built and evaluated, then forwarded recursively until the root node including plans to add remote control capabilities is reached [10]. in future work [5].This system is able to sense plant humidity through a moisture sensor and directly CoAP The Constrained Application Protocol control the irrigation of each plant using an electro- (CoAP) [11] is an application layer transfer valve. A more recent example is the commercial protocol designed to meet the requirements product “Parrot Flower Power” [6] which does not of highly resource-constrained devices and allow for automatic irrigation of the plants but pro- machine-to-machine (M2M) scenarios such as vides customers with a light-, humidity-, fertilizer- those encountered in Low-power and Lossy and moisture sensor. Based on this data transmitted Networks (LLN) [12]. Its messages can also to a corresponding smartphone app via Bluetooth, be statelessly translated to HTTP requests, the user can accurately determine whether a plant thus allowing for a proxy between an LLN should be watered, fertilizied or moved to another and the Internet. This is done to facilitate the position based on temperature and light readings. integration of constrained nodes into Internet. 3 5 SYSTEM CONCEPT was used as an external transceiver. This compo- nent is capable of receiving IEEE 802.15.4 transmis- This section describes the underlying concept of sions and transforming the contained 6LoWPAN the Watr.li system, which is comprised of two main packets into regular IPv6 packets, thus acting as a components: several Plant Nodes (PNs) and a single gateway between the IEEE 802.15.4 network and the Display Node (DN). Every monitored plant has its RasPi. own PN which measures the soil humidity and transmits it wirelessly to the DN. If the DN is not directly reachable from the PN (i.e. it is not a one- 5.2 Operating Systems hop neighbor), the PN will use intermediary PNs to send its data towards the DN. The DN then stores The tasks of the DN are processing PN information, and evaluates the received sensor data, making it hosting a web server to display PN data to the user, available for display to the user or further prop- and working as a border gateway between IEEE agation into the Internet, for example to Twitter. 802.15.4 and an Ethernet connection to the Internet. Figure 1 illustrates a possible Watr.li setup. Since the DN is connected to a stable power source it is not required to be especially energy-efficient. The remainder of this section will detail the differ- Linux was chosen as the most suitable operating ent layers of the Watr.li concept, beginning at the system for these tasks for two main reasons. First, it hardware level and working its way up to the User is well supported on the chosen hardware platform, Interface (UI) concept.
Recommended publications
  • Key Infection: Smart Trust for Smart Dust
    Key Infection: Smart Trust for Smart Dust Ross Anderson Haowen Chan Adrian Perrig University of Cambridge Carnegie Mellon University Carnegie Mellon University [email protected] [email protected] [email protected] Abstract and building safety. As sensor networks become cheaper and more commoditised, they will become attractive to Future distributed systems may include large self- home users and small businesses, and for other new appli- organizing networks of locally communicating sen- cations. sor nodes, any small number of which may be sub- A typical sensor network consists of a large number of verted by an adversary. Providing security for these small, low-cost nodes that use wireless peer-to-peer com- sensor networks is important, but the problem is compli- munication to form a self-organized network. They use cated by the fact that managing cryptographic key ma- multi-hop routing algorithms based on dynamic network terial is hard: low-cost nodes are neither tamper-proof and resource discovery protocols. To keep costs down and nor capable of performing public key cryptography effi- to deal with limited battery energy, nodes have fairly min- ciently. imal computation, communication, and storage resources. In this paper, we show how the key distribution problem They do not have tamper-proof hardware. We can thus ex- can be dealt with in environments with a partially present, pect that some small fraction of nodes in a network may be passive adversary: a node wishing to communicate securely compromised by an adversary over time. with other nodes simply generates a symmetric key and An interesting example of a sensor network technology sends it in the clear to its neighbours.
    [Show full text]
  • Shared Sensor Networks Fundamentals, Challenges, Opportunities, Virtualization Techniques, Comparative Analysis, Novel Architecture and Taxonomy
    Journal of Sensor and Actuator Networks Review Shared Sensor Networks Fundamentals, Challenges, Opportunities, Virtualization Techniques, Comparative Analysis, Novel Architecture and Taxonomy Nahla S. Abdel Azeem 1, Ibrahim Tarrad 2, Anar Abdel Hady 3,4, M. I. Youssef 2 and Sherine M. Abd El-kader 3,* 1 Information Technology Center, Electronics Research Institute (ERI), El Tahrir st, El Dokki, Giza 12622, Egypt; [email protected] 2 Electrical Engineering Department, Al-Azhar University, Naser City, Cairo 11651, Egypt; [email protected] (I.T.); [email protected] (M.I.Y.) 3 Computers & Systems Department, Electronics Research Institute (ERI), El Tahrir st, El Dokki, Giza 12622, Egypt; [email protected] 4 Department of Computer Science & Engineering, School of Engineering and Applied Science, Washington University in St. Louis, St. Louis, MO 63130, 1045, USA; [email protected] * Correspondence: [email protected] Received: 19 March 2019; Accepted: 7 May 2019; Published: 15 May 2019 Abstract: The rabid growth of today’s technological world has led us to connecting every electronic device worldwide together, which guides us towards the Internet of Things (IoT). Gathering the produced information based on a very tiny sensing devices under the umbrella of Wireless Sensor Networks (WSNs). The nature of these networks suffers from missing sharing among them in both hardware and software, which causes redundancy and more budget to be used. Thus, the appearance of Shared Sensor Networks (SSNs) provides a real modern revolution in it. Where it targets making a real change in its nature from domain specific networks to concurrent running domain networks. That happens by merging it with the technology of virtualization that enables the sharing feature over different levels of its hardware and software to provide the optimal utilization of the deployed infrastructure with a reduced cost.
    [Show full text]
  • Concepts General Concepts Wireless Sensor Networks (WSN)
    Wireless Sensor Networks – Concepts General Concepts Wireless Sensor Networks (WSN) are built based on a combination of multiple sensors placed in diverse locations, wireless communication network infrastructure and software data processing to monitor and record multiple parameters. Commonly monitored parameters are temperature, atmospheric pressure, humidity, vibration, illuminance, sound level, power consumption, chemical concentration, body health signals and many others, dependant on the selected available sensors. The WSN are used in multiple fields, ranging from remote environment monitoring, medical health, to home surveillance and industrial machines monitoring. In some cases, WSN can also be additionally used for control functions, apart from monitoring functions. Typically a WSN is made of sensor nodes that are wirelessly connected to a gateway that is then connected to a main computer (Fig. 1). In some WSN the sensor nodes can also be connected to each other, so that is possible to implement multi-hop wireless mesh networks. The gateway connects to the main computer through a cabled or wireless connection. Figure 1 – Wireless sensor network The wireless communications used in WSN depend on the application requirements, taking into consideration the needs in terms of transmission distance, sensor data bandwidth, energy source and power consumption. Common communications include standard protocols such as 2.4 GHz radio based on either IEEE802.15.4 (ZigBee, ISA 100, WirelessHart, MiWi) or IEEE802.11 (WiFi) standards. Each sensor node typically includes an embedded microcontroller system with adequate electronic interface with a sensor (or set of sensors), a radio transceiver with antenna (internal or external) and an energy source, usually a battery, or in some cases an energy harvesting circuit.
    [Show full text]
  • Flexis—A Flexible Sensor Node Platform for the Internet of Things
    sensors Article FlexiS—A Flexible Sensor Node Platform for the Internet of Things Duc Minh Pham and Syed Mahfuzul Aziz * UniSA STEM, University of South Australia, Mawson Lakes, SA 5095, Australia; [email protected] * Correspondence: [email protected]; Tel.: +61-08-8302-3643 Abstract: In recent years, significant research and development efforts have been made to transform the Internet of Things (IoT) from a futuristic vision to reality. The IoT is expected to deliver huge economic benefits through improved infrastructure and productivity in almost all sectors. At the core of the IoT are the distributed sensing devices or sensor nodes that collect and communicate information about physical entities in the environment. These sensing platforms have traditionally been developed around off-the-shelf microcontrollers. Field-Programmable Gate Arrays (FPGA) have been used in some of the recent sensor nodes due to their inherent flexibility and high processing capability. FPGAs can be exploited to huge advantage because the sensor nodes can be configured to adapt their functionality and performance to changing requirements. In this paper, FlexiS, a high performance and flexible sensor node platform based on FPGA, is presented. Test results show that FlexiS is suitable for data and computation intensive applications in wireless sensor networks because it offers high performance with low energy profile, easy integration of multiple types of sensors, and flexibility. This type of sensing platforms will therefore be suitable for the distributed data analysis and decision-making capabilities the emerging IoT applications require. Keywords: Internet of Things (IoT); wireless sensor networks (WSN); sensor node; field-programmable Citation: Pham, D.M.; Aziz, S.M.
    [Show full text]
  • A Zigbee-Based Wireless Biomedical Sensor Network
    A ZIG BEE -BASED WIRELESS BIOMEDICAL SENSOR NETWORK AS A PRECURSOR TO AN IN-SUIT SYSTEM FOR MONITORING ASTRONAUT STATE OF HEALTH by XIONGJIE DONG B.S., Kansas State University, 2011 A THESIS submitted in partial fulfillment of the requirements for the degree MASTER OF SCIENCE Department of Electrical & Computer Engineering College of Engineering Kansas State University Manhattan, Kansas 2014 Approved by Major Professor Steve Warren ABSTRACT Networks of low-power, in-suit, wired and wireless health sensors offer the potential to track and predict the health of astronauts engaged in extra-vehicular and in-station activities in zero- or reduced- gravity environments. Fundamental research questions exist regarding (a) types and form factors of biomedical sensors best suited for these applications, (b) optimal ways to render wired/wireless on-body networks with the objective to draw little-to-no power, and (c) means to address the wireless transmission challenges offered by a spacesuit constructed from layers of aluminized mylar. This thesis addresses elements of these research questions through the implementation of a collection of ZigBee-based wireless health monitoring devices that can potentially be integrated into a spacesuit, thereby providing continuous information regarding astronaut fatigue and state of health. Wearable biomedical devices investigated for this effort include electrocardiographs, electromyographs, pulse oximeters, inductive plethysmographs, and accelerometers/gyrometers. These ZigBee-enabled sensors will form the nodes of an in-suit ZigBee Pro network that will be used to (1) establish throughput requirements for a functional in-suit network and (2) serve as a performance baseline for future devices that employ ultra-low-power field-programmable gate arrays and micro-transceivers.
    [Show full text]
  • A Comparative Study Between Operating Systems (Os) for the Internet of Things (Iot)
    VOLUME 5 NO 4, 2017 A Comparative Study Between Operating Systems (Os) for the Internet of Things (IoT) Aberbach Hicham, Adil Jeghal, Abdelouahed Sabrim, Hamid Tairi LIIAN, Department of Mathematic & Computer Sciences, Sciences School, Sidi Mohammed Ben Abdellah University, [email protected], [email protected], [email protected], [email protected] ABSTRACT Abstract : We describe The Internet of Things (IoT) as a network of physical objects or "things" embedded with electronics, software, sensors, and network connectivity, which enables these objects to collect and exchange data in real time with the outside world. It therefore assumes an operating system (OS) which is considered as an unavoidable point for good communication between all devices “objects”. For this purpose, this paper presents a comparative study between the popular known operating systems for internet of things . In a first step we will define in detail the advantages and disadvantages of each one , then another part of Interpretation is developed, in order to analyze the specific requirements that an OS should satisfy to be used and determine the most appropriate .This work will solve the problem of choice of operating system suitable for the Internet of things in order to incorporate it within our research team. Keywords: Internet of things , network, physical object ,sensors,operating system. 1 Introduction The Internet of Things (IoT) is the vision of interconnecting objects, users and entities “objects”. Much, if not most, of the billions of intelligent devices on the Internet will be embedded systems equipped with an Operating Systems (OS) which is a system programs that manage computer resources whether tangible resources (like memory, storage, network, input/output etc.) or intangible resources (like running other computer programs as processes, providing logical ports for different network connections etc.), So it is the most important program that runs on a computer[1].
    [Show full text]
  • Scantraffic: Smart Camera Network for Traffic Information Collection
    ScanTraffic: Smart Camera Network for Traffic Information Collection Daniele Alessandrelli1, Andrea Azzar`a1, Matteo Petracca2, Christian Nastasi1, and Paolo Pagano2 1 Real-Time Systems Laboratory, Scuola Superiore Sant'Anna, Pisa, Italy fd.alessandrelli, a.azzara, [email protected] 2 National Laboratory of Photonic Networks, CNIT, Pisa, Italy fmatteo.petracca, [email protected] Abstract. Intelligent Transport Systems (ITSs) are gaining growing in- terest from governments and research communities because of the eco- nomic, social and environmental benefits they can provide. An open issue in this domain is the need for pervasive technologies to collect traffic- related data. In this paper we discuss the use of visual Wireless Sensor Networks (WSNs), i.e., networks of tiny smart cameras, to address this problem. We believe that smart cameras have many advantages over classic sensor motes. Nevertheless, we argue that a specific software in- frastructure is needed to fully exploit them. We identify the three main services such software must provide, i.e., monitoring, remote configura- tion, and remote code-update, and we propose a modular architecture for them. We discuss our implementation of such architecture, called ScanTraffic, and we test its effectiveness within an ITS prototype we deployed at the Pisa International Airport. We show how ScanTraffic greatly simplifies the deployment and management of smart cameras col- lecting information about traffic flow and parking lot occupancy. Keywords: intelligent transport systems, visual wireless sensor net- works, smart cameras 1 Introduction Intelligent Transport Systems (ITSs) are nowadays at the focus of public au- thorities and research communities aiming at providing effective solutions for improving citizens lifestyle and safety.
    [Show full text]
  • LNCS 3222, Pp
    A Pervasive Sensor Node Architecture Li Cui, Fei Wang, Haiyong Luo, Hailing Ju, and Tianpu Li Institute of Computing Technology Chinese Academy of Sciences Beijing, P.R.China 100080 [email protected] Abstract. A set of sensor nodes is the basic component of a sensor network. Many researchers are currently engaged in developing pervasive sensor nodes due to the great promise and potential with applications shown by various wire- less remote sensor networks. This short paper describes the concept of sensor node architecture and current research activities on sensor node development at ICTCAS. 1 The Concept of Sensor Node Architecture A sensor network is made up of the following parts, namely a set of sensor nodes which are distributed in a sensor field, a sink which communicates with the task man- ager via Internet interfacing with users. A set of sensor nodes is the basic component of a sensor network. Many researchers are currently engaged in developing pervasive sensor nodes [1-3 ] due to the great promise and potential with applications shown by various wireless remote sensor networks [4-10]. A sensor node is composed of four basic components as shown in Fig. 1. They are a sensing unit, a processing unit, a communication unit and a power unit. Sensing Unit Processing Unit Communication Unit Processor Sensor ADC Transceiver Memory Power Unit Fig. 1. The components of a sensor node Sensing units are usually made up of application specific sensors and ADCs (ana- log to digital converters), which digitalize the analog signals produced by the sensors when they sensed particular phenomenon.
    [Show full text]
  • Wireless Sensor Network for Monitoring Applications
    Wireless Sensor Network for Monitoring Applications A Major Qualifying Project Report Submitted to the University of WORCESTER POLYTECHNIC INSTITUTE In partial fulfillment of the requirements for the Degree of Bachelor of Science By: __________________________ __________________________ Jonathan Isaac Chanin Andrew R. Halloran __________________________ __________________________ Advisor, Professor Emmanuel Agu, CS Advisor, Professor Wenjing Lou, ECE Table of Contents Table of Figures ............................................................................................................................................. 4 Abstract ......................................................................................................................................................... 5 1. Introduction ........................................................................................................................................... 6 1.1 What are Wireless Sensor Networks? ........................................................................................... 6 1.2 Why Sensor Networks? ................................................................................................................. 6 1.3 Application Examples .................................................................................................................... 7 1.4 Project Goal ................................................................................................................................... 8 2. Background ...........................................................................................................................................
    [Show full text]
  • Sensor Validation and Fusion with Distributed Smart Dust Motes For
    From: AAAI Technical Report SS-02-03. Compilation copyright © 2002, AAAI (www.aaai.org). All rights reserved. SENSOR VALIDATION AND FUSION WITH DISTRIBUTED ‘SMART DUST’ MOTES FOR MONITORING AND ENABLING EFFICIENT ENERGY USE Alice M. Agogino Jessica Granderson Department of Mechanical Engineering University of California, Berkeley, CA 94720 {aagogino, jgrander}@me.berkeley.edu Shijun Qiu Dept of Mechanical and Electrical Engineering Xiamen University, China (Visiting Scholar, UC Berkeley) [email protected] Abstract 1. Distributed MEMS Sensors – Smart Dust MEMS (microelectronic mechanical systems) sensors make a rich design space of distributed networked sensors viable. The goal of the Smart Dust project is to build a self- They can be deeply embedded in the physical world and contained, millimeter-scale sensing and communication spread throughout our environment like “smart dust”. platform for a massively distributed sensor network Today, networked sensors called Smart Dust motes can be [16,24]. These devices will ultimately be around the size of constructed using commercial components on the scale of a a grain of sand and will contain sensors, computational square inch in size and a fraction of a watt in power. High- density distributed networked sensors have recently been ability, bi-directional wireless communications, and a targeted for use in research devoted to the efficient use of power supply, while being inexpensive enough to deploy energy. Such networks require a large number of sensors by the hundreds. for control at different levels. However, in reality, sensor information is always corrupted to some degree by noise There exist endless possibilities for the applications of and degradation, which vary with operating conditions, these devices.
    [Show full text]
  • Basics of Contiki-OS and Using It for Wireless Sensor Network Applications
    Basics of Contiki-OS and using it for Wireless Sensor Network Applications Shantanoo Desai prepared for: Prof. Dr. Anna Förster Sustainable Communication Networks University of Bremen 20th November 2015 1 Outline CONTIKI-OS Contiki in a nutshell Requirements Getting Started Initial Steps File Structure in Contiki Terminal Basics First Program in Contiki: Hello-World Programming using Terminal Hello-World files Getting Output Understanding codes in Contiki Programming a Sensor Node TelosB Sensor Node Connecting the TelosB to Contiki-OS Hello-World program on TelosB Cooja Simulator in Contiki-OS Hello-World Simulation with Cooja Adding Sensor Nodes to Cooja Mote Output in Cooja References 2 Contents of this section CONTIKI-OS Contiki in a nutshell Requirements 3 What is Contiki? CONTIKI-OS in a nutshell: • Complete environment for programming Sensor Nodes • Has everything for getting started in making Applications • In-built simulator called COOJA • Large pool of sensor compatibility e.g. TelosB, Zolertia Z1 4 Requirements Requirements before we begin: • VMware Virtual Player • VMware Workstation 12 Player (recent) • Instant Contiki • Instant Contiki version 2.7/3.0 LOST??? - refer to this : www.contiki-os.org/start.html and follow the steps. 5 Contents of this section Getting Started Initial Steps File Structure in Contiki Terminal Basics 6 Getting Started • Open VMWare player and click on ‘Open a Virtual Machine’ (Don’t Worry ! if it looks different for Windows or MAC-OS! this is for Ubuntu.) 7 Getting Started (contd.) • Navigate to your Instant Contiki 2.7 folder and select the “.vmx” file • After booting of the virtual machine, Login with password: user Figure: First look of Contiki-OS 8 File Structure in Contiki • Click on ‘Places’ and then ‘Home’ folder (top left corner) • target folders: contiki & contiki-2.7 (choose any one and see the folders) Figure: File Structure in Contiki 9 Folders in Contiki and their Usage • apps: applications like webbrowser, telnet etc.
    [Show full text]
  • An Improved Ant Colony Algorithm in Wireless Sensor Network Routing
    Paper—An Improved Ant Colony Algorithm in Wireless Sensor Network Routing An Improved Ant Colony Algorithm in Wireless Sensor Network Routing https://doi.org/10.3991/ijoe.v13i05.7060 Liping LV Jiaozuo University, Henan, China [email protected] Abstract—In order to make the energy consumption of network nodes rela- tively balanced, we apply ant colony optimization algorithm to wireless sensor network routing and improve it. In this paper, we propose a multi-path wireless sensor network routing algorithm based on energy equalization. The algorithm uses forward ants to find the path from the source node to the destination node, and uses backward ants to update the pheromone on the path. In the route selec- tion, we use the energy of the neighboring nodes as the parameter of the heuris- tic function. At the same time, we construct the fitness function, and take the path length and the node residual energy as its parameters. The simulation re- sults show that the algorithm can not only avoid the problem of local optimal solution, but also prolong the life cycle of the network effectively. Keywords—wireless sensor network, ant colony algorithm, routing 1 Introduction In recent years, with the rapid development of wireless communication technology, the sensor becomes miniaturized, networked, integrated and intelligent [4]. Compared with traditional sensors, the cost of micro sensors is very low. However, its coverage is small. Therefore, in practical applications, tens of thousands of micro-sensors are often required to work together. Based on this demand, the concept of wireless sensor networks has emerged [2]. As an important information acquisition technology, wireless sensor networks greatly expand the functionality of existing networks [1].
    [Show full text]