Tag Archives: IPv6 development platform

The Internet of Things and energy conservation

Humans are creative, and adaptive. We’ve done it all our lives, and all our existence. We needed more food, and so we created agriculture. We needed to live together, and so we created architecture. We needed to communicate, and so we created hundreds of ways to do just that; Internet, mobile telephone networks, computers. We are so fond of computers that we have them everywhere, often without noticing them. Yes, you might have a bulky desktop computer at home, or maybe even a flashy new laptop, but those are not the only computers. Your mobile telephone is a computer, but technically, so is your microwave, your car, your television set, and even your washing machine.

Our lives have changed greatly. We’ve all seen pictures and even films of medieval castles, and we know how we used to live. Today, our lives are made more comfortable by scores of machines; when was the last time you washed your clothes by hand? The clothes go in the washing machine, then in the dryer, and then in the cupboard. This all comes at a cost; financially, of course, but also in terms of energy.

Energy. The art of creating electrical power and delivering it to our homes and cities. For most people, this is as simple as having overhead power lines here and there, and paying a bill at the end of the month. Unfortunately, it is much more complicated than that. Power stations require scores of people to operate, and something surprising, data. In France, we have “too many” power stations, and most run at low capacity. When it gets hot, those who have air conditioning like to put it on, consuming electricity. Multiply that by a few thousand, and you get an idea of how much energy the power station needs to produce. When it gets cold, people like to heat their homes and businesses, and since everyone has radiators, electrical consumption soars. Imagine the amount of radiators an entire city can contain, and imagine even 50% of them turned on at the same time. Imagine.

Data is needed from other sources, not just from the weather. Imagine the amount of power required to let all the football fans watch the world cup. Our problem is that we can generate electricity, but we cannot store it (at least, not on this kind of scale). When everything gets turned on, the power station must be able to respond. If it can’t, bad things happen; the lights dim, or sometimes everything goes dark. We now know we cannot live without electricity.

SMART Energy Flow

We all know that we need to reduce our energy dependence, even if some of us don’t want to. To make more people aware, some cities turn off all the lights for an hour. It’s called Earth Hour. For one hour, people are encouraged to use as little electricity as possible; turning off the lights, for example. This does have an impact, but it is a double-edged sword. For one hour, the electricity usage drops considerably, while everyone thinks about the planet, and what we will leave behind for our children. At the end of the hour, everything goes back on, and this is where things get tricky. When electrical devices are first turned on, some can generate what is called an energy spike; a large consumption at first, before something more stable. It is visible just after Earth Hour, but it actually happens every day.

Building Appliances and Home Systems using Energy at Optimum Times

Peak hours. In my house, my electric water heater is connected to a peak-hour detection system. At 11:30 PM, my electricity provider starts “off-peak” hours, a time where electricity costs less. It costs less, an incentive to make me use power-hungry devices at a time when other devices are not needed. At this time of night, most businesses are closed, and so there is less demand. It is all about normalizing energy requirements, and to stop peaks during the day. At 7:30 AM, peak hours start, the water heater turns off, businesses start up, and my kettle turns on, the day is about to begin.

Ikea-kitchen_IoT-SMART-HOME-Connected

Energy is available, that isn’t the problem. Our problem is our use of energy. If only we had a way of using energy when it was available. Imagine, a certain amount of energy available. When I need light, I want my light to be usable immediately. I need a start time; now. However, when I put my clothes in the washing machine generally, I need them to be ready for the next day. I need and “end” time; I need the device to get the work done before a certain time. When will the washing machine start? Well, I don’t actually mind when it starts, and this is where I need help. This is where the IoT can help us, because we really need help.

The IoT will give us millions of connected sensors. This will also supply us with data, lots and lots of it. Why wouldn’t a small device in my house have direct control over my washing machine, or even better, actually be inside my washing machine? It could be programmed to start at a specific time, talking to other devices on the energy grid? Or even in my home; it could tell the water heater to wait until it has finished, and then the water heater gets its chance. The possibilities are endless.

Washing Machine is Connected - SMART HOME

IoT will give us an incredible amount of data, and data that can be used to help up control, and maybe even overcome our need to energy. But wait a minute, doesn’t the IoT itself need energy? It does, but the amount of energy that it will save outweighs the amount of energy it uses, and by a large factor. Take, for example, Atmel’s SAM D21 microcontroller. It uses less than 70µA per MHz, and that is when it is running at full speed. Of course, these devices have advanced power management, and with careful coding, they can last for months on cell batteries. Low power does not mean no power; it has enough flex to get the job done, and more. With built-in USB, ADCs, DACs and enough RAM and ROM for the most complex programs, it gets the job done. It also has the Atmel Event system, a powerful system that lets the microcontroller react to external events without the need to constantly look at inputs.

(Source CES 2014 - Samsung's Vision of the Now and Future of Connected Appliances)

We need a little help in our lives to make simple decisions; when should I turn the heating on? When is the best time to turn on the air conditioner? We think we know, but we don’t. IoT will allow us to know exactly when the cold weather is coming. IoT will know when to turn the lights off. In short, IoT will generate enough data that it will know better than us what to do, and when. What we have seen so far is only the beginning.

Atmel powers Waspmote Mote Runner for the IoT

IBM and Libelium have teamed up to offer an Atmel-powered IPv6 development platform for sensor networks and the rapidly evolving Internet of Things (IoT).

“Integrating IBM’s Mote Runner SDK on top of Libelium’s Waspmote sensor platform [creates] a unique and powerful tool for developers and researchers interested in 6LoWPAN / IPv6 connectivity for the Internet of Things,” explained Libelium CTO David Gascón.

Key Waspmote Mote Runner specs include Atmel’s ATmega1281 microcontroller (14 MHz frequency), Atmel’s RF212/RF231, 8KB SRAM, 4KB EEPROM, 128KB Flash, -10ºC, +65ºC temperature range and an RTC (32KHz) clock.

As we’ve previously discussed on Bits & Pieces, 6LoWPAN is an acronym for IPv6 over Low power Wireless Personal Area Network. This protocol offers encapsulation and header compression mechanisms that allow IPv6 packets to be sent to and received over IEEE 802.15.4 based networks.

There are two primary node types:

End Node – These nodes, which offer integrated sensors, are used to gather the information and send to the GW. Essentially, they create a mesh network among them, forwarding the packets of other nodes in order to facilitate the flow of information to the GW. Each End Node is equipped with a 6LoWPAN radio, sensors and a battery.

Gateway (GW) – This node takes the information sent by the End Nodes and relays it to the Tunnelling IPv4 / IPv6 server via the Ethernet IPv4 interface. Each GW Node is equipped with a 6LoWPAN radio, Ethernet interface and a battery.

In the diagram below, Libelium illustrates how the Waspmote Mote Runner 6LoWPAN / IPv6 Network operates.

  1. The sensor nodes use the 6LoWPAN protocol over the 802.15.4 link layer to create a mesh network which interconnects any device in the network with the Gateway (GW).
  2. Once the GW takes the 6LoWPAN packets, it changes the IP header to IPv4 while maintaining the UDP transport layer.
  3. It then sends the information to the IPv4 / IPv6 Tunneling machine, subsequently changing the header to a proper IPv6 format and sending the data to IPv6 Servers located on the Internet.

There are currently three Waspmote Mote Runner 6LoWPAN / IPv6 Radios targeted at a wide variety of markets and applications including sensors, events, smart cities, smart parking, agriculture, radiation detection, GPS, prototyping sensors and smart metering.

radiolineup

Interested in learning more about the Atmel-powered Waspmote Mote Runner platform? You can check out the product’s official page here for additional information.