SlideShare a Scribd company logo
Getting Started with Intel® IoT Devkit 
Dr. Matthias Hahn 
Moscow Hackathon 
November 22-23 2014
Agenda 
Intel®Edison 
Intel® IoTDeveloper Kit Overview 
HW components 
Arduino* andLinux native programming 
Intel® IoTCloud Analytics 
* Other names and brands may be claimed as the property of others.
Intel® IoT Developer Kit 
Overview
ImportantIngredients 
Development 
•IDEs 
Target Images 
•libmraa: IO abstraction 
•UPM: sensorrepo 
•iotkit-agent 
Cloud 
•Intel® IoTAnalytics 
Hardware 
•Intel® Galileo orIntel® Edison 
•Grove Sensor Kit
Arduino* 
Visual Programming 
Node.JS 
C / C++ 
Target 
Audience 
Maker 
Beginner 
Intermediate 
Advanced 
IDE 
Arduino* IDE 
Intel® XDK 
Eclipse* IDE 
Supporting you 
Win/ Mac/ Linux 
Wyliodrin* 
Win/ Mac/ Linux 
Win/ Mac / Linux 
Browser 
platform
Intel® Galileo 
Gen 1 & 2 
Board 
Intel® Edison 
Arduino Development Board 
Yocto* based Linux OS image 
API Bindings C/C++, Node JS, Python 
UPM (Sensor/Actuator library repository) 
LibMraa 
NodeJSsupport 
C/C++ 
Tool Chains 
Wyliodrin* 
agent 
Hard Ware 
Target SW 
Intel® XDK IoTEdition 
Eclipse* IDE 
Wyliodrin* (Visual Programming) 
IDE 
Arduino* IDE 
IoTDeveloping 
Sensors / Actuators 
* Other names and brands may be claimed as the property of others.
Boards
Intel® Galileo Development Board –Gen 2 
Board I/O: 
Mechanically compatible with Arduino* Uno* 
20 digital input/output pins including 6 pins as PWM outputs 
6 analog inputs 
2 UART (RX/TX) 
1 I2C 
1 ICSP 6-pin header (SPI) 
USB device connector (Host) 
Micro USB device connector (client) 
SD Card connector 
DC power jack (7V –15V DC input) 
* Other names and brands may be claimed as the property of others.
Intel® Edison -Mechanical Layout 
Top Side 
Bottom Side 
4 GBeMMC 
Intel® SoC/ 
1GB LPDDR3 
WiFi/ BT 
PMIC 
USBULPI 
70 pin 
connector 
antenna 
Extern Coax 
35.5 mm 
25mm
Intel® Edison 
Board 
•2 Intel® Atom™ cores @ 500 MHz 
•1 Intel® Quark™ MCU @ 100 MHz 
•35.5 ×25.0 ×3.9 mm 
•1 GB RAM (LPDDR3, 2ch @ 800 MT/s) 
•4 GB eMMC 
•WiFi(a/b/g/n) +BT 4.0 + antenna 
•40 GPIOs: UART, I2C, SPI, I2S, PWM, USB 2.0, SD card, clock out, GPIO 
Software 
•Default OS: Yocto* 1.6 Linux* 
•Rightnow3.10.17 kernel 
•OTA upgradable 
•libmraa: GPIO abstractionlayer 
•UPM repository: sensorlibraries 
* Other names and brands may be claimed as the property of others.
Caveats–Intel® Edison 
•Not latestlibmraa/ UPM? 
•Rootfs 
•Partition toosmall? 
•Partition empty? 
•Wireless 
•interfacesnot available? 
•xyznot supported? 
•LE not supported?
Expansion Boards 
Partner 
Expansion Boards 
Intel 
Expansion Boards 
Built to Order 
Expansion Boards
Extension Boards 
Intel® Edison 
•70 pinconnector 
•HiroseDF40 Series 
•Easy tobuildyourownboard 
Intel currentlyoffers2 boards 
•BreakoutBoard 
•Arduino* expansionboard 
* Other names and brands may be claimed as the property of others.
Intel® Edison –Arduino* Expansion Board 
•Arduino* Uno compatibility (except 4 rather 6 PWM) 
•20 digital GPIO (incl4 PWM) 
•6 analog inputs 
•1 UART (RX/TX) 
•1 I2C 
•1 ICSP 6-pin header (SPI) 
•switchable: Micro USB device | USB host 
•Micro USB device (UART) 
•Mini SD Card connector 
•DC power jack (7V –15V DC input) 
* Other names and brands may be claimed as the property of others.
Intel® Edison BreakoutBoard 
•I/O: array of through-hole solder points 
•USB OTG with USB Micro (AB) 
•Battery charger 
•USB micro (B) [UART] 
•DC power supply jack (7 to 15 VDC)
Partner Expansion BoardsExpl: Sparkfun* Boards 
* Other names and brands may be claimed as the property of others.
Grove* Starter Kit 
Intel® IoT version
Grove* Starter Kit Plus -Intel® IoTVersion 
1 
Base Shield v2 
2 
Grove -Buzzer V1.1 
3 
Grove –Button 
4 
Grove-LED v1.3 
5 
Grove -Sound Sensor_V1.2 
6 
Grove -Rotary Angle Sensor 
7 
Grove-Touch Sensor 
8 
Grove -Smart Relay 
9 
Grove-Light Sensor 
10 
Grove -Temperature Sensor_V1.1 
11 
26AWG Grove Cable 
12 
Mini Servo 
13 
9V to Barrel Jack Adapter -126mm 
14 
DIP LED Blue-Blue 
15 
DIP LED Green-Green 
16 
DIP LED Red-Red 
11 
Grove -LCD RGB Backlight 
USB, serial and Ethernet cables
Setting up the developer environment
Now connect your environment 
Intel® Galileo / Intel® Edison 
ForWindows*: firstinstalldriverfromUSB stick 
Ref.: https://communities.intel.com/docs/DOC-23147 
Serial 115200 
Serial 9600
Connect board via serial –discover port (Windows*) 
Ref.: https://software.intel.com/en-us/iot-c-eclipse
Connect via serial e.g. using PuTTy*, goSerial* or minicom* resp 
User: root, no password 
* Other names and brands may be claimed as the property of others.
Connecting Intel(R) Galileo 
Wifi 
connmanctl, rfkill, wpa_cli, hostapd_cli 
Bluetooth 
connmanctl, rfkill, bluetoothctl, hciconfig, hcidump, btmon 
serial
Connecting Intel(R) Edison 
On Windows* -first install driver from USB stick 
“configure_edison --setup” 
•One central way to set hostname, password and configure wifi 
Wifi 
connmanctl, rfkill, wpa_cli, hostapd_cli 
Bluetooth 
connmanctl, rfkill, bluetoothctl, hciconfig, hcidump, btmon 
Eth over USB 
serial 
* Other names and brands may be claimed as the property of others.
Find your Galileo/Edison IP address and write it down: command `ip a` 
Ping between board and your laptop to check connectivity 
Ref.: https://software.intel.com/en-us/iot-c-eclipse
Programming
Arduino* IDE forIntel® Edison 
* Other names and brands may be claimed as the property of others.
Arduino* IDE 
Sketch  /sketch/sketch.elf 
•Cross compiler 
•clloaderlisteningon /dev/ttyGS0 
•Upload via serial 
•Renamingexistingsketch.elf 
* Other names and brands may be claimed as the property of others.
IoT Getting Started with Intel® IoT Devkit
Go to IDZ IoT page, find your sensor
Under References, follow Grove Wiki
Recap –navigating IDZ IoT -https://software.intel.com/iot
libmraa & UPM
libmraa -https://github.com/intel-iot-devkit/mraa 
IO abstraction layer (C, C++, Python, Node.JS) 
Used by 
•UPM 
•Intel(R) XDK for IoT 
•Wyliodrin* 
API documentation http://iotdk.intel.com/docs/master/ mraa/ 
* Other names and brands may be claimed as the property of others.
Libmraa-C APIExpl: switch on GPIO #8 
mraa_gpio_contextgpio; // Pointer to GPIO context 
gpio= mraa_gpio_init(8); // Create GPIO context for pin 8 
mraa_gpio_dir(gpio, MRAA_GPIO_OUT); // GPIO direction: out 
mraa_gpio_write(gpio, 1); // Write to GPIO 
mraa_gpio_close(gpio); // Close GPIO
Libmraa-C++ Expl: read analogue value on A0 
mraa::Aio* a0; 
a0 = new mraa::Aio(0); // Create AIO object for pin 0 
std::cout<< a0->read() << std::endl;
Libmraa–Object API (Python) Expl: interrupt triggered on IO #6 
from mraaimport * # Import mraalibrary 
# define a callback function 
defmy_isr(): 
print("Button pressed") 
x = Gpio(6) # Create a GPIO object for pin 6 
x.dir(DIR_IN) # Set GPIO direction to input 
x.isr(EDGE_BOTH, my_isr) # Set callback on BOTH
Libmraa–Object API (Node.js) Expl: did we have this? –switch on IO #8 
varm = require("mraa") # Import mraamodule 
varx = new m.Gpio(8) # Create a GPIO object for pin 8 
x.dir(m.DIR_OUT) # Set GPIO direction to output 
x.write(1) # Write to GPIO
IoT Getting Started with Intel® IoT Devkit
UPM repository -https://github.com/intel-iot-devkit/upm 
List of supported sensors in C++ 
API documentation -http://iotdk.intel.com/docs/master/upm/ 
Examples directory 
C++ example: 
// Copyright (c) 2014 Intel Corporation. MIT license 
upm::GroveTemp* s = new upm::GroveTemp(0); 
std::cout<< s->name() << std::endl; 
for (inti=0; i < 10; i++) { 
std::cout<< s->value() << std::endl; 
sleep(1); 
}
UPM API documentation –which library to use?
Updatinglibmraa/ UPM 
cat> /etc/opkg/mraa-upm.conf<<EOF 
srcmraa-upmhttp://iotdk.intel.com/repos/1.1/intelgalactic 
EOF 
opkgupdate 
opkgupgrade 
* Other names and brands may be claimed as the property of others.
Eclipse* IDE 
* Other names and brands may be claimed as the property of others.
IoT Getting Started with Intel® IoT Devkit
IoT Getting Started with Intel® IoT Devkit
Eclipse(C/C++)–setting up 
Copy to your computer 
Extract the file you copied previously (iotdk-ide-${yourOS}.7z) with 7z 
Treats long paths better, needed for this file. 
If you need to download: http://www.7-zip.org/ 
Note: Better to extract the file to C:on Windows 
Execute devkit-launcher.bat 
Ref.: https://software.intel.com/en-us/iot-c-eclipse
Ref.: https://software.intel.com/en-us/iot-c-eclipse
Click on Remote System Explorer 
Ref.: https://software.intel.com/en-us/iot-c-eclipse
Fill the IP address on (3) 
Ref.: https://software.intel.com/en-us/iot-c-eclipse
Intel(r) XDK for IoT
Login/create your account
Start with a Sample (under IoT Projects) –click on “Use this Template”
Should look like this
Select Galileo/Edison board 
Youmighthavetorestartxdk- daemon(systemctlrestartxdk- daemon)
Toggle the console
sync host / target time if needed
Install / build
Upload to target
run on target
Wyliodrin* 
* Other names and brands may be claimed as the property of others.
Ex: programmingvia cloudwithwww.wyliodrin.com
IoT Getting Started with Intel® IoT Devkit
IoT Getting Started with Intel® IoT Devkit
Please name your board and select Intel Galileo and press Next
Cable (Ethernet) 
WiFi
Your SD Card is already with the Galileo Image, so all you need to do is to download (1) wyliodrin.json 
and (2) write it on the root of the SD Card. Make sure the name is exactly wyliodrin.json 
1 
2
Install the updates and the extra libraries. This make take some time to run
IoT Getting Started with Intel® IoT Devkit
Intel® IoT Analytics 
www.enableiot.com
Intel® IoTAnalytics -www.enableiot.com 
RESTfulAPI 
iotkit-agent (UDP / TCP) 
#! /usr/bin/envpythonimport socketimport sys 
UDP_PORT = 41234 sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 
sock.sendto('{"n":"' + component + ‘","v":"' + value + '"}', ('localhost', UDP_PORT))
Login to IoTAnalytics 
Login in to Intel® IoTAnalytics Cloud 
https://dashboard.us.enableiot.com 
Variousloginoptions
Next steps?
IoT Getting Started with Intel® IoT Devkit
IoT Getting Started with Intel® IoT Devkit

More Related Content

What's hot (20)

PDF
Boards for the IoT-Prototyping
Lars Gregori
 
PDF
Road to Republic of IoT - ESP32 Programming and LoRa
Andri Yadi
 
PDF
DeviceHub - First steps using Intel Edison
Gabriel Arnautu
 
PDF
MediaTek Linkit Smart 7688 Webinar
MediaTek Labs
 
PDF
Ultra HD Video Scaling: Low-Power HW FF vs. CNN-based Super-Resolution
Intel® Software
 
PDF
Internet Of Things: Hands on: YOW! night
Andy Gelme
 
PPTX
Get To Know Galileo
docprofsky
 
PDF
Esp8266 basics
Eueung Mulyana
 
PPTX
Arduino i rremote 1112
馬 萬圳
 
PDF
Perceptual Computing Workshop in Munich
BeMyApp
 
PDF
Perceptual Computing Workshop à Paris
BeMyApp
 
PDF
R U aBLE? BLE Application Hacking
Tal Melamed
 
PPTX
Arduino1.0 RC
馬 萬圳
 
PDF
Brillo/Weave Part 2: Deep Dive
Jalal Rohani
 
PDF
Intel Graphics Performance Analyzers (Intel GPA)
Intel® Software
 
PDF
HITBSecConf 2016-Create Your Own Bad Usb
Seunghun han
 
PDF
Republic of IoT - Hackathon Hardware Kits Hands-on Labs
Alwin Arrasyid
 
PDF
Home Automation by ESP8266
Gleb Vinnikov
 
PPTX
IOT Talking to Webserver - how to
Indraneel Ganguli
 
PPTX
Open Source Home Automation with LinkSprite.IO
Jingfeng Liu
 
Boards for the IoT-Prototyping
Lars Gregori
 
Road to Republic of IoT - ESP32 Programming and LoRa
Andri Yadi
 
DeviceHub - First steps using Intel Edison
Gabriel Arnautu
 
MediaTek Linkit Smart 7688 Webinar
MediaTek Labs
 
Ultra HD Video Scaling: Low-Power HW FF vs. CNN-based Super-Resolution
Intel® Software
 
Internet Of Things: Hands on: YOW! night
Andy Gelme
 
Get To Know Galileo
docprofsky
 
Esp8266 basics
Eueung Mulyana
 
Arduino i rremote 1112
馬 萬圳
 
Perceptual Computing Workshop in Munich
BeMyApp
 
Perceptual Computing Workshop à Paris
BeMyApp
 
R U aBLE? BLE Application Hacking
Tal Melamed
 
Arduino1.0 RC
馬 萬圳
 
Brillo/Weave Part 2: Deep Dive
Jalal Rohani
 
Intel Graphics Performance Analyzers (Intel GPA)
Intel® Software
 
HITBSecConf 2016-Create Your Own Bad Usb
Seunghun han
 
Republic of IoT - Hackathon Hardware Kits Hands-on Labs
Alwin Arrasyid
 
Home Automation by ESP8266
Gleb Vinnikov
 
IOT Talking to Webserver - how to
Indraneel Ganguli
 
Open Source Home Automation with LinkSprite.IO
Jingfeng Liu
 

Viewers also liked (20)

PDF
Wearables Corporate View by Intel 2014
Vasily Ryzhonkov
 
PDF
Augmented Reality - Bread or Circus View by Eligo Vision company June 2014
Vasily Ryzhonkov
 
PDF
Центр мобильных технологий Сколково - программа для проектов
Vasily Ryzhonkov
 
PDF
Internet trends 2014_by Mary Meeker
Vasily Ryzhonkov
 
PDF
Центр мобильных технологий Сколково - Акселерационная программа - Весенний на...
Vasily Ryzhonkov
 
PDF
Wearables and Augmented Reality business trends 2014
Vasily Ryzhonkov
 
PDF
Edison pb 331179-001 (2)
Incubate Hub
 
PPTX
Template for-first-investor-pitch
Incubate Hub
 
PDF
Lean Startup Accelerator for Enterprises to Create New Businesses
Lean Startup Co.
 
PDF
Futures Studies Timeline
Vasily Ryzhonkov
 
PDF
Body sensor networks: challenges & applications
Vasily Ryzhonkov
 
PDF
Introduction to intel galileo board gen2
Harshit Srivastava
 
PPT
Galileo - Introduction
Hillary Jenkins
 
PDF
Virtual Business Incubator: how it works
Vasily Ryzhonkov
 
PPTX
Robotics workshop PPT
avikdhupar
 
PDF
Cтек технологий и проблем AR VR
Vasily Ryzhonkov
 
PDF
Аналитический отчет о рынке AR & VR в России 2015
Vasily Ryzhonkov
 
PPTX
Intel galileo gen 2
srknec
 
PDF
What may happen in the next hundred years by John Watkins 1900
Vasily Ryzhonkov
 
PDF
Sitran Megatrendit 2016
Sitra the Finnish Innovation Fund
 
Wearables Corporate View by Intel 2014
Vasily Ryzhonkov
 
Augmented Reality - Bread or Circus View by Eligo Vision company June 2014
Vasily Ryzhonkov
 
Центр мобильных технологий Сколково - программа для проектов
Vasily Ryzhonkov
 
Internet trends 2014_by Mary Meeker
Vasily Ryzhonkov
 
Центр мобильных технологий Сколково - Акселерационная программа - Весенний на...
Vasily Ryzhonkov
 
Wearables and Augmented Reality business trends 2014
Vasily Ryzhonkov
 
Edison pb 331179-001 (2)
Incubate Hub
 
Template for-first-investor-pitch
Incubate Hub
 
Lean Startup Accelerator for Enterprises to Create New Businesses
Lean Startup Co.
 
Futures Studies Timeline
Vasily Ryzhonkov
 
Body sensor networks: challenges & applications
Vasily Ryzhonkov
 
Introduction to intel galileo board gen2
Harshit Srivastava
 
Galileo - Introduction
Hillary Jenkins
 
Virtual Business Incubator: how it works
Vasily Ryzhonkov
 
Robotics workshop PPT
avikdhupar
 
Cтек технологий и проблем AR VR
Vasily Ryzhonkov
 
Аналитический отчет о рынке AR & VR в России 2015
Vasily Ryzhonkov
 
Intel galileo gen 2
srknec
 
What may happen in the next hundred years by John Watkins 1900
Vasily Ryzhonkov
 
Sitran Megatrendit 2016
Sitra the Finnish Innovation Fund
 
Ad

Similar to IoT Getting Started with Intel® IoT Devkit (20)

PPTX
Начало работы с Intel IoT Dev Kit
Intel® Developer Zone Россия
 
PDF
Intel Lightning Talk
Ed Donahue
 
PDF
Pre meetup intel® roadshow london
Hugo Espinosa
 
PDF
The MRAA and UPM Middleware Libraries
Intel® Software
 
PDF
Introduction ciot workshop premeetup
BeMyApp
 
PDF
How to Hack Edison
Shotaro Uchida
 
PPTX
Internet of Things (IoT) reference architecture using Azure -MIC - Lahore
Information Technology University
 
PPTX
Microsoft's view of the Internet of Things (IoT) by Imran Shafqat
Allied Consultants
 
PPTX
Everything you wanted to know about Internet of Things & Galileo
BeMyApp
 
PDF
Intel galileo
Sofian Hadiwijaya
 
PDF
Android Things Linux Day 2017
Stefano Sanna
 
PPTX
Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...
Eclipse IoT
 
PDF
Hack the Real World with ANDROID THINGS
DevFest DC
 
PPTX
Intel galileo and x86 embedded computers
Evan Williams
 
PDF
Machine Learning and Analytics in the Cloud on IoT Data
Intel® Software
 
PDF
Report Image recognition for a line follower using intel Galileo board
Aimen Hajri
 
PDF
IoT Workshop in Macao
Shigeru Kobayashi
 
PDF
IoT Workshop in Macao
Shigeru Kobayashi
 
PPTX
Berlin roadshow eclipse session final
MaxRTraeger
 
PDF
The MRAA and UPM Eclipse IoT Projects | Eclipse IoT Day Santa Clara 2019
Eclipse IoT
 
Начало работы с Intel IoT Dev Kit
Intel® Developer Zone Россия
 
Intel Lightning Talk
Ed Donahue
 
Pre meetup intel® roadshow london
Hugo Espinosa
 
The MRAA and UPM Middleware Libraries
Intel® Software
 
Introduction ciot workshop premeetup
BeMyApp
 
How to Hack Edison
Shotaro Uchida
 
Internet of Things (IoT) reference architecture using Azure -MIC - Lahore
Information Technology University
 
Microsoft's view of the Internet of Things (IoT) by Imran Shafqat
Allied Consultants
 
Everything you wanted to know about Internet of Things & Galileo
BeMyApp
 
Intel galileo
Sofian Hadiwijaya
 
Android Things Linux Day 2017
Stefano Sanna
 
Developing IoT Applications Using Intel® System Studio | Eclipse IoT Day Sant...
Eclipse IoT
 
Hack the Real World with ANDROID THINGS
DevFest DC
 
Intel galileo and x86 embedded computers
Evan Williams
 
Machine Learning and Analytics in the Cloud on IoT Data
Intel® Software
 
Report Image recognition for a line follower using intel Galileo board
Aimen Hajri
 
IoT Workshop in Macao
Shigeru Kobayashi
 
IoT Workshop in Macao
Shigeru Kobayashi
 
Berlin roadshow eclipse session final
MaxRTraeger
 
The MRAA and UPM Eclipse IoT Projects | Eclipse IoT Day Santa Clara 2019
Eclipse IoT
 
Ad

More from Vasily Ryzhonkov (19)

PDF
Goldman Sachs VR & AR report 2015
Vasily Ryzhonkov
 
PDF
ARena Space VR _ VR Parks_ Investment Presentation_June 2017_(eng)
Vasily Ryzhonkov
 
PPTX
ARena Space VR (VR Parks Investment Presentation)_June 2017
Vasily Ryzhonkov
 
PDF
The rise of VR & AR era. Why this time is different?
Vasily Ryzhonkov
 
PDF
Программа акселерации Hardware 2.0 _ Центр мобильных технологий и HaxAsia
Vasily Ryzhonkov
 
PDF
GSMA Global Mobile Economy Report 2015
Vasily Ryzhonkov
 
PDF
IoT transforming industries by Ericsson
Vasily Ryzhonkov
 
PDF
Центр мобильных технологий: акселератор, коворкинг и хакспейс для проектов ра...
Vasily Ryzhonkov
 
PPTX
IoT Challenges & Promissing Trends Sk 2015
Vasily Ryzhonkov
 
PPTX
Интернет Вещей тренды проблемы инвестиции Sk 2014
Vasily Ryzhonkov
 
PDF
Who controls the World?
Vasily Ryzhonkov
 
PDF
Steven Feiner Startup Village WC & AR Technological trends June 2014
Vasily Ryzhonkov
 
PDF
Cisco Internet of Things and WC june 2014
Vasily Ryzhonkov
 
PDF
High tech startups in wearable computing & augmented reality
Vasily Ryzhonkov
 
PDF
Wearable Technology Sep 2013
Vasily Ryzhonkov
 
PDF
IDC Digital Universe 2014
Vasily Ryzhonkov
 
PDF
Future of Wearable Tech 2014 (PSFK, IQ Intel)
Vasily Ryzhonkov
 
PPTX
Virtual Business Incubator Framework for Enriching Innovation Ecosystem 2013
Vasily Ryzhonkov
 
PDF
Russian Internet Dealbook 2012 2013 Fastlane Ventures
Vasily Ryzhonkov
 
Goldman Sachs VR & AR report 2015
Vasily Ryzhonkov
 
ARena Space VR _ VR Parks_ Investment Presentation_June 2017_(eng)
Vasily Ryzhonkov
 
ARena Space VR (VR Parks Investment Presentation)_June 2017
Vasily Ryzhonkov
 
The rise of VR & AR era. Why this time is different?
Vasily Ryzhonkov
 
Программа акселерации Hardware 2.0 _ Центр мобильных технологий и HaxAsia
Vasily Ryzhonkov
 
GSMA Global Mobile Economy Report 2015
Vasily Ryzhonkov
 
IoT transforming industries by Ericsson
Vasily Ryzhonkov
 
Центр мобильных технологий: акселератор, коворкинг и хакспейс для проектов ра...
Vasily Ryzhonkov
 
IoT Challenges & Promissing Trends Sk 2015
Vasily Ryzhonkov
 
Интернет Вещей тренды проблемы инвестиции Sk 2014
Vasily Ryzhonkov
 
Who controls the World?
Vasily Ryzhonkov
 
Steven Feiner Startup Village WC & AR Technological trends June 2014
Vasily Ryzhonkov
 
Cisco Internet of Things and WC june 2014
Vasily Ryzhonkov
 
High tech startups in wearable computing & augmented reality
Vasily Ryzhonkov
 
Wearable Technology Sep 2013
Vasily Ryzhonkov
 
IDC Digital Universe 2014
Vasily Ryzhonkov
 
Future of Wearable Tech 2014 (PSFK, IQ Intel)
Vasily Ryzhonkov
 
Virtual Business Incubator Framework for Enriching Innovation Ecosystem 2013
Vasily Ryzhonkov
 
Russian Internet Dealbook 2012 2013 Fastlane Ventures
Vasily Ryzhonkov
 

Recently uploaded (20)

PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
July Patch Tuesday
Ivanti
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
July Patch Tuesday
Ivanti
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 

IoT Getting Started with Intel® IoT Devkit

  • 1. Getting Started with Intel® IoT Devkit Dr. Matthias Hahn Moscow Hackathon November 22-23 2014
  • 2. Agenda Intel®Edison Intel® IoTDeveloper Kit Overview HW components Arduino* andLinux native programming Intel® IoTCloud Analytics * Other names and brands may be claimed as the property of others.
  • 3. Intel® IoT Developer Kit Overview
  • 4. ImportantIngredients Development •IDEs Target Images •libmraa: IO abstraction •UPM: sensorrepo •iotkit-agent Cloud •Intel® IoTAnalytics Hardware •Intel® Galileo orIntel® Edison •Grove Sensor Kit
  • 5. Arduino* Visual Programming Node.JS C / C++ Target Audience Maker Beginner Intermediate Advanced IDE Arduino* IDE Intel® XDK Eclipse* IDE Supporting you Win/ Mac/ Linux Wyliodrin* Win/ Mac/ Linux Win/ Mac / Linux Browser platform
  • 6. Intel® Galileo Gen 1 & 2 Board Intel® Edison Arduino Development Board Yocto* based Linux OS image API Bindings C/C++, Node JS, Python UPM (Sensor/Actuator library repository) LibMraa NodeJSsupport C/C++ Tool Chains Wyliodrin* agent Hard Ware Target SW Intel® XDK IoTEdition Eclipse* IDE Wyliodrin* (Visual Programming) IDE Arduino* IDE IoTDeveloping Sensors / Actuators * Other names and brands may be claimed as the property of others.
  • 8. Intel® Galileo Development Board –Gen 2 Board I/O: Mechanically compatible with Arduino* Uno* 20 digital input/output pins including 6 pins as PWM outputs 6 analog inputs 2 UART (RX/TX) 1 I2C 1 ICSP 6-pin header (SPI) USB device connector (Host) Micro USB device connector (client) SD Card connector DC power jack (7V –15V DC input) * Other names and brands may be claimed as the property of others.
  • 9. Intel® Edison -Mechanical Layout Top Side Bottom Side 4 GBeMMC Intel® SoC/ 1GB LPDDR3 WiFi/ BT PMIC USBULPI 70 pin connector antenna Extern Coax 35.5 mm 25mm
  • 10. Intel® Edison Board •2 Intel® Atom™ cores @ 500 MHz •1 Intel® Quark™ MCU @ 100 MHz •35.5 ×25.0 ×3.9 mm •1 GB RAM (LPDDR3, 2ch @ 800 MT/s) •4 GB eMMC •WiFi(a/b/g/n) +BT 4.0 + antenna •40 GPIOs: UART, I2C, SPI, I2S, PWM, USB 2.0, SD card, clock out, GPIO Software •Default OS: Yocto* 1.6 Linux* •Rightnow3.10.17 kernel •OTA upgradable •libmraa: GPIO abstractionlayer •UPM repository: sensorlibraries * Other names and brands may be claimed as the property of others.
  • 11. Caveats–Intel® Edison •Not latestlibmraa/ UPM? •Rootfs •Partition toosmall? •Partition empty? •Wireless •interfacesnot available? •xyznot supported? •LE not supported?
  • 12. Expansion Boards Partner Expansion Boards Intel Expansion Boards Built to Order Expansion Boards
  • 13. Extension Boards Intel® Edison •70 pinconnector •HiroseDF40 Series •Easy tobuildyourownboard Intel currentlyoffers2 boards •BreakoutBoard •Arduino* expansionboard * Other names and brands may be claimed as the property of others.
  • 14. Intel® Edison –Arduino* Expansion Board •Arduino* Uno compatibility (except 4 rather 6 PWM) •20 digital GPIO (incl4 PWM) •6 analog inputs •1 UART (RX/TX) •1 I2C •1 ICSP 6-pin header (SPI) •switchable: Micro USB device | USB host •Micro USB device (UART) •Mini SD Card connector •DC power jack (7V –15V DC input) * Other names and brands may be claimed as the property of others.
  • 15. Intel® Edison BreakoutBoard •I/O: array of through-hole solder points •USB OTG with USB Micro (AB) •Battery charger •USB micro (B) [UART] •DC power supply jack (7 to 15 VDC)
  • 16. Partner Expansion BoardsExpl: Sparkfun* Boards * Other names and brands may be claimed as the property of others.
  • 17. Grove* Starter Kit Intel® IoT version
  • 18. Grove* Starter Kit Plus -Intel® IoTVersion 1 Base Shield v2 2 Grove -Buzzer V1.1 3 Grove –Button 4 Grove-LED v1.3 5 Grove -Sound Sensor_V1.2 6 Grove -Rotary Angle Sensor 7 Grove-Touch Sensor 8 Grove -Smart Relay 9 Grove-Light Sensor 10 Grove -Temperature Sensor_V1.1 11 26AWG Grove Cable 12 Mini Servo 13 9V to Barrel Jack Adapter -126mm 14 DIP LED Blue-Blue 15 DIP LED Green-Green 16 DIP LED Red-Red 11 Grove -LCD RGB Backlight USB, serial and Ethernet cables
  • 19. Setting up the developer environment
  • 20. Now connect your environment Intel® Galileo / Intel® Edison ForWindows*: firstinstalldriverfromUSB stick Ref.: https://communities.intel.com/docs/DOC-23147 Serial 115200 Serial 9600
  • 21. Connect board via serial –discover port (Windows*) Ref.: https://software.intel.com/en-us/iot-c-eclipse
  • 22. Connect via serial e.g. using PuTTy*, goSerial* or minicom* resp User: root, no password * Other names and brands may be claimed as the property of others.
  • 23. Connecting Intel(R) Galileo Wifi connmanctl, rfkill, wpa_cli, hostapd_cli Bluetooth connmanctl, rfkill, bluetoothctl, hciconfig, hcidump, btmon serial
  • 24. Connecting Intel(R) Edison On Windows* -first install driver from USB stick “configure_edison --setup” •One central way to set hostname, password and configure wifi Wifi connmanctl, rfkill, wpa_cli, hostapd_cli Bluetooth connmanctl, rfkill, bluetoothctl, hciconfig, hcidump, btmon Eth over USB serial * Other names and brands may be claimed as the property of others.
  • 25. Find your Galileo/Edison IP address and write it down: command `ip a` Ping between board and your laptop to check connectivity Ref.: https://software.intel.com/en-us/iot-c-eclipse
  • 27. Arduino* IDE forIntel® Edison * Other names and brands may be claimed as the property of others.
  • 28. Arduino* IDE Sketch  /sketch/sketch.elf •Cross compiler •clloaderlisteningon /dev/ttyGS0 •Upload via serial •Renamingexistingsketch.elf * Other names and brands may be claimed as the property of others.
  • 30. Go to IDZ IoT page, find your sensor
  • 32. Recap –navigating IDZ IoT -https://software.intel.com/iot
  • 34. libmraa -https://github.com/intel-iot-devkit/mraa IO abstraction layer (C, C++, Python, Node.JS) Used by •UPM •Intel(R) XDK for IoT •Wyliodrin* API documentation http://iotdk.intel.com/docs/master/ mraa/ * Other names and brands may be claimed as the property of others.
  • 35. Libmraa-C APIExpl: switch on GPIO #8 mraa_gpio_contextgpio; // Pointer to GPIO context gpio= mraa_gpio_init(8); // Create GPIO context for pin 8 mraa_gpio_dir(gpio, MRAA_GPIO_OUT); // GPIO direction: out mraa_gpio_write(gpio, 1); // Write to GPIO mraa_gpio_close(gpio); // Close GPIO
  • 36. Libmraa-C++ Expl: read analogue value on A0 mraa::Aio* a0; a0 = new mraa::Aio(0); // Create AIO object for pin 0 std::cout<< a0->read() << std::endl;
  • 37. Libmraa–Object API (Python) Expl: interrupt triggered on IO #6 from mraaimport * # Import mraalibrary # define a callback function defmy_isr(): print("Button pressed") x = Gpio(6) # Create a GPIO object for pin 6 x.dir(DIR_IN) # Set GPIO direction to input x.isr(EDGE_BOTH, my_isr) # Set callback on BOTH
  • 38. Libmraa–Object API (Node.js) Expl: did we have this? –switch on IO #8 varm = require("mraa") # Import mraamodule varx = new m.Gpio(8) # Create a GPIO object for pin 8 x.dir(m.DIR_OUT) # Set GPIO direction to output x.write(1) # Write to GPIO
  • 40. UPM repository -https://github.com/intel-iot-devkit/upm List of supported sensors in C++ API documentation -http://iotdk.intel.com/docs/master/upm/ Examples directory C++ example: // Copyright (c) 2014 Intel Corporation. MIT license upm::GroveTemp* s = new upm::GroveTemp(0); std::cout<< s->name() << std::endl; for (inti=0; i < 10; i++) { std::cout<< s->value() << std::endl; sleep(1); }
  • 41. UPM API documentation –which library to use?
  • 42. Updatinglibmraa/ UPM cat> /etc/opkg/mraa-upm.conf<<EOF srcmraa-upmhttp://iotdk.intel.com/repos/1.1/intelgalactic EOF opkgupdate opkgupgrade * Other names and brands may be claimed as the property of others.
  • 43. Eclipse* IDE * Other names and brands may be claimed as the property of others.
  • 46. Eclipse(C/C++)–setting up Copy to your computer Extract the file you copied previously (iotdk-ide-${yourOS}.7z) with 7z Treats long paths better, needed for this file. If you need to download: http://www.7-zip.org/ Note: Better to extract the file to C:on Windows Execute devkit-launcher.bat Ref.: https://software.intel.com/en-us/iot-c-eclipse
  • 48. Click on Remote System Explorer Ref.: https://software.intel.com/en-us/iot-c-eclipse
  • 49. Fill the IP address on (3) Ref.: https://software.intel.com/en-us/iot-c-eclipse
  • 52. Start with a Sample (under IoT Projects) –click on “Use this Template”
  • 54. Select Galileo/Edison board Youmighthavetorestartxdk- daemon(systemctlrestartxdk- daemon)
  • 56. sync host / target time if needed
  • 60. Wyliodrin* * Other names and brands may be claimed as the property of others.
  • 64. Please name your board and select Intel Galileo and press Next
  • 66. Your SD Card is already with the Galileo Image, so all you need to do is to download (1) wyliodrin.json and (2) write it on the root of the SD Card. Make sure the name is exactly wyliodrin.json 1 2
  • 67. Install the updates and the extra libraries. This make take some time to run
  • 69. Intel® IoT Analytics www.enableiot.com
  • 70. Intel® IoTAnalytics -www.enableiot.com RESTfulAPI iotkit-agent (UDP / TCP) #! /usr/bin/envpythonimport socketimport sys UDP_PORT = 41234 sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) sock.sendto('{"n":"' + component + ‘","v":"' + value + '"}', ('localhost', UDP_PORT))
  • 71. Login to IoTAnalytics Login in to Intel® IoTAnalytics Cloud https://dashboard.us.enableiot.com Variousloginoptions