<p>Last Spring, <a href="http://wot.io">wot.io</a> teamed up with a number of partners including <a href="http://www.stream-technologies.com/">Stream Technologies</a> and <a href="https://www.arm.com/">ARM</a> at <a href="http://www.mobileworldcongress.com/what-to-expect/highlights-from-2015/">Mobile World Congress 2015</a> to demonstrate an IoT Smart City solution combining data from live vehicles moving about the London area with data from the <a href="http://data.london.gov.uk/">London Datastore</a>.</p>
<p>We <a href="/wot-io-with-arm-at-mwc-2015">already posted</a> the following video, which provides a good overview of what we presented at the event, but we wanted to take this opportunity to do a deeper dive to describe some of the technology behind the demo.</p>
<p><iframe src="https://www.youtube.com/embed/ufBh2zR9DIE" frameborder="0" width="710" height="399" allowfullscreen="allowfullscreen"></iframe></p>
<p>So this will be part 1 of a series of posts where we explore the assembly of an interoperable Smart City solution powered by wot.io and its data service exchange™.</p>
<h2 id="towardsmartercitiesintheuk">Toward Smarter Cities in the UK</h2>
<p>The population in the city of London, UK, is exploding and is <a href="http://www.london.gov.uk/priorities/business-economy/vision-and-strategy/smart-london">expected to reach 9 million people before New York City</a>. In light of that prediction, the governments in London and the United Kingdom have begun to <a href="http://www.london.gov.uk/sites/default/files/smart_london_plan.pdf">lay out plans</a> to utilize digital technologies to become a Smart City in an effort to help stem and even solve many of the challenges that arise from such a massive and rapid population increase.</p>
<p>In support of that vision, the <a href="http://www.london.gov.uk/mayor-assembly/gla">Greater London Authority</a> established the <a href="http://data.london.gov.uk/">London Datastore</a> initiative. According to its <a href="http://www.london.gov.uk/mayor-assembly/gla">website</a> the London Datastore was created</p>
<blockquote>
<p>as a first step towards freeing London’s data. We want everyone to be able access the data that the GLA and other public sector organisations hold, and to use that data however they see fit—for free.</p>
</blockquote>
<p>London's passenger and road transport system is among the most advanced in the world, and was one of the first smart services that London opened to developers as part of the London Datastore initiative. The result was an unprecedented volume of open data with which to develop smart city solutions.</p>
<p>As part of our smart city application, we were able to find a whole section in the datastore devoted to traffic and transportation. We built adapters to read from this feed into wot.io and route near-real-time data from traffic cameras and road signs to multiple data services.</p>
<h2 id="smartertrafficthroughinstrumentation">Smarter Traffic Through Instrumentation</h2>
<p>Just one of the many facets to a smarter city initiative is to learn, understand, and make decisions based around traffic patterns. Naturally, analysis and decision-logic require data. Following are a few examples of how wot.io partners are filling these needs with a wide array of <a href="https://www.mbed.com/en/">ARM mbed</a>-based hardware and software products.</p>
<h2 id="connectingdeviceswithmultitech">Connecting Devices with Multitech</h2>
<p><img src="http://idfiles.leveelabs.com/55bd0288af0b0930ba599bd0c4b7ca38/resources/img_new/labs_wot_io/multitech-car-1.jpg" alt="" /></p>
<p>In order to demonstrate how detailed information about traffic accidents could be used to assist emergency services or even to otherwise manipulate traffic patterns in response, <a href="http://www.multitech.com">MultiTech</a> placed its <a href="http://www.multitech.com/brands/multiconnect-mdot">MultiConnect® mDots</a> (inexpensive radios using the new Semtech LoRa™, low power, wide area RF modulation) inside a remote-controlled model car and drove it around the ARM booth. The car sent sensor info (including x-y-z plane accelerometer readings)</p>
<p><img src="http://idfiles.leveelabs.com/55bd0288af0b0930ba599bd0c4b7ca38/resources/img_new/labs_wot_io/Multitech-Ultra-low-power-long-operation-range-900MHz-LoRa-Module-660075-l.jpg" alt="" /></p>
<p>to a <a href="http://www.multitech.com/brands/multiconnect-conduit">MultiConnect® Conduit™ gateway</a> using the Semtech LoRa™, low-power, long-range wireless access (LPWA) RF technology in the European 868MHz ISM band spectrum. The Conduit packaged and then sent the sensor data to <a href="http://http://www.stream-technologies.com">Stream’s</a> award winning IoT-X platform.</p>
<p><img src="http://idfiles.leveelabs.com/55bd0288af0b0930ba599bd0c4b7ca38/resources/img_new/labs_wot_io/multitech-multiconnect-conduit.jpg" alt="" /></p>
<h2 id="connectingdeviceswithublox">Connecting Devices with u-blox</h2>
<p>Another common requirement for smarter traffic in a connected city is detailed knowledge about the geo-location of devices embedded in vehicles.</p>
<p>The <a href="https://www.u-blox.com/en/product/c027">u-blox C027</a> is a complete IoT starter kit that includes a MAX-M8Q GPS/GNSS receiver and a LISA-C200 CDMA cellular module with SIM card.</p>
<p><img src="http://idfiles.leveelabs.com/55bd0288af0b0930ba599bd0c4b7ca38/resources/img_new/labs_wot_io/IMG_1173--1-.jpg" alt="" /></p>
<p>As you can see from the photograph, we added an extended GPS antenna to help with satellite reception given that we were going to be using it from inside our urban office building location.</p>
<p>It was easy enough to use the web-based IDE on the <a href="https://developer.mbed.org/">ARM mbed Developer Site</a> to build a lightweight embedded C application. The application simply reads the GPS data from the GPS/GNSS receiver on the device, and sends it to a TCP endpoint exposed by the Stream Technologies <a href="https://api.stream-communications.com/docs/#!/">IoT-Xtend™ API</a> using the cellular modem to connect to a local cellular network. Using the cell network for connectivity makes the system completely mobile, which is perfect for vehicles driving around a city.</p>
<p>Ultimately, the embedded application sends JSON messages to the Stream API looking something like the following:</p>
<pre><code>{
"sim_no": SIM_ID,
"quality_idx": QUALITY,
"gps_time": TIME,
"dec_latitude": LAT,
"dec_longitude": LON,
"number_sat": SATELLITES,
"hdop": HDOP,
"height_above_sea": HEIGHT
}
</code></pre>
<h2 id="connectingdeviceswithnxp">Connecting Devices with NXP</h2>
<p>Another ARM mbed device, the <a href="http://www.nxp.com/board/OM11043.html">NXP LPC1768</a>,</p>
<p><img src="http://idfiles.leveelabs.com/55bd0288af0b0930ba599bd0c4b7ca38/resources/img_new/labs_wot_io/IMG_3441.JPG" alt="" /></p>
<p>was used to demonstrate two-way communications with the wot.io data service exchange™. Ambient temperature was monitored through its on-board temperature sensor, analyzed by business logic, and sent back to the device in the form of specific commands to manipulate the device speaker and LED intensity.</p>
<p><img src="http://idfiles.leveelabs.com/55bd0288af0b0930ba599bd0c4b7ca38/resources/img_new/labs_wot_io/Screen-Shot-2015-12-03-at-10-40-04-AM.png" alt="" /></p>
<h2 id="livemobiledevices">Live Mobile Devices</h2>
<p>Last, but certainly not least, the demonstration also included a number of cellular-, satellite-, and LPRN-based mobile devices embedded in vehicles traveling about the city of London in real-time. The devices were managed by the Stream IoT-x platform, and telemetry and geo-location messages were communicated to the wot.io operating environment through our WebSocket protocol-based streaming data adapter.</p>
<h1 id="nexttime">Next Time</h1>
<p>Today we took a brief look at the diverse device and open data feed-based sources of smart city data that comprised the wot.io demonstration that we presented earlier this year in Barcelona.</p>
<p>Tune in next time for a closer look at how we managed those devices with device management platforms from <a href="http://arm.com">ARM</a> and <a href="http://www.stream-technologies.com/">Stream Technologies</a>, and how their data was integrated onto the wot.io data service exchange™.</p>
Smarter Cities with ARM-Based Devices, Open Data, and wot.io (part 1)
Dec 2015/ Posted By: wotio team