SandBox

Intel® IQ Software Kits

Intel announced a new software platform created specifically for the Intel Curie module, which includes all of the hardware, firmware, software and application SDK needed to enable a variety of device experiences. Intel IQ Software Kits will support future versions of this platform.

ToDo

David, Especificar si algo que se va a instalar se usara, o de lo contrario, solo se hace para propositos de demostracion David enviara pasos http://rwx.io/blog/2015/02/18/seting-up-an-edison/

http://www.turtlebot.com/

Beacons

ToDo

Wget Pywapi, Updated Wget but still getting an error on uclib, AlexT with an answer

    root@galileo:~# opkg install --force-overwrite uclibc
    root@galileo:~# opkg install --force-overwrite uclibc
    Installing uclibc (0.9.33+git0+946799cd0ce0c6c803c9cb173a84f4d607bde350-r8.4) on root.
    Downloading http://repo.opkg.net/galileo/repo/i586/uclibc_0.9.33+git0+946799cd0ce0c6c803c9cb173a84f4d607bde350-r8.4_i586.ipk.
    Configuring uclibc.
    root@galileo:~# opkg upgrade wget
    Installing wget (1.14-r16.0) on root.
    Downloading http://repo.opkg.net/galileo/repo/i586/wget_1.14-r16.0_i586.ipk.
    Multiple replacers for update-alternatives-cworth, using first one (update-alternatives-opkg).
    Multiple replacers for update-alternatives-cworth, using first one (update-alternatives-opkg).
    Configuring wget.
    update-alternatives: Linking //usr/bin/wget to /usr/bin/wget.wget

`

Subsystems

Challenges

Workshop Summary Spanish

Introduccion

El Internet de las Cosas es una realidad, se parte de la próxima revolución en interconexión de objetos cotidianos al Internet. A través de este taller aprenderás los componentes básicos en la construcción de soluciones en Internet de la Cosas, manejaras las herramientas, tecnología y el saber hacer desde un punto de vista de Ingeniería. El lenguaje de programación de Python es usado en todas las lecciones del taller, esto nos permitirá enfocarnos en la soluciones y no en las prácticas de programación.

Audiencia

Profesionales interesados en aprender sobre el Internet de la Cosas usando Plataformas de Hardware Intel Galileo e Intel Edison.

Prerequisitos

  • Experiencia con Linux

  • Conocimientos de Programación

Duración

6 horas

Sandbox

Trusted Platform Module

Please follow for both Intel® Edison and Intel® Galileo

  1. Review Technical Specifications

  2. Get familiar with Yocto & Ubilinux Installations

  3. Choose a programming language, learn from online resources and code

Key Phrases

Temporal section :)

Temboo

Create, make, code the Internet of everything. Another API arbiter is called Temboo. This platform acts as a layer on top of third-party APIs, using code snippets to trigger complex processes that run through their cloud platform. Code snippets are added to your device code, perhaps on an Arduino Yun, and present a common methodology of function calls across a broad range of APIs. Code snippets are same format between different APIs. Temboo also tries to shield developers from having to maintain APIs on each device. If you know how to use Temboo for one application, you know how to use it for all.

Project EON

Xively

Xively by LogMeIn offers an award-winning enterprise IoT platform and application solution for enterprises building connected products and services.

Xively Homepage

https://github.com/enableiot/iotkit-samples/blob/master/api/python/iotkit_client.py

http://www.helios.de/heliosapp/edison/index.html#Get_additional_800_MB_disk_space

https://github.com/IntelOpenDesign/MakerNode/wiki/glossary:-resources-for-Galileo-and-Edison https://www-ssl.intel.com/content/www/us/en/internet-of-things/solutions-directory.html?wapkw=iot http://business.iotsolutionsalliance.intel.com/

Python Programming Language

Prerequisites

Command Line Editor

Python Installation

Python is a programming language that lets you work quickly and integrate systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs.

Python Homepage

  • Python Installation

  • Python Mraa Hello Internet of Things

  • Python Mraa Version

  • Python Mraa General Purpose Input Output (GPIO) Direction Output

  • Python Mraa Inter-Integrated Circuit (I2C)

  • Python Mraa Analog Input Output (AIO)

  • Python Mraa Universal Asynchronous Receiver/Transmitter (UART)

Check Python is installed

root@platform:~# python --version

Python Mraa Hello Internet of Things

Create your first Python script, the common "Hello Internet of Things" example

root@platform:~# vi iot.py
#!/usr/bin/python

# Hello Internet of Things
print 'Hello Internet of Things @ Python'

# End of Python Script
root@platform:~# python iot.py

Python Mraa Version

Let's get the version of mraa library we installed

root@platform:~# vi iot.py
#!/usr/bin/python

# Libraries
import mraa

# Mraa Version
print (mraa.getVersion())
print (mraa.getPlatformName())
print (mraa.getPlatformType())

# End of Python Script
root@platform:~# python iot.py

Python Mraa General Purpose Input Output (GPIO) Direction Output

Let's work with General Purpose Input Output, Direction Output

root@platform:~# vi iot.py
#!/usr/bin/python

# Libraries
import mraa
import time

# Mraa GPIO Direction Output
if mraa.getPlatformType() == 1:
    gpioline = mraa.Gpio(13)
if mraa.getPlatformType() == 2:
    gpioline = mraa.Gpio(44)
gpioline.dir(mraa.DIR_OUT)
gpionextvalue = not gpioline.read()
gpioline.write(gpionextvalue)
time.sleep(1)
gpioline.write(not gpionextvalue)

# End of Python Script
root@platform:~# python iot.py

Python Mraa Inter-Integrated Circuit (I2C)

Let's work with Inter-Integrated Circuit protocol

root@platform:~# vi iot.py
#!/usr/bin/python

# Libraries
import mraa

# Mraa I2C
if mraa.getPlatformType() == 1:
    i2cline = mraa.I2c(0)
if mraa.getPlatformType() == 2:
    i2cline = mraa.I2c(1)
i2cline.address(0x6b)
print i2cline.readReg(0x6b, 0x80)

# End of Python Script
root@platform:~# python iot.py

Python Mraa Analog Input Output (AIO)

Let's work with Analog Input Output

root@platform:~# vi iot.py
#!/usr/bin/python

# Libraries
import mraa

# Mraa Aio
aioline = mraa.Aio(0)
aioline.setBit(10)
aioline.read()
print ("%.5f" % aioline.readFloat())
# End of Python Script
root@platform:~# python iot.py

Python Mraa Universal Asynchronous Receiver/Transmitter (UART)

Let's work with Universal Asynchronous Receiver/Transmitter

root@platform:~# vi iot.py
#!/usr/bin/python

# Libraries
import mraa

# Mraa UART
uartdevice = mraa.Uart(0)
print uartdevice.getDevicePath()

# End of Python Script
root@platform:~# python iot.py

For Intel Class

Arquitecture

Temperature Nodes

  • Will be assigned a Unique ID

  • Will sense temperature and send data through WiFi/Ethernet via MQTT

    • mqtt syntaxis: workshop/station/temperature

  • Will read temperature data through WiFi/Ethernet via MQTT and will emit a sound depending from the node it is coming and display Unique ID + Temperature data in the LCD / OLED

    • mqtt syntaxis: workshop/station/temperature

  • Will plot its temperature data to Plot.Ly and Intel® IoT Developer Kit Cloud-based Analytics

  • Can control any of 2 cars via MQTT

    • mqtt syntaxis: workshop/station/car/forward

    • mqtt syntaxis: workshop/station/car/backward

    • mqtt syntaxis: workshop/station/car/left

    • mqtt syntaxis: workshop/station/car/right

Car Nodes

  • There might be 2: there 2 cars available with WiFi or BlueTooth interface

  • Will drive the car controlled by any Temperature Node

  • Will emit a sound based on what Temperature Node is requesting access

Hardware

Boards

  • Intel® Edison

  • Intel® Galileo

Grove - Starter Kit Plus for Intel® Galileo

  • Grove - LCD RGB Backlight

  • Grove - Buzzer

  • Grove - Temperature Sensor

Xadow Wearable Kit for Intel® Edison

  • Xadow - OLED

  • Xadow - Buzzer

  • Xadow - Barometer BMP 180

Software

http://www.openmote.com/home.html http://www.datamation.com/mobile-wireless/slideshows/6-open-source-middleware-tools-for-the-internet-of-things.html https://localmotors.com/awest/connected-car-project-internet-of-things/activity/ https://github.com/octoblu/microblu_mqtt http://iot-toolkit.com/

Schenedir Electric

  • Power Efficiency

  • Asset Performance

  • Smart Operations

  • Mobile Inside, Risk Management

Here's a quiz about Gitbook

Gitbook is good

What does Gitbook support?

Gitbook supports table and list based quiz questions using either radio buttons or checkboxes.

Gitbook is not telepathic and does not give you the moon on a stick.

Machine Learning

  • Machine Learning Solution

Others

Plot.Ly

Plotly is an online analytics and data visualization tool, headquartered in Montreal, Quebec. Plotly provides online graphing, analytics, and stats tools for individuals and collaboration, as well as scientific graphing libraries for Python, R, MATLAB, Perl, Julia, Arduino, and REST.

Plot.Ly Getting Started

  1. Go to plot.ly and sign up

  2. From API Settings menu get

    • UserName

    • API Key

    • Streaming API Token

To initialize your credentials within terminal:

    root@board:~# pip install plotly
    root@board:~# python -c "import plotly; plotly.tools.set_credentials_file(username='yourusername', api_key='yourapikey', stream_ids=['yourstreamid'])"

This initialization is placed under ~/.plotly/.credentials, you can modify if required

    root@galileo:~# nano ~/.plotly/.credentials
    {
    "username": "yourusername",
    "stream_ids": [
        "yourstreamid",
        "yourotherstreamid"
    ],
    "api_key": "yourapikey",
    "proxy_username": "",
    "proxy_password": ""
    }

Lab: Plot.Ly

    root@board:~# vi mainplotly.py
#!/usr/bin/python

import time

import plotly.plotly as py
from plotly.graph_objs import Scatter, Layout, Figure

username = 'TheIoTLearningInitiative'
api_key = 'twr0hlw78c'
stream_token = '2v04m1lk1x'

def functionServicesPlotly():

    py.sign_in(username, api_key)

    trace1 = Scatter(
        x=[],
        y=[],
        stream=dict(
            token=stream_token,
            maxpoints=200
        )
    )

    layout = Layout(
        title='Internet of Things 101 Services Plot.Ly'
    )

    fig = Figure(data=[trace1], layout=layout)

    py.plot(fig, filename='Internet of Things 101 Services Plot.Ly', auto_open=$

    i = 0
    stream = py.Stream(stream_token)
    stream.open()

    while True:
        stream_data = i + 1
        stream.write({'x': i, 'y': stream_data})
        i += 1
        time.sleep(0.25)

if __name__ == '__main__':

    functionServicesPlotly()

# End of File
    root@board:~# python mainplotly.py
    ...
    ...

Go to plot.ly and look at the chart

ColumbiaX's DS103x! Enabling Technologies for Data Science and Analytics: The Internet of Things

In this course in the “Data Science and Analytics in Contenxt XSeries”, we discuss an important set of Enabling Technologies for Data Science and Analytics: the Internet of Things, Natural Language Processing and Speech Analysis.

The course starts with an introduction to the Internet of Things (IoT), followed by a description of IoT components at the physical, networking, and cyber levels. Wireless communications fundamentals are introduced, accompanied by critical wireless and higher layer standards which are designed for constrained environments.

We next address ways to interface physical devices to the cyber world, novel methodologies for harvesting energy for low power consumption devices, and design methods for ultra-low power circuits. Examples from robotics and machine learning are presented. We conclude the IoT segment with a presentation on the economics of IoT.

IoT systems are valuable for collection, processing and analysis of data presented to human and cyber users in appropriate forms. We discuss natural language processing methods and applications as examples of higher complexity tasks supported by cyber physical systems which utilize the ecosystem of IoT.

The course concludes by introducing concepts of speech production, perception, interpretation, and analysis, for use in spoken dialogue systems, speech to speech translation, and speech search.

Enabling Technologies for Data Science and Analytics: The Internet of Things

Week 1: Internet of Things Part I

  • Internet of Things: Introduction 1

  • Internet of Things: Introduction 2

  • Wireless Communications 1

  • Wireless Communications 2: Cellular Mobile Systems

  • Wireless Communications 3: Comparisons of Wireless Systems

  • Wireless Standard: WiFi and Bluetooth 1

  • Wireless Standard: WiFi and Bluetooth 2

  • Wireless Standard: BLE and Zigbee 1

  • Wireless Standard: BLE and Zigbee 2

  • Suggested Readings

Week 2: Internet of Things Part II

  • Networks for IoT 1

  • Networks for IoT 2

  • Securing IoT Networks 1

  • Securing IoT Networks 2

  • Networking: IoT - 6LoWPAN

  • Networking: IoT - CoAP 1

  • Networking: IoT - CoAP 2

  • Networking: IoT - MQTT 1

  • Networking: IoT - MQTT 2

  • Suggested Readings

Week 3: Internet of Things Part III

  • Embedded Systems 1

  • Embedded Systems 2

  • Interfacing with the Physical World

  • Energy Harvesting 1

  • Energy Harvesting 2

  • Ultra Low Power Computing in VLSI

  • Hardware for Machine Learning

  • Application: Cloud Robotics

  • IoT Economics 1

  • IoT Economics 2

  • IoT Economics 3

  • Suggested Readings

Week 4: Natural Language Processing

  • At the Intersection of Language and Data Science

  • NLP: News

  • NLP: Online Discussion Forums

  • NLP: News and Online Discussion Forums

  • NLP: Personal Narrative

  • NLP: Novels

  • NLP: Applications

  • Tagging Problems, and Long-linear Models

  • Syntax and Parsing

  • Machine Translation

  • Suggested Readings

  • Week 5: Audio, Video and Image Processing

  • Speech and Data Science: Introduction

  • Speech Production and Perception

  • Recording Speech for Analysis

  • Speech Features

  • Applications: Recognizing Emotional Speech

  • Applications: Detecting Deception from Speech and Text

  • Exploration of Images, Videos, and Multimedia in Large Data Applications

  • Review of Large-Scale Visual Search and Recognition Techniques

  • Applications

  • Open Research

  • Suggested Readings

Internet of Everything

“the Internet of Everything is the intelligent connection of people, process, data and things” Internet of Everything Explained

Revolution Background

Costs Past 10 Years

  • Cost of Sensors 2x Decreased

  • Cost of Bandwidth 40x Decreased

  • Cost of Processing 60x Decreased

  • Cost of Hardware

  • Hardware Size

  • Computational Capabilities

  • Wireless Internet Access

Typical Process Control Systems Basic Control Loop

  • Sense

  • Monitor

  • Analize

  • Execute

  • Actuate

Data

Architecture

Versions

  • IoT 1.0

    • Dashboards

    • Device Management

    • Simple Sensor Connectivity & Monitoring

  • IoT 2.0

    • Mobile

    • IoT Middleware

    • M2M Enablement

    • Streaming

    • Big Data Infrastructure

    • Predictive Models

    • Startup

  • IoT 3.0

    • Cloud

    • Physical Models

    • Industry Services

    • Service Platforms

    • Systems of Insight

    • Ecosystems & Alliances

Solution

  • Define a Problem

  • Identify/Design Solutions

  • Build Proof of Concept

  • Scaling up to Prototype

  • Add Features/Evaluate

  • Scaling to Production

An introduction to developing IoT Architecture

IoT Technologies

  • IoT Security

  • IoT Analytics

  • IoT Device (Thing) Management

  • Low-Power, Short-Range IoT Networks

  • Low-Power, Wide-Area Networks

  • IoT Processors

  • IoT Operating Systems

  • Event Stream Processing

  • IoT Platforms

  • IoT Standards and Ecosystems

Gartner Internet of Things

IoT Strategy

  • Platform

  • Personnel

Platform Capabilities

  • Messaging

  • Connectivity

Important Topics

Orchestration

multiple connected devices aware of each other working together.

"The Physical Web"

Intel Vision

Areas

  • Mobile Internet of Things

  • Home Internet of Things

  • Industrial Internet of Things

IoT Building Blocks

  • Things

  • Gateways

  • Network and Cloud

  • Services Creation and Solutions Layers

Internet of Things System

  • Cloud, Data Format

    • Big Data Processing, Services

      • Analytics

      • Data Mining

      • Modeling

      • Prediction

      • Application

      • Services

    • Data Visualization

    • Application Service

  • Sensor Database

  • Communications

  • Gateway

  • Storage / Control

  • Protocol

  • Sensors, Actuators

The Internet of Things Brings:

  • Scale in every Form

  • Tools and Technology

  • Development Community

IBM Vision

Tapping into IoT Value

  • Connect to and Control Devices

  • Collect and Manage IoT Data

  • Understand and Analize

  • Act and React

  • Build Applications to Harness the Potentials

Features

  • Organize and Analize

  • Acquire

  • Manage

  • Stream

  • Enrich

  • Gather

Last updated