November 23, 2016 - Phil Coval

Get Started with IoTivity Interactions on the ARTIK10 and Tizen

A curious mind recently asked me to share materials about the OCF SmartHome demo, or perhaps I should call it the “Minimalist Smart Switch” instead. The demo was displayed at the Embedded Linux Conference in Berlin, and featured IoTivity running on an ARTIK10 SoC that connected to a Tizen Gear S2 Smartwatch; both run Tizen OS.

ocf

You will find more technical details in the following slide deck.

IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux from Samsung Open Source Group

Install Tizen and IoTivity

If you want to run it this demo, you can download the system image and uncompress the archive directly to the SD card using QEMU tools.

Once this is completed, insert the SD card into the ARTIK10 and turn it on; it will boot Tizen and launch the IoTivity server. For more information about this, check out the previous blog posts about booting tizen on ARTIK and building software for Tizen OS. These will show you how to rebuild the latest version of IoTivity from scratch.

Of course, this can be adapted to other hardware like the ARTIK5 and maybe the ARTIK7 too, it would be a good idea to bookmark this page as a reference for Tizen on ARTIK. If you run into issues, feel free to ask about them in the ARTIK forums.

Note, You can also do it again on Yocto OS using meta-artik too, but using Tizen will save you the time and resources to rebuild everything.

Setup the Tizen Clients

For IoTivity clients on mobile devices, like the Samsung Z1, or smartwatches, such as the Samsung GearS2, the clients need a little preparation. Most of it’s documented in the Tizen page on the IoTivity wiki. I will also be personally available to assist developers at next the Tizen community meeting (2016-11-28 09h@UTC), which has more details on the Wiki’s Meeting page.

What’s Next for Tizen and IoTivity?

Micro-controllers have recently been a focus of some of my work. I shared some hints are shared in the following presentation “From Arduino Microcontrollers to Tizen using IoTivity” which I presented at IoT With the Best 2016.

IoT: From Arduino Microcontrollers to Tizen Products using IoTivity from Samsung Open Source Group

Others at the Samsung Open Source Group have worked on more constrained devices by bridging different technologies together, including JerryScript, 6LoWPAN, and more. This was demonstrated at the recent Samsung Open Source Conference .

One likely challenge for ARTIK0 owners will be running iotivity-constrained on operating systems Iotivity supports, such as RIOT, Zephyr, and Tizen RT. If you’re one of these people, please keep us updated in the Tizen IRC channel, or the mailing lists!

lfelc

Thanks to Luis De Bethencourt for helping me with the pictures of the Gear S2 on my wrist 🙂

Phil Coval

About Phil Coval

Philippe has been involved with the Tizen project since 2012 when he became the co-maintainer on some of the distributions domain's in the Common profile. He now works for the Samsung Open Source Group where he actively supports community contributions by helping others who have an interest in free software and open hardware. In particular, he is actively involved in the Tizen and IoTivity communities.

Embedded Technology / Internet of Things / IoTivity / Tizen ARTIK / artik10 / ELC / Gear S2 / IoTivity / OCF / Tizen / Z1 /

Comments

  • Junyoung Jung says:

    Hello Mr. Coval. My name is Junyoung Jung.
    And I’m a Computer Engineering Student for Kyung Hee Univ. in Korea
    I do following your posts on Samsung Open Source Group, “Get Started with IoTivity Interactions on the ARTIK10 and Tizen” and “How to Boot Tizen on ARTIK”
    I really thank you about these posts.
    But I have a problem.
    You posted about this…

    ARTIK10 # version
    U-Boot 2012.07-g801ab1503-TIZEN.org (Jun 20 2016 – 15:27:02) for ARTIK10
    gcc (Tizen/Linaro GCC 4.9.2 2015.02) 4.9.2
    GNU ld (GNU Binutils) 2.25.0 Linaro 2015_01-2
    ARTIK10 # env default -f ;
    ARTIK10 # set rootdev 1 ; set rootpart 3 ; boot

    However, my ARTIK10 didn’t boot.
    ARTIK10 prints about this…

    ARTIK10 # boot
    reading zImage
    5339682 bytes read in 106097 ms (48.8 KiB/s)
    reading exynos5422-artik10.dtb
    69754 bytes read in 123002 ms (0 Bytes/s)
    reading uInitrd
    1353683 bytes read in 27736 ms (46.9 KiB/s)
    ## Loading init Ramdisk from Legacy Image at 43000000 …
    Bad Header Checksum
    Ramdisk image is corrupt or invalid

    How can I boot ARTIK10 on Tizen?
    Can you help me?

  • Phil Coval Phil Coval says:

    Hi,

    Can you boot the yocto image, I shared earlier:
    https://blogs.s-osg.org/run-iotivity-artik-yocto/

    For tizen you’ll find latest info on:
    https://wiki.tizen.org/wiki/Category:ARTIK

  • qiang says:

    Hi, Mr Coval.
    The artik10 has many RF supported, I guess you enable the bluetooth to connnect to the gear s2.
    My question is that is it possible to use the iovitity to act as a “IoT hub”, to manage all the connections such as ble, wifi and zigbee in artik10? do you have such ideas?
    Thank you.

Leave a Reply to Junyoung Jung Cancel reply

Your email address will not be published. Required fields are marked *

Comments Protected by WP-SpamShield Anti-Spam