Archive

Posts Tagged ‘smart grid’

FOSDEM 2017 Open Source Meeting Schedule

January 31st, 2017 4 comments

FOSDEM (Free and Open Source Software Developers’ European Meeting) is a 2-day free event for software developers to meet, share ideas and collaborate that happens on the first week-end of February, meaning it will take place on February 4 & 5, 2017 this year. FOSDEM 2017 will features 608 speakers, 653 events, and 54 tracks, with 6 main tracks namely: Architectures, Building, Cloud, Documentation, Miscellaneous, and Security & Encryption.
I won’t be there, but it’s always interesting to look at the schedule, and I made my own virtual schedule focusing especially on talks from “Embedded, mobile and automotive” and “Internet of Things” devrooms.

Saturday 4, 2017

  • 11:00 – 11:25 – Does your coffee machine speaks Bocce; Teach your IoT thing to speak Modbus and it will not stop talking, by Yaacov Zamir

There are many IoT dashboards out on the web, most will require network connection to a server far far away, and use non standard protocols. We will show how to combine free software tools and protocols from the worlds of IT monitoring, Industrial control and IoT to create simple yet robust dashboards.

Modbus is a serial communication protocol developed in 1979 for use with programmable logic controllers (PLCs). In simple terms, it is a method used for transmitting information over serial lines between electronic devices., it’s openly published, royalty-free, simple and robust.

Many industrial controllers can speak Modbus, we can also teach “hobby” devices like Arduino boards and ESP8266 to speak Modbus. Reliable, robust and simple free software Modbus client will be used to acquire the metrics from our device, then the metrics will be collected and sent to Hawkular and Grafana to store and visualize our data.

  • 11:30 – 11:55 – Playing with the lights; Control LIFX WiFi-enabled light bulbs, by Louis Opter

In this talk we’ll take a close look at a one of the “smart” (WiFi-connected) light-bulbs available on the market today. The bulbs expose a small API over UDP that I used to run an interface on a programmable buttons array. We will see how topics like reverse engineering, security, licensing, “self-hosting” and user experience came into play.

monolight is an user interface to control LIFX WiFi-enabled light bulbs. monolight runs on a programmable button array; it is written in Python 3.6 (to have type annotations and asyncio), and it interfaces with the bulbs through a more complex daemon written in C: lightsd.

This talk will start with a live demo of the button grid remotely controlling the light bulbs. We will then explore how it works and some of the motivations behind it (network isolation, trying to not depend on the “cloud”, reliability, user-experience). Finally, we will look into what kind of opportunities even more open IoT products could bring, and open leave the place to Q&A and discussion.

  • 12:00 – 12:30 – Creating the open connected car with GENIVI, by Zeeshan Ali, GENIVI Development Platform (GDP) technical lead

A number of new components have matured in GENIVI to provide a true connected car experience. A couple of them are key connectivity components; namely SOTA (Software Over the Air) and RVI (Remote Vehicle Interface). This talk will discuss both these components, how they work together, the security work done on them and their integration into the GENIVI Development Platform.

This talk will also run down the overall status of GENIVI’s development platform and how it can enable an automotive stack to speak not just with the cloud, but with IoT devices via Iotivity interface.

  • 12:30 – 13:00 – Making Your Own Open Source Raspberry Pi HAT; A Story About Open Source Harware and Open Source Software, by Leon Anavi

This presentation will provide guidelines how to create an open source hardware add-on board for the most popular single board computer Raspberry Pi using free and open source tools from scratch. Specifications of Raspberry Pi Foundation for HAT (Hardware Attached on Top) will be revealed in details. Leon Anavi has been developing an open source Raspberry Pi HAT for IoT for more than a year and now he will share his experience, including the common mistakes for a software engineer getting involved in hardware design and manufacturing. The presentation is appropriate for anyone interested in building entirely open source products that feature open source hardware and open source software. No previous experience or hardware knowledge is required. The main audience are developers, hobbyists, makers, and students. Hopefully the presentation will encourage them to grab a soldering iron and start prototyping their DIY open source device.

  • 13:00 – 13:25 – Building distributed systems with Msgflo; Flow-based-programming over message queues, by Jon Nordby

MsgFlo is a tool to build systems that span multiple processes and devices, for instance IoT sensor networks. Each device acts as a black-box component with input and output ports, mapped to MQTT message queues. One then constructs a system by binding the queues of the components together. Focus on components exchanging data gives good composability and testability, both important in IoT. We will program a system with MsgFlo using Flowhub, a visual live-programming IDE, and test using fbp-spec.

In MsgFlo each process/device is an independent participant, receiving data on input queues, and sending data on output queues. A participant do not know where the data comes from, nor where (if anywhere) the data will go. This strong encapsulation gives good composability and testability. MsgFlo uses a standard message queue protocol (MQTT or AMQP). This makes it easy to use with existing software. As each participant is its own process and communicate over networks, they can be implemented in any programming language. Convenience libraries exist for C++, Python, Arduino, Node.js and Rust. On top of the message queue protocol, a simple discovery mechanism is added. For existing devices without native Msgflo support, the discovery messages can be sent by a dedicated tool.

  • 13:30 – 13:55 – 6LoWPAN in picoTCP, and how to support new Link Layer types, by Jelle De Vleeschouwer

6LoWPAN enables, as the name implies, IPv6-communication over Low-power Wireless Personal Area Networks, e.g. IEEE802.15.4. A lot of resources are available to allow 6LoWPAN over IEEE802.15.4, but how can one extend the 6LoWPAN feature-set for the use with other link layer types? This talk will cover the details about a generic implementation that should work with every link layer type and how one can provide support for ones own custom wireless network. The goal is to give quite a technical and detailed talk with finally a discussion about when 6LoWPAN is actually useful and when is it not.

Last year, as a summer project, a generic 6LoWPAN adaption layer was implemented into picoTCP, an open source embedded TCP/IP-stack developed by Altran Intelligent Systems, with an eye on the IoT. The layer should also be able to allow multiple link-layer extensions, for post-network-layer processing. This could be used for mesh-under routing, link layer security, whatever you want. This talk will cover how one can take advantage of these features and caveats that come with it.

  • 14:00 – 15:00 – Groking the Linux SPI Subsystem by Matt Porter

The Serial Peripheral Interconnect (SPI) bus is a ubiquitous de facto standard found in many embedded systems produced today. The Linux kernel has long supported this bus via a comprehensive framework which supports both SPI master and slave devices. The session will explore the abstractions that the framework provides to expose this hardware to both kernel and userspace clients. The talk will cover which classes of hardware supported and use cases outside the scope of the subsystem today. In addition, we will discuss subtle features of the SPI subsystem that may be used to satisfy hardware and performance requirements in an embedded Linux system.

  • 15:00 – 15:25 – Frosted Embedded POSIX OS; a free POSIX OS for Cortex-M embedded systems, by Brabo Silvius

FROSTED is an acronym that means “FRee Operating System for Tiny Embedded Devices”. The goal of this project is to provide a free kernel for embedded systems, which exposes a POSIX-compliant system call API. In this talk I aim to explain why we started this project, the approach we took to separate the kernel and user-space on Cortex-M CPU’s without MMU, and showcase the latest improvements on networking and supported applications.

  • 15:30 – 16:00 – How to Build an Open Source Embedded Video Player, by Michael Tretter

Video playback for embedded devices such as infotainment systems and media centers demands hardware accelerators to achieve reasonable performance. Unfortunately, vendors provide the drivers for the accelerators only as binary blobs. We demonstrate how we built a video playback system that uses hardware acceleration on i.MX6 by using solely open source software including Gstreamer, Qt QML, the etnaviv GPU driver, and the coda video decoder driver.

The Qt application receives the video streams from a Gstreamer pipeline (using playbin). The Gstreamer pipeline contains a v4l2 decoder element, which uses the coda v4l2 driver for the CODA 960 video encoder and decoder IP core (VPU in the Freescale/NXP Reference Manual), and a sink element to make the frames available to the Qt application. The entire pipeline including the Gstreamer to Qt handover uses dma_bufs to avoid copies in software.This example shows how to use open source drivers to ease the development of video and graphics applications on embedded systems.

  • 16:00 – 16:25 – Project Lighthouse: a low-cost device to help blind people live independently, by David Teller

The Word Health Organization estimates that more than 250 million people suffer from vision impairment, 36 millions of them being entirely blind. In many cases, their impairment prevents them from living independently. To complicate things further, about 90% of them are estimated to live in low-income situations.

Project Lighthouse was started by Mozilla to try and find low-cost technological solutions that can help vision-impaired people live and function on their own. To this date, we have produced several prototypes designed to aid users in a variety of situations. Let’s look at some of them. This will be a relatively low-tech presentation.

  • 16:30 – 16:55 – Scientific MicroPython for Microcontrollers and IoT, IoT programming with Python, by Roberto Colistete Jr

MicroPython is a implementation of Python 3 optimised to run on a microcontroller, created in 2013 by the Physicist Damien P. George. The MicroPython boards runs MicroPython on the bare metal and gives a low-level Python operating system running interactive prompt or scripts.

The MicroPython boards currently use 32 bit microcontrollers clocked at MHz and with RAM limited to tens or hundreds of Kbytes. These are the microcontroller boards with official MicroPython support currently in the beginning 2017 : Pyboard, Pyboard Lite, WiPy 1/2, ESP8266, BBC Micro:bit, LoPy, SiPy, FiPy. They cost between USD3-40, are very small and light, about some to tens of mm in each dimension and about 5-10 g, have low power consumption, so MicroPython boards are affordable and can be embedded in almost anything, almost anywhere.

Some hints will be given to the FOSS community to be open minded about MicroPython : be aware that MicroPython exists, MicroPython is a better programming option than Arduino in many ways, MicroPython boards are available and affordable, porting more Python 3 scientific modules to MicroPython, MicroPython combines well with IoT.

  • 17:00 – 17:25 – Iotivity from devices to cloud; how to make IoT ideas to real using FLOSS, by Philippe Coval & Ziran Sun (Samsung)

The OCF/IoTivity project aims to answer interoperability issues in the IoT world from many different contexts to accommodate a huge range devices from microcontrollers, to consumer electronics such as Tizen wearables or your powerful GNU/Linux system The vision of Iotivity is not restricted to ad hoc environment but also can be connected to Internet and make the service easily accessible by other parties. With cloud access in place, usage scenarios for IoT devices can be enriched immensely.

In this talk we walk through the steps on how to practically handle IoT use cases that tailored towards various topologies. To introduce the approach used in IoTivity, we first give a detailed background introduction on IoTivity framework. Then we will present a demo that shows a few examples, from setting up a basic smart home network to accessing the IoT resource via a third party online service. Challenges and solutions will be addressed from development and implementation aspects for each step of the demo.

We hope this talk will inspire developers to create new IoT prototypes using FLOSS.

  • 17:30 – 17:55 – Open Smart Grid Platform presentation, an Open source IoT platform for large infrastructures, by Jonas van den Bogaard

The Open Smart Grid Platform is an open source IoT platform. The open smart grid platform is a generic IoT platform, built for organizations that manage and/or control large-scale infrastructures. The following use cases are now readily available: smart lighting, smart metering, tariff switching, and microgrids. Furthermore the following use-cases are in development: distribution automation, load management and smart device management. The architecture of the open smart grid platform is modular and consists multiple layers.

The open smart grid platform is highly unique for embracing the open source approach and the following key features:

  • Suitable for scalable environments delivering high performance
  • High availability and multitenant architectures
  • Built with security by design and regularly tested.
  • It has a generic architecture. More use cases and domains are easily added to the platform.
  • The open smart grid platform is based on open standards where possible.

We believe the platform is interesting for developers who have interest in working on use-cases for Smart Cities, Utility Companies and other large-scale infrastructure companies.

  • 18:00 – 19:00 – AGL as a generic secured industrial embedded Linux; factory production line controllers requirements are not that special, by Dominig ar Foll

There is no de facto secured embedded Linux distro while the requirement is becoming more and more critical with the rise of IoT in Industrial domains. When looking under the hood of the Yocto built AGL project (Automotive Linux), it is obvious that it can fit 95% of the most common requirements as a Secured Embedded Linux. We will look how non Automotive industries can easily reuse the AGL code and tools to build their own industrial product and why it’s a safer bet than to build it internally.

Industrial IoT cannot be successful without a serious improvement of the security coverage. Unfortunately there is as today, no of-the-shelves offer and the skills required to create such solution, are at best rare, more often out of reach. AGL as created a customizable embedded Linux distro which is nicely designed for reuse in many domains outside of Automotive. During the presentation we will see how to: – start your development with boards readily available on the Net, – change the BSP and add peripherals using Yocto layers or project like MRAA, – integrate a secure boot in your platform, – add your middleware and your application without breaking the maintained Core OS – develop a UI on the integrated screen and/or an HTML remote browser – update the core OS and your add-ons. – get support and influence the project.

Sunday 5, 2017

  • 10:00 11:00 – How I survived to a SoC with a terrible Linux BSP, Working with jurassic vendor kernels, missing pieces and buggy code, by Luca Ceresoli

In this talk Luca will share some of his experiences with such vendor BSPs, featuring jurassic kernels, non-working drivers, non-existing bootloaders, code of appallingly bad quality, ineffective customer support and Windows-only tools. You will discover why he spent weeks in understanding, fixing and working around BSPs instead of just using them. The effects on the final product quality will be described as well. Luca will also discuss what the options are when you face such a BSP, and what both hackers and vendors can do to improve the situation for everybody’s benefit.

  • 11:00-12:00 – Open Source Car Control, by Josh Hartung

This fall my team launched the Open Source Car Control (OSCC) project, a by-wire control kit that makes autonomous vehicle development accessible and collaborative to developers at every level. In this presentation, we discuss the project and its implications on the development of autonomous cars in a vertically integrated and traditionally closed industry.

A primary barrier to entry in autonomous vehicle development is gaining access to a car that can be controlled with an off-the-shelf computer. Purchasing from an integrator can cost upwards of $100K, and DIY endeavors can result in unreliable and unsafe solutions. The OSCC project acts as a solution to these problems. OSCC is a kit of open hardware and software (based on Arduino) that can be used to take control of the throttle, brake, and steering in modern cars. The result is a fully by-wire test car that can be built for about $10K (USD), including the vehicle. In this discussion, we unpack the impetus and development of the OSCC project, challenges we encountered during development, and the role projects like OSCC have in a necessary “flattening” of the automotive industry.

  • 12:00 – 13:00 – Kernel DLC Metrics, Statistic Analysis and Bug-Patterns, by Nicholas Mc Guire

SIL2LinuxMP strives to qualify a defined GNU/Linux subset for the use in safety-related systems by “assessment of non-compliant development”. To demonstrate that the kernel has achieved suitable reliability and correctness properties basic metrics of such properties and their statistic analysis can be used as part of the argument. Linux has a wealth of analytical tools built-in to it which allow to extract information on compliance, robustness of development, as well as basic metrics on complexity or correctness with respect to defined properties. While IEC 61508 Ed 2 always pairs testing and analysis, we believe that for a high complexity system traditional testing is of relatively low effectiveness and analytical methods need to be the primary path. To this ends we outline some approaches taken:

  • Bug-age analysis
  • Bug-rates and trend analysis
  • Code-complexity/bug relationship
  • Brain-dead correctness analysis
  • Interface and type-correctness analysis
  • API compliance analysis
  • Analysis of build-bot data

While much of the data points to robust and mature code there also are some areas where problems popped up. In this talk we outline the used methods and give examples as well as key findings. FLOSS development has reached a quite impressive maturity, to substantially go beyond we think it will need the use of quantitative process and code metrics – these results from SIL2LinuxMP may be a starting point.

  • 13:00 – 14:00 – Loco Positioning: An OpenSource Local Positioning System for robotics, presentation with a demo of autonomous Crazyflie 2.0 quadcopter, by Arnaud Taffanel

Positioning in robotics has alway been a challenge. For outdoor, robots GPS is solving most of the practical problems, but indoor, precise localization is still done using expensive proprietary systems mainly based on an array of cameras.

In this talk, I will present the loco positioning system: an open source Ultra Wide Band radio-based local positioning system, why we need it and how it works. I will also speak about its usage with the Crazyflie 2.0 open source nano quadcopter, of course ending with an autonomous flying demo.

  • 14:00 14:50 – Free Software For The Machine, by Keith Packard

The Machine is a hardware project at Hewlett Packard Enterprise which takes a new look at computer architecture. With many processors and large amounts of directly addressable storage, The Machine program has offered an equally large opportunity for developing new system software. Our team at HPE has spent the better part of two years writing new software and adapting existing software to expose the capabilities of the hardware to application developers.

As directly addressable storage is such a large part of the new hardware, this presentation will focus on a couple of important bits of free software which expose that to applications, including our Librarian File System and Managed Data Structures libraries. Managed Data Structures introduces a new application programming paradigm where the application works directly on the stable storage form for data structures, eliminating serialization and de-serialization operations.

Finally, the presentation will describe how the hardware is managed, from sequencing power to a rack full of high-performance computing hardware, through constructing custom Linux operating systems for each processor and managing all of them as parts of a single computing platform.

  • 15:00 – 15:25 – Diving into the KiCad source code, by Maciej Sumiński

Let’s be sincere, all of us would love to change something in KiCad. I bet you have an idea for a new tool or another killer feature that would make your life so much easier.

You know what? You are free to do so! Even more, you are welcome to contribute to the project, and it is not that difficult as one may think. Those who have browsed the source code might find it overwhelming at first, but the truth is: you do not have to know everything to create useful extensions.

I would like to invite you for a walk through the KiCad source code to demonstrate how easy it is to add this tool you have always been dreaming about.

  • 15:30 – 16:00 – Testing with volcanoes – Fuego+LAVA, embedded testing going distributed, by Jan-Simon Möller

LAVA and Fuego are great tools individually already. Combining and extending them allows for a much broader test coverage than each tool alone can provide.

The focus of this talk is to share the experiences made and lessons learned so people can integrate such tools better in their own environment. It also raises the pain-points and open issues when setting up a distributed environment.

Especially for Automotive, Long-Term-Support, CIP or Consumer Electronics, advancing the Test-harness is essential to raise the bar and strengthen the confidence in our embedded platforms. Automated testing can improve our ecosystem from two sides: during development (feature does work and does not break things) and during maintenance (no regressions through backports).

  • 16:00 – 16:30 – Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device, by Stefan Schmidt

Adding support for IEEE 802.15.4 and 6LoWPAN to an embedded Linux board opens up new possibilities to communicate with tiny, IoT type of, devices.

Bringing IP connectivity to devices, like sensors, with just a few kilobytes of RAM and limited battery power is an interesting IoT challenge. With the Linux-wpan and 6LoWPAN subsystems we get Linux ready to support the needed wireless standards as well as protocols that connect these tiny devices into the wider Internet. To make Linux a practical border router or smart home hub for such networks.

This talk will show how to add the needed transceiver hardware to an existing hardware and how to enable and configure the Linux-wpan and 6LoWPAN mainline subsystems to use it. The demonstration will include setting up the communication between Linux and other popular IoT operating systems like RIOT or Contiki as well.

  • 16:30 – 17:00 – OpenPowerlink over Xenomai, by Pierre Ficheux

Industrial Ethernet is a successor of classic field bus such as CAN, MODBUS or PROFIBUS. POWERLINK was created by B&R Automation and provides performance and real­-time capabilities based on standard Ethernet hardware. openPOWERLINK is open source and runs on lots of platforms such as Linux, Windows, various RTOS and dedicated hardware (FPGA). We will explain how to use openPOWERLINK on top of Xenomai 3, a powerful real-time extension for Linux kernel based on co-­kernel technology.

FOSDEM 2017 will take place at the ULB Solbosch Campus in Brussels, Belgium, and no registration is required, you just need to show up in order to attend the event.

WAVIoT LPWAN Technology Powers Low Cost Smart Water and Electricity Meters

January 20th, 2016 10 comments

With the rise of IoT and M2M applications, more and more Low Power Wide Area Network (LPWAN) standards have been launched or being worked on, such as Sigfox, LoRa, 802.11ah “Hallow”, Weightless, etc… with all promising long range, low power consumption, and support for a high number of nodes. WAVIoT, a US startup founded in 2011, has decided to create its own solution called WAVIoT Nb-Fi (Narrowband Fidelity) that works in ISM bands, offers up to 50km line-of-sight range, supports up to 2 million nodes by gateway, lasts over 20 years on a small battery, and with WAVIoT said to cost as low as $2 per node. The technology is already available in smart electricity and water meters, and modules as shown in the picture below.

WavIOT_Meter_and_LPWAN_Radio_ModuleHere are some of WAVIoT Nb-Fi technical specifications:

  • DBPSK on physical layer of signal transmission;
  • End-nodes transmit radio signal in 10-500 kHz bandwidth
  • Minimum bit rate of 50 baud+ (8-10 bits per second)
  • Link budget available 184-194 dBm
  • Output power up to 25dBm (with FEM)
  • TX 250mA @ 27Bm, 90mA @ 16dBm, 44mA @ 14dBm
  • Sleep mode with RAM retention and wake-up timer running 1.5 μA
  • RF transceiver operates over a wide frequency range including 315MHz, 433MHz, 470MHz, 868MHz, 915MHz in the license-free Industrial, Scientific and Medical (ISM) frequency bands.

But the best way to see what the standard can do it to compare it to other solutions such as LoRa, Sigfox, LTE-M, WiFi, and Cellular.

Comparison Table

Click to Enlarge

(1) LoRa info source: Link Labs; (2) Sigfox info source: SigFox.

The table above has been provided by the WAVIoT, and while it’s informative, the data shown is likely to show WAVIoT Nb-IF in the best light possible.

You can already setup an ecosystem with WAVIoT, for example using WAVIoT GW200 base station combined with nodes using RM130 transceiver module ($15) supporting both Nb-Fi and LoRa, or smart meters such as SWM-1 smart water meter ($28)  or SEM-1 smart electricity meter ($59).

WAVIoT & LoRa RM-130 Development Kit

WAVIoT & LoRa RM-130 Development Kit

The company also provides a WAVIoT and LoRa development kit based on RM-130 transceiver module with the following hardware specifications:

  • MCU – SiLabs EFM32G210F128 ARM Cortex-M3 MCU @ 32 MHz with 128 KB Flash and 16 KB RAM
  • RF Transceiver – Semtech SX1276 137 MHz to 1020 MHz Low Power Long Range Transceiver
  • Frequency Bands – 866.5 – 916.5 MHz
  • Radio protocols – LoRa, WAVIoT UNB
  • TX Power Range – -2…18.6 dBm, by 1 dBm steps
  • TX Current –  120mA @ 18.6dBm, 90mA @ 16dBm
  • RX Current – 16 mA
  • Sleep Current 10 µA
  • Expansion – 17 through holes for Power signals, as well as GPIO, USB, UART, SPI, I2Cm ADC, analog comparators, pulse counters, etc…
  • Debugging – 20-pin JTAG header, USB-UART interface
  • Power Supply – 5V via USB or 2.5 / 3.8V (selectable by jumper)
  • Dimensions –  80 × 38 × 11mm
  • Operating Temperature – – 40…85 °C

So WAVIoT is just using existing RF solutions, and seems to basically use the same hardware as LoRA, as Semtech SX1276 is featuring a “LoRa long range modem”, and the cost per node is likely lower because of its better scalability. The board supports add-on shields for LCD display, SWR sensor, and more.

The company provides a simple Windows GUI, command-line utilities for Windows, Linux, and Mac OS X, and an open source host-interface abstraction written for PCs and embedded microcontrollers. Several cloud solutions for data management and billing are offered. The development kit sells for $274.99.

You can find more details on WAVIoT website.

TI SimpleLink CC1310 Wireless MCU Promises 20 Km Range, 20-Year Battery Life on a Coin Cell

December 18th, 2015 8 comments

Some LPWAN standards such as SigFox, LoRa, or nWave allows for transmission of data at low bitrate over several kilometers, and I’ve very recently featured Microchip’s LoRa modules and motes in this blog. So when Texas Instruments sent their December 2015 newsletter entitled Wireless MCU spans 20 km on a coin cell, I decided to have a look, and the company’s CC1310 wireless Cortex-M3+M0 MCU based on a proprietary sub GHz technology also claims to last 20-year on a coin cell for applications such as grid communication infrastructure and heat and water meters.

TI CC1310 MCU Block Diagram

TI CC1310 MCU Block Diagram

SimpleLink CC1310 key features:

  • Microcontroller – ARM Cortex-M3 @ up to 48 MHz with up to 128KB programmable flash, 8KB DRAM for cache/general purpose, 20KB Ultralow Leakage SRAM
  • Sensor Controller – Ultralow power and autonomous; 16-Bit Architecture; 2KB of Ultralow Leakage SRAM for code and data
  • RF core
    • Cortex M0 core with 4KB RAM, and ROM
    • Data rate – 4000 kbps (Max)
    • Receiver Sensitivity – –124 dBm using long-range Mode, –110 dBm at 50 kbps
    • Selectivity: 52 dB; Blocking performance: 90 dB; programmable output power up to +14 dBm
    • Single-ended or differential RF Interface
    • Suitable for systems targeting compliance with ETSI EN 300 220, EN 303 131, EN 303 204 (Europe); FCC CFR47 Part 15 (US); ARIB STD-T108 (Japan)
    • Wireless M-Bus and IEEE 802.15.4g PHY
  • Peripherals
    • All digital peripheral pins can be routed to any GPIO
    • 4x general-purpose timer modules – 8x 16-Bit or 4x 32-Bit Timers, PWM each
    • 12-Bit ADC, 200 ksamples/s, 8-Channel Analog MUX
    • Continuous Time Comparator
    • Ultralow Power Clocked Comparator
    • Programmable Current Source
    • UART, 2× SSI (SPI, MICROWIRE, TI), I2C
    • I2S
    • Real-Time Clock (RTC)
    • AES-128 security module, True Random Number Generator (TRNG)
    • Support for eight capacitive sensing buttons
    • Integrated Temperature Sensor
  • External System
    • On-Chip Internal DC-DC Converter
    • Few External Components
    • Integration with SimpleLink CC1190 range extender
  • Power Supply – 1.8 to 3.8V
  • Power Consumption
    • Active mode – Rx: 5.5 mA; Tx (+10 dBm): 12.9 mA; MCU: 48.5 CoreMark/mA; Sensor Controller @ 24 MHz: 0.4 mA + 8.2 µA/MHz
    • Sensor Controller woken up once per second performing one 12-Bit ADC sampling: 0.85 µA
    • Standby: 0.6 µA (RTC running and RAM and CPU retention)
    • Shutdown: 185 nA (Wakeup on external events)
  • Packages – 7-mm × 7-mm RGZ VQFN48 (30 GPIOs); 5-mm × 5-mm RHB VQFN48 (15 GPIOs); 4-mm × 4-mm RSM VQFN48 (10 GPIOs)
Connected Water Meter Block Diagram

Connected Water Meter Block Diagram

Software and development tools include reference designs for Different RF configurations, packet sniffer PC Software, Sensor Controller Studio, SmartRF Studio, SmartRF Flash Programmer 2, IAR Embedded Workbench for ARM, Code Composer Studio as well as development kits such as SimpleLink sub-1 GHz CC1310 development kit bundle comprised of one  CC1310EMK-7XD-7793 evaluation module kit with  two boards with the wireless MCU and RF layout (779 to 930 MHz) with two antennas, and two SMARTRF06EBK  evaluation board that is the  motherboard for the CC1310 evaluation module, and equipped with an on-board XDS100v3 debugger, LCD, buttons, LEDs, debugger and sensors.

SimpleLink CC1310 Evaluation Module Kit

SimpleLink CC1310 Evaluation Module Kit

TI CC1310 MCU is selling for $2.50 to $3.98 per unit for 1K orders, and the development kit is available for $299 + shipping. More details can be found on Texas Instruments SimpleLink CC1310 and CC1310 development kit product pages.

Orvibo Wiwo S20 Smart Socket Now Sells for $16

July 30th, 2015 10 comments

Kankun KK-SP3 used to be the cheapest smart socket on the market at around $20, and it is hackable too, but only available with a Chinese / Australian plug, and for some reasons, many sellers stopped selling the device. Last year, a similar product called Orvibo Wiwo S20 launched with US, UK, EU or AU plug types, but sold for nearly twice as much as KK-SP3 at the time. The good news is that the price has gone down considerably, as it can be purchased for around $16 on GearBest, and it’s available on others for $20 to $26 including on Amazon US, DealExtreme, and GeekBuying.

Orvibo_Wiwo-S20_Multi_Countries_PlugsLet’s remind us of the specifications first:

  • Material – ABC 94V-0 (fireproof)
  • Wi-Fi
    • 802.11 b/g/n
    • Security – WEP, WPA-PSK or WPA2-PSK
  • Power Plug – US, Europe, United Kingdom or Australia plug
  • Output Current – 10A
  • Output Power – 2000W max.
  • Voltage Range – 100-240V AC
  • Power Consumption – ≤0.3W
  • Dimensions – 10.3 cm x 6.3 cm x 3.7 cm
  • Temperature Range – -20 C to 60 C
  • Relative Humidity – ≤80%
  • Weight – 110 grams

You can control the device with Orvibo’s Android or iOS app. Since it has been around for a while, there’s quite a lot of user’s feedback, and users are usually satisfied.

Orvibo_Wiwo_S20_Hardware_Power Orvibo_Wiwo_S20_Hardware_WiFi
Images Source: https://sites.google.com/site/orvibos20/hardware (Click to Enlarge)

Orvibo Wiwo S20 is also compatible with Linux based Ninja Block automation box, the communication protocol has been reversed engineered, and an open source app “Orwivo S20 socket manager” has been released, and can be available as a command client client, or with a simple GUI. So beside Wiwo S20 getting cheaper, it has also become more flexible, thanks to the work of the community.

Thank you Onebir!

Orvibo Wiwo S20 Wi-Fi Smart Socket Features US, EU, UK, or AU Plug Types

July 31st, 2014 65 comments

I’ve previously covered several Chinese Wi-Fi smart sockets including Broadlink SP2 also supporting power monitoring, and Kankun KK-SP3, a cheaper, more basic version that can only be turned on and off manually or via timers, and which runs OpenWRT. These plugs have one thing in common: they only come with Australian/Chinese plugs, so if you want to use them in Europe, the US, or United Kingdom, you’ll need an adapter, which may not the the safest things to do, and it’s also inconvenient. Orvibo Wiwo S20 is another model that appears to have the capabilities and a price similar to Broadlink SP2, but available in four flavors with US, EU, UK, and AU plug types.

Orvibo_Wiwo-S20_Multi_Countries_PlugsOrvibo Wiwo S20 is made of fireproof ABS, and is significantly smaller than Broadlink SP2, but the rest of the specifications are very similar:

  • Material – ABC 94V-0 (fireproof)
  • Wi-Fi
    • 802.11 b/g/n
    • Security – WEP, WPA-PSK or WPA2-PSK
  • Power Plug – US, Europe, United Kingdom or Australia plug
  • Output Current – 10A
  • Output Power – 2000W max.
  • Voltage Range – 100-240V AC
  • Power Consumption – ≤0.3W
  • Dimensions – 10.3 cm x 6.3 cm x 3.7 cm
  • Temperature Range – -20 C to 60 C
  • Relative Humidity – ≤80%
  • Weight – 110 grams

This smart socket comes with a user’s manual in English. The  “WiWo” app to connect to your Wi-Fi router, control the device, set timers, scenes, etc.. is available for Android and iOS 5.0+. However, I can’t see any screenshots related to power monitoring, and after installing the Android app, I can’t find any instructions about it either. So “power indicator for your energy tracking” must be there is a LED showing if the device is in use or not… You can control up to 150 socket with your smartphone, and up to 20 mobile devices can control one socket…

I initially found out about the socket via GeekBuying, where it can be purchased for $38.99, and you can select the different plug type by changing the “color”. I could also find it on Aliexpress, where Orvibo has setup their own shop, and sell the devices for about $30 excluding shipping. You can also checkout Orvibo website for more details (I need a proxy to access the site).

BroadLink SP2 Wi-Fi Smart Socket for iOS and Android Adds Support for Energy Monitoring, Motion Sensing

March 4th, 2014 1 comment

Broadlink SP1, a low cost Wi-Fi smart socket released last year,  allows you to control your electric appliance with your mobile device running iOS or Android. You could turn it on or off, set timers, and so on. An updated model is now available, Broadlink SP2, that adds energy monitoring to the features found in the previous model, to track your historic and live power consumption on your smartphone or tablet, as well as a motion sensor to automatically turn off the lights, for instance, if you are away (Auto Home / Auto Away feature).

Broadlink SP2 and Energy Monitoring

Broadlink SP2 and Energy Monitoring

The hardware specifications are very similar to SP1 except it’s using a case made of polycarbonate plastic instead of ABS, and the device is a bit bigger:

  • Material – PC
  • Wi-Fi – 802.11 b/g/n
  • Power Plug – Three flat-pin plug (Australia type)
  • Voltage – 100~265V @ 50-60 Hz
  • Output Current – 10A
  • Output Power – 2300W max.
  • Dimensions – 12.3 cm x 7 cm x 6.5 cm
  • Durability – > 50,000 On/Off
  • Temperature Range – -10 C to 60 C

The smart socket comes with a user’s manual in English. Just like with SP1, you’ll need a plug adapter or a universal power strip to use the plug, if you don’t live in Australia, China, Argentina, New Zealand, and the few other countries using this type of plug.

The  “Broadlink” app is apparently the same as for SP1 for iOS 5+ and Android 2.2+ and support English as well as simplified and traditional Chinese. The company SP2 page is not very clear, and there are also other iOS and Android apps, but they must be for other products.

You can purchase Broadlink SP2 on DealExtreme for $45.24, but it should eventually be closer to $36, as it’s available for 179 CNY (About $29) on Taobao excluding shipping. For reference, Broadlink SP1 sells for $35 on dx.com.

802.11ah Wi-Fi (900 MHz) to Provide Low Power, Long Range Connectivity for the Internet of Things

February 21st, 2014 3 comments

Most devices now feature Wi-Fi modules capable of handling 802.11 b/g/n at 2.4 Ghz (and 5 GHz for dual band Wi-Fi), and newer devices and routers boast 802.11ac connectivity @ 5GHz with increased bandwidth (up to 1.2 Gbit/s in theory, maybe around 400 Mbit/s in practive), and in some case increased range with  beam-forming. But thanks to an article on EETimes, I’ve learned there’s another upcoming Wi-Fi standard called 802.11ah operating in the 900MHz range, with data rates from 150 Kbit/s with a 1 MHz band to as much as 40 Mbit/s over an 8 MHz band, lower power consumption, and a least double of the range of a typical 802.11n device,capable of covering an area of about 1 km2. The target applications are sensors networks, backhaul networks for sensor and meter, and extended range Wi-Fi, as the standard allows long range and more clients at low bitrates.

Smart Grid with 802.11ah - Source:

Smart Grid with 802.11ah – Source: Seoul National Univeristy

This new Wi-Fi standard will compete with other sub 1GHz wireless standard such as Zigbee, and Z-Wave, and it seems to have similar applications as Wi-Fi 802.11af standard operating in the TV white band. Companies such as Broadcom, CSR, Huawei, Intel, LG, Marvell, NEC, Panasonic, Qualcomm, Samsung, and ZTE are participating in IEEE 802.11ah standard which is expected to get ratified by the end of 2015. If you want to learn more about technical details, you could read a publications entitled IEEE 802.11ah: A Long Range 802.11 WLAN at Sub 1 GHz by the Department of ECE and INMC from Seoul National University.

802.11ah_specturmA Greek company, Antcor, will demonstrate its 802.11ah DSP block supporting 4×4 MIMO for home gateways and industrial automation networks at Mobile World Congress 2014, and the first 802.11ah SoCs should hit the market before the end of this year, using the draft specifications.

Smart Power Strip Controls and Monitors your Electric Appliances with Android or iOS Devices (Crowdfunding)

December 10th, 2013 3 comments

Broadlink SP1 and Plugaway are smart sockets controlled by your mobile device(s) via Wi-Fi, but they only support one appliance at a time. Smart Power Strip will fix that thanks to 4 sockets with independent power consumption meters that are controlled via Wi-Fi by Android or iOS devices.

Smart_Power_StripThe power strip is comprised of 4 independent relays, 2 USB ports, a 120V or 230V circuit breaker, and a dual 2.4 GHz module for Wi-Fi and Home Automation (MESH) technology. It supports 100-250V AC, with a maximum of 15 Amps. The smart power strip will be available for US, EU, UK, and AU standards. That’s about all we know about the hardware.

The mobile app will allow you to turn on/off devices manually, monitor each appliance’s power consumption individually, set timers, and monitor which device is on/off. As long as you have Internet access, the smart power strip can be accessed remotely, and if you forgot to turn on your appliances, you can do so from your car or work. You can also play God, or dad (or mum) the dictator, if you notice your kids are watching TV or playing games, whereas they should really be studying for their final exam.

Smart_Power_Strip_App The MESH network will allow to cascade several power strip together, with one master, and several slaves. I don’t clearly understand why it’s needed, but there must be a good reason that I’m missing.

Eventually you should also be able to control Wi-Fi sensors (motion, light bulb, other Wi-Fi sockets), but this does not seem supported right now. Beside Android and iOS, a Windows Phone app may be implemented at a later stage.

The company has almost got the $100,000 they need to go ahead with mass production, and if you are interested you can pledge $99 (early bird) or $119, adding $30 for shipping outside the US via their Kickstarter page to (hopefully) get one Smart Power Strip for your country in April 2014.