How do you IPSO? There are many problems in everyday life that can be solved by collecting data thru sensors, or by controlling smart objects based upon inputs from a variety of sources.
Once again, the IPSO Alliance has initiated its annual challenge, whose deadline for proposals is quickly approaching!
The IPSO CHALLENGE was launched as a way to show what is possible utilizing the Internet Protocol (IP) and open standards in building the Internet of Things. Enter this global competition by submitting a proposal before July 15 2015 for a working prototype that is innovative, marketable and easy to use.
Just a few weeks ago, I had the opportunity to speak to a potential group of IPSO CHALLENGE participants in Colorado Springs, Colorado. This meetup was created to enable potential participants to learn about the challenge, mingle with like-minded individuals, find team members with the skills needed to implement ideas that are already being considered or to find those with like interests and come up with an innovative project proposal.
As a proud sponsor of the IPSO CHALLENGE 2015, my goal on behalf of Atmel was to describe how our wireless and MCU solutions can be used to form the basis of the hardware and software platforms that should be considered for a number of innovative IP-based challenge entries.
The incentive? Over $17,500 up for grabs in prizes with first taking home $10,000, $5,000 for the runner-up and $2,500 for third. There are many problems in everyday life that can be solved by collecting data thru sensors, or by controlling smart objects based upon inputs from a variety of sources. The Internet of Things and the Internet Protocol are a smart choice as the means to publish and subscribe to sensor information, and make this available for processing in the cloud, or to deliver this information to mobile devices for viewing or notification anywhere in the world.
One of the development kits that is being promoted for use in the IPSO CHALLENGE is the ATSAMR21-XPRO evaluation board. This kit supports the ATSAMR21 (IEEE 802.15.4-compliant single-chip wireless solution) wireless “system in package” device.
The device contains both an ARM Cortex M0+ microcontroller plus the AT86RF233 2.4ghz 802.15.4 radio. This combination makes the perfect solution where a low power wireless sensor or actuator is required ,as an element of the hardware platform needed to implement your CHALLENGE entry.
The SAM R21 is the ideal platform to support a 6LoWPAN wireless mesh network, with sensors that can be used to measure and collect data, or control outputs, while also having the ability to transfer this information to the cloud, or to any PC or mobile device, that has an internet connection anywhere in the world.
SAM R21 device IO assignments:
Atmel recently released its SmartConnect 6LoWPAN, a wireless stack firmware package that provides an IPV6 6LoWPAN implementation running on the SAM R21 evaluation kit, among a number of other Atmel platforms. Additionally, there are a number of example applications for SmartConnect 6LoWPAN that are provided in the free Atmel Studio 6.2.
The example that I demonstrated during the IPSO meetup was the MQTT (MQ Telemetry Transport) example. MQTT is a publish/ subscribe protocol that allows the SAM R21 SmartConnect 6LoWPAN solution to implement topics like /Atmel/IoT/temperature or Atmel/IoT/LED and then subscribe to, or publish to these topics while also allowing other devices to also subscribe or publish to these same topics. This enables all these devices to work together in collecting and processing the content of many distributed sensors.
This is a very simple protocol that needs only a small amount of memory resources, and allows one to create a very effective distributed processing solution, where IP is used to enable communication and data transfer between all of the elements contained within the network.
SmartConnect 6LoWPAN, as with most 6LoWPAN solutions, makes use of the RPL mesh networking routing protocol. This lets these low power SAM R21 (15.4) radios to have the ability to transfer data over longer distances thru the wireless mesh. Because one only has to transfer the data to its nearest neighbor or its parent, in the network that was formed.
Let’s take a look at a simplistic example of a problem, with a 6LoWPAN wireless mesh network solution: Your children take a school bus to school every morning, and if you could know when the school bus was in the neighborhood, or approaching the nearest stop, life would be a lot easier in inclement weather.
So you gather together a few SAM R21 kits and battery packs, and start to think about a solution.
Since you would need to know where the bus is at some distance from your home, this would eliminate “wired’ solutions, and since you probably would not have access to “mains power” at many of the sensing locations, the solution would require low power battery operated wireless sensors. As it just so happens, the SAM R21 would make a perfect low power battery operated “wireless” sensor. The SmartConnect 6LoWPAN wireless mesh network firmware would allow you to cover an extended range, by placing additional routing sensors where needed to keep track of the bus, and to relay or route similar data from other sensors that are too far away by radio, to get all the way back to your home base unit.
Given that you will need access to a fence post, a mailbox or telephone pole on your neighbors property in order to mount your small wireless sensors, you can tell them that they also can access this data to keep track of the school bus, or just about anything in the neighborhood that has a mobile tag placed on it, whether it’s a young child’s backpack or jacket, a pet’s collar, etc.)
There needs to be one root location where all of the sensor data is transferred to, and this location will act as the border router ( or dag root ) of the 6LoWPAN network. This is also implemented using the SAM R21 evaluation kit along with an Ethernet 1 XPRO interface board. This border router hardware would be located in your house, and plugged into a spare Ethernet port of the home access point that provides internet service to your home. Future options could also allow using Wi-Fi instead of Ethernet to make the connection to your home Wi-Fi access point.
A mobile sensor/tag will need to be placed on the bus (hopefully you can get permission, to place a small sensor using double sided tape inside the bus, or maybe ask the nice bus driver if he/she would carry it, or have one of the kids that gets on the bus early in the bus route for our neighborhood, clip the mobile sensor to their backpack or belt . How and where to place these mobile tag sensors, may actually be one of the most difficult parts to solve for this solution.
Once you have the mobile sensors in place on the bus, kids, dogs, and cats, now you need to set up the sensor mesh around the neighborhood.
Atmel provides a tool call Atmel Wireless Composer.
This free tool has a very nice feature that allows range testing to be done by one person. Place one SAM R21 device in a fixed location and then take a battery operated remote node for a walk in your neighborhood. You can use this method to determine the typical range that you can achieve and check potential mounting spots within the neighborhood. This can be used to insure that you can establish reliable wireless communications, and to find the location of where to place the nearest neighboring node.
Remember to ask permission, before you mount the sensor node on someone else’s property.
As you turn on the remote nodes they will make their presence know to the network, and a route will be discovered back to the root node at your home.
Once you have established your network, a number of SmartConnect 6LoWPAN Example applications can be used to move the data around the network. By using the MQTT example previously mentioned, units can publish information as to which “mobile” tags are within wireless range of the sensor, thus providing a coarse location system, to notify those that are subscribing to a particular topic, as to the current location of the bus, child, dog or cat.
You can find the Example projects within Atmel Studio 6 as shown below:
The power of The Internet Protocol and the Cloud in this system is that each individual sensor has its own IPV6 address, and the data collected by the end sensor nodes is packaged into an IP frame, and transferred thru the wireless network, and then thru the border router to the wired Internet. Then finally to the Cloud without having to convert or change protocols. Today, there are so many devices that can make use of this data, including devices such as smartphone’s, tablets, laptops, and home automation hubs and gateways, What you can do with this data has endless possibilities.
Applications for these internet connected devices can be created to show the location of the bus or pet on a map, or maybe just send a simple notification of “School bus currently at the Smith family residence”…. Again the possibilities are endless.
Maybe you would also like to turn on your house lights or open your garage door when you approach your house from your car with a sensor mounted in the car. The info in the cloud can be integrated with your home automation system to control the lights and garage door.
Now that you have completed the proof of concept using the Atmel | SAM R21 evaluation boards, or hopefully now that you have won the IPSO CHALLENGE!, you will want to turn your prototype into a deploy-able product.
Atmel has the solution for you. SAM R21 “modules” are being developed in a small form factor that will allow the creation of a small battery operated mobile tag or sensor unit, and these modules come with an FCC certification ID, and a proven RF design, to eliminate the challenge, cost, and time required to develop a wireless product from scratch.
Feeling inspired? Submit your idea today before time runs out!
Pingback: Calling all Makers, visionaries and innovators up for a (IPSO) Challenge! - Internet of Things | Wearables | Smart Home | M2M