{"id":158,"date":"2013-02-21T16:52:12","date_gmt":"2013-02-21T16:52:12","guid":{"rendered":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/?p=158"},"modified":"2016-03-01T14:59:49","modified_gmt":"2016-03-01T14:59:49","slug":"libelium-waspmotes-deployment-of-sensors","status":"publish","type":"post","link":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/2013\/02\/21\/libelium-waspmotes-deployment-of-sensors\/","title":{"rendered":"Libelium Waspmotes (development of weather sensors)"},"content":{"rendered":"<p>In order to establish <a href=\"http:\/\/research.ncl.ac.uk\/geospatial\/news%20and%20events%20ticker\/news%20and%20events%20ticker\/establishingalongtermurbanresearchfacility.html\">a long term urban research facility<\/a> Newcastle University is looking to bring together new and existing data that includes the urban climate, air quality, pedestrian and traffic flows as well as hydraulic flows. These new data sources will come from a number of sources, one of which will be a system of new sensors\u00a0set-up\u00a0around Newcastle. The particular sensors that are going to be used are waspmotes developed by <a href=\"http:\/\/www.libelium.com\/\">Libelium<\/a>, sensor devices specially oriented to developers. They work with different protocols (ZigBee, Bluetooth and GPRS) as well as a variety of frequencies (2.4GHz, 868MHz and 900MHz). More than 50 sensors can be connected with these devices with the measurements and frequency configured manually. \u00a0The sensors can take a number of readings such as the concentration of different gases, temperature, liquid level, weight, pressure, humidity, luminosity, accelerometer, soil moisture and solar radiation.<\/p>\n<p>Thus, as part of my role as a research assistant on this project I was sent along to a training course learning how to write the code to configure these devices. The training course took place in Zaragoza, Spain at Libelium HQ.<\/p>\n<p>It consisted of 4 days of demonstrations and exercises getting\u00a0familiar\u00a0with the equipment and how to use them. These ranged from getting the waspmote to send \u201chello world\u201d to a gateway (a USB device that receives messages and prints them to the screen) all the way through to sensing nearby Bluetooth devices then sending these to a database. We were also taught \u201cclever\u201d uses of the sensors like using the internal accelerometer to detect whether the device had fallen or was being stolen (attach a GPS and a SIM card and you can get it to text you the thief\u2019s location!).<\/p>\n<p>At the end of the training course we were shown their next generation of sensors; the Plug and Sense. These require very little development work as the devices come already mounted in a box and the user just has to attach the relevant sensor probe and then use the code generator to set the recordings taken and frequency at which they are taken.<\/p>\n<p>Since returning I have started to develop a weather station using a waspmote, an agriculture board and weather sensors such as a rain gauge, an anemometer and a temperature gauge.<\/p>\n<figure id=\"attachment_159\" aria-describedby=\"caption-attachment-159\" style=\"width: 225px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/Niels-desk.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-159\" src=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/Niels-desk-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" srcset=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/Niels-desk-225x300.jpg 225w, https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/Niels-desk-768x1024.jpg 768w, https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/Niels-desk.jpg 1024w\" sizes=\"auto, (max-width: 225px) 85vw, 225px\" \/><\/a><figcaption id=\"caption-attachment-159\" class=\"wp-caption-text\">My cluttered desk whilst developing the weather station<\/figcaption><\/figure>\n<p>Despite initial setbacks, like recording monsoon like conditions whilst inside, I was able to get it set up and feeding into a postgres database. From this, I\u00a0set-up\u00a0a simple webmap using the database along with django to display the location of the sensor and the data feed.<\/p>\n<figure id=\"attachment_160\" aria-describedby=\"caption-attachment-160\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/webmap.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-160\" src=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/webmap-300x179.png\" alt=\"\" width=\"300\" height=\"179\" srcset=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/webmap-300x179.png 300w, https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/webmap-1024x611.png 1024w, https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/webmap.png 1440w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-160\" class=\"wp-caption-text\">The first version of web map and data feed<\/figcaption><\/figure>\n<p>The aim is now to develop more sensors and deploy these in more meaningful places (not everybody just wants to know the temperature in my office) around the University campus and wider city.<\/p>\n<figure id=\"attachment_161\" aria-describedby=\"caption-attachment-161\" style=\"width: 225px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/Neils-weather-proof-box.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-161\" src=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/Neils-weather-proof-box-225x300.jpg\" alt=\"Weather proof box which contains the sensors\" width=\"225\" height=\"300\" srcset=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/Neils-weather-proof-box-225x300.jpg 225w, https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/files\/2013\/02\/Neils-weather-proof-box.jpg 720w\" sizes=\"auto, (max-width: 225px) 85vw, 225px\" \/><\/a><figcaption id=\"caption-attachment-161\" class=\"wp-caption-text\">Weather proof box for the deployment of the sensors<\/figcaption><\/figure>\n<p>Neil<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to establish a long term urban research facility Newcastle University is looking to bring together new and existing data that includes the urban climate, air quality, pedestrian and traffic flows as well as hydraulic flows. These new data sources will come from a number of sources, one of which will be a system &hellip; <a href=\"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/2013\/02\/21\/libelium-waspmotes-deployment-of-sensors\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Libelium Waspmotes (development of weather sensors)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":4972,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-158","post","type-post","status-publish","format-standard","hentry","category-research"],"_links":{"self":[{"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/posts\/158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/users\/4972"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":8,"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":848,"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/posts\/158\/revisions\/848"}],"wp:attachment":[{"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ncl.ac.uk\/geospatialengineering\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}