24
1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S. What Will You Make? Intel® Edison - Create wearables and other products for the Internet of Things Intel’s vision : This decade we will create and extend computing technology to connect and enrich the life of every person on earth

1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

Embed Size (px)

Citation preview

Page 1: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

1 WHAT WILL YOU MAKE?

Intel Facts

• Global headquarters: Santa Clara, California

• 100,000+ employees worldwide

• 55 percent of employees reside in the U.S.

What Will You Make?

Intel® Edison - Create wearables and other products for the Internet of Things

Intel’s vision: This decade we will create and extend computing technology to connect and enrich the life of every person on earth

Page 2: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

2 WHAT WILL YOU MAKE?

Intel® Edison Block Diagram

Intel Confidential

Page 3: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

3 WHAT WILL YOU MAKE?

An open-source hardware and software platform for building electronics projects

• A physical programmable circuit board (often referred to as a microcontroller)

• A piece of software, or IDE (Integrated Development Environment) that runs on your computer, used to write and upload computer code to the physical board (supports Mac/Windows/Linux)

What is Arduino?

Page 4: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

4 WHAT WILL YOU MAKE?

Intel® Edison Board for Arduino

Board I/O: Compatible with Arduino* Uno (except only 4 PWM instead of 6 PWM)▪ 20 digital input/output pins including 4 pins as PWM

outputs▪ 6 analog inputs▪ 1 UART (RX/TX)▪ 1 I2C▪ 1 ICSP 6-pin header (SPI)▪ Micro USB device connector OR (via mechanical

switch) dedicated standard size USB host Type-A connector

▪ Micro USB device (connected to UART)▪ SD Card connector▪ DC power jack (7V – 15V DC input)

Intel Confidential

Other names and brands may be claimed by the property of others by all third party name and the notation.

Arduino Sketch, Linux, WiFi & BT

Page 5: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

5 WHAT WILL YOU MAKE?

Intel® Edison Arduino Expansion Board Block Diagram

Page 6: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

6 WHAT WILL YOU MAKE?

There are hundreds of shields available from dozens of suppliers

Arduino ShieldsGSM/Wifi/Bluetooth

Ethernet/GPS

Battery/SolarRS232/RS485

RFID/Xbee/NFCSD/EEPROM

Midi/WAV/MP3Camera/Video/Home

Sensors/LCDsRobotics/Fun/Actuators

shieldlist.orgadafruit.com

cooking-hacks.comsparkfun.com

store.arduino.cccutidigi.com

etc

Page 7: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

7 WHAT WILL YOU MAKE?

Visual Programming

Edison Developer Options

Arduino* Developer

Java scriptDeveloper

MCUDeveloper

Embedded Developer

Tools/ Libraries

Yocto Linux* 1.6 RTOS

Arduino* Libraries Intel XDK ISS

Arduino* IDEWin */ Mac*

Wyliodrin*Web

Intel XDKWin*/ Mac*/ Linux*

EclipseWin*/ Mac* / Linux*

Win*/ Mac* / Linux*

Arduino* Sketch C++

VisualJavascript

Javascript (Node JS)

C/ C++/Python C/C++

MCU SDKWyliodrin*

OS / Boot Image

IDE

Programming Language

CloudIoT Kit & Mashery*

* Windows is a registered trademark of Microsoft Corporation in the United States and other countries. Other names and brands may be claimed by the property of others by all third party name and the notation.

Page 8: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

8 WHAT WILL YOU MAKE?

8

WHAT WILL YOU MAKE?

Arduino Software overview

Page 9: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

9 WHAT WILL YOU MAKE?

Familiar Arduino IDE with example sketches

Arduino Software Compatibility

Load Sketch from PC to Edison

Edison

Page 10: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

10 WHAT WILL YOU MAKE?

Sketch Overview

Comment Block

CommentGlobal VariableCode executed once on initial load

Code Loop ran continuously

Page 11: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

11 WHAT WILL YOU MAKE?

Intel® XDK – IoT Edition

https://software.intel.com/en-us/html5/xdk-iot

Page 12: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

12 WHAT WILL YOU MAKE?

Node Red

http://nodered.org/

Page 13: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

13 WHAT WILL YOU MAKE?

Wyliodrin

https://www.wyliodrin.com/

https://projects.wyliodrin.com/wiki/boards_setup/arduinogalileo

Page 14: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

14 WHAT WILL YOU MAKE?

Let’s see how it works…….

Page 15: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

15 WHAT WILL YOU MAKE?

Adding a Sensor #define A_PIN 0   //analog pin for LDR #define D_PIN 6   //digital pin for LED

int value;

void setup() {    pinMode(D_PIN, OUTPUT); }

void loop() {     value = map(analogRead(A_PIN), 0, 1023, 0, 255);     analogWrite(D_PIN, value); }

Great breadboarding tool – fritzinghttp://fritzing.org/home/

LightDistanceTemperatureAccelerationVibrationMotionTouchGasSoundEtc….

Page 16: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

16 WHAT WILL YOU MAKE?

Using Edison’s WiFi capability

IBM Bluemix Cloud service

– http://datafest.mybluemix.net/?cm_mmc=IBMEcoDNA-_-IICSVL-_-outbound-_-Datafest2015

https://console.ng.bluemix.net/home

Portal uses MQTT Broker to communicate to devices - http://mqtt.com/

Note :- Arduino native MQTT library needs to be modified to work on Edison & Galileo – we have the library here

For testing purposes, there is a test portal to validate that data is being sent.

https://quickstart.internetofthings.ibmcloud.com/#/

How does this get communicated ???

Page 17: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

17 WHAT WILL YOU MAKE?

Setup Temperature Sensor input to A0 of Galileo

Sample Arduino Sketch provided – EdisonTemp.ino

Notes :-

1. Setup WiFi connection

1. All you need is SSID & Passphrase

2. Configure MQTT Session

1. Client Name format1. d:quickstart:<name>:mac

2. Max length 34 characters

3. WiFi MAC address used as a unique Identifier - found inside Edison Box

4. MAC address is case sensitive – consistent cut & paste needed

Let’s look at a simple MQTT Test

Page 18: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

18 WHAT WILL YOU MAKE?

18

WHAT WILL YOU MAKE?

Where do I find everything ??

Page 19: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

19 WHAT WILL YOU MAKE?

WITI Hackathon – IBM Site

Videos guiding you through the topics covered in today’s Webinar

Page 20: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

20 WHAT WILL YOU MAKE?

Getting Started Files – IBM Site

Video Links to other Edison Training Material

Powerpoint tutorials for getting started with Arduino IDE

MQTT Arduino Library for Edison & Galileo

Example MQTT Arduino Sketch to IBM Quickstart

https://www.ibm.com/developerworks/community/groups/service/html/communityview?communityUuid=062ec653-df20-41f8-aef8-be4566dfe442#fullpageWidgetId=Wd63664788fd0_4928_98be_429ec526a3b4

Page 21: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

21 WHAT WILL YOU MAKE?

• The IBM WITI Page is your one-stop-shop for support

• Intel will monitor the forum pages & provide any assistance required during the Hackathon event.

• Intel have a wide spread across Geos who will monitor the forum

• Target response time is 24hr

• Intel will continue to post further useful documents & guides to the IBM pages over the coming days & weeks.

Support From Intel – Where to Go

Page 22: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S
Page 23: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

23 WHAT WILL YOU MAKE?

Digital Input / Output • These are used to control single digital singles & can be set to either output a signal or receive a signal.

• Uses – reading input signals like switches, controlling outputs LEDs, Motors, Relays

Analogue Digital Converter • 12 bit accuracy, 6 channels available through Arduino pins

• ADC sampling at 5kHz- take a ‘snapshot’ of the voltage level every 200uS

PWM – Pseudo Analogue Outputs • PWM stands for Pulse Width Modulation

• Used to get analogue results by digital means

• Sends pulses of power to simulate voltage

• The duration of high power is know as the ‘Pulse Width’

Controlling The I/O

Page 24: 1 WHAT WILL YOU MAKE? Intel Facts Global headquarters: Santa Clara, California 100,000+ employees worldwide 55 percent of employees reside in the U.S

24 WHAT WILL YOU MAKE?

UART • UART stands for Universal Asynchronous Receiver/Transmitter (UART)

• It is a piece of computer hardware that translates data between parallel and serial forms.

• The universal designation indicates that the data format and transmission speeds are configurable.

• It takes bytes of data and transmits the individual bits in a sequential fashion.

• At the destination, a second UART re-assembles the bits into complete bytes.

• Second UART available Arduino pins

I2C • I²C stands for Inter-Integrated Circuit

• It is a bus used for attaching low-speed peripherals to computer motherboards and embedded systems.

• See http://en.wikipedia.org/wiki/I%C2%B2C for more information.

• Low speed data communication

• Collecting data from sensors and other devices.

• Available through Arduino pins

Controlling the I/O