240 likes | 478 Views
Intel ® IOT Analytics Kit Overview. Data Center Group Jay Kyathsandra, Pat Holmes, Anil Keshavamurthy 2 – 12 – 2014 . Compute Model Transformations. Internet of Things. Personal Computing. Mobile Computing. Internet. 2005. 1975. 1985. 1995. 2015.
E N D
Intel ® IOT Analytics Kit Overview Data Center Group Jay Kyathsandra, Pat Holmes, Anil Keshavamurthy 2 – 12 – 2014
Compute Model Transformations Internet of Things Personal Computing Mobile Computing Internet 2005 1975 1985 1995 2015 IoT is Driving the Next Compute Transformation
IoT Compute Model Transformation Function over data Isolated Optional Security Data drives function Interoperable Security fundamental Function and Data Connected Limited Security Today Future Past IoT is accelerating Big Data Analytics
Intel®Quark Family – Galileo ® • Intel is extending its portfolio of offerings with the new Quark family - 5X smaller & consumes !0x less power • Intel’s enhanced product portfolio will bring integrated, scalable products from the device to the cloud, driving data acquisition and analysis to unleash the value in the Internet of Things. • 400MHz 32-bit Intel® Pentium instruction set architecture (ISA)-compatible processor o • 16 KByte L1 cache o 512 KBytes of on-die embedded SRAM o • Simple to program: Single thread, single core, constant speed o ACPI compatible CPU sleep states supported o An integrated Real Time Clock (RTC), with an optional 3V “coin cell” battery for operation between turn on cycles. • 10/100 Ethernet connect • Full PCI Express* mini-card slot, with PCIe 2.0 compliant feature • USB 2.0 Host connects to USB Client connector, used for programming • Storage options: 8 MByte Legacy SPI Flas
IOT E2E Analytics kit – Hackathon Kit • An End to End integrated Cloud based solution with analytics based on Intel Galileo –” IoT in a Box” • Accelerate IOT innovation thru prototyping, experimenting and field research. Scale thru Intel commercial gateway offering or developing custom solution using open source design files • Features – Tested sensor suite with code, preconfigured Galileo as sensor hub/gateway, cloud access for real-time data analytics • Examples – Indoor air quality monitoring, solar pane wind shear, water quality testing, building energy management Sensors Cloud - Analytics Galileo – Sensor hub & gateway Temperature & humidity sensor SSL Encryption Sound Detection • SW Stack on SD • Yocto Linux • Arduino-IDE • IoT Agent cloud pre-configured • Tested sensor suite Tilt Switch • Managed cloud infrastructure • Cloud analytics GUI based on Intel Hadoop Distribution
Code for Good – Disaster Response Solutions Hackathon Overview & Innovation Ideas • Use Cloud analytics to use sensor data to correlate input from multiple locations or for quick analysis • Cloud Analytics Usages – Use sensor data • Trend analysis of data over time • Compare data with baseline data or plot distribution • Integration with maps for geo location • Integration with national weather • Integration with - Sahana disaster management system • Sensor mounting Alternatives • Independent Hand held device • Attached to mobile phones • Attached to rescue vehicles • Attached to Quadcopter • Water Related • Water quality testing – Impact of a contaminant or sewage break into water pipeline (damage to infrastructure or sewage spillway breach) • Water quality for drinkability • Water level sensing /trending….and turn valve based on level • Prevent fires due to salt water flooding by tripping circuit due to short circuit • Communication/Call For Help • Detect humans & pets under distress - Ultrasonic ..thermal Infrared sensor ? • Distress signal beacon – whistle intercepted by sensors ? • Communicate where to stay away from • Early detection thru animal behavior/sensing? • Device peer networking for communication/distress • Air quality / Temperature • Detect air quality during hurricane or chemical plant explosion • Distress signal beacon – whistle intercepted by sensors ? • Temperature/CO monitoring • People, Inventory/Supply Management • Inventory management for easy distribution among rescue workers • People tracking, status or missing • Temporary/power charging using piezometers?
The KitEverything you need to build an end-to-end system to collect and analyze field data in the cloud.
Connect Intel® Galileo Board • WARNING: Use kit’s power supply or you will damage board. • Green power LED will turn on. • ALWAYS connect 5V power before other connections, such as USB cable. • Download Galileo Board Getting Started Guide from: https://communities.intel.com/docs/DOC-21838 • IoT Developer Kit Getting Started Guide will direct you to sections of this document for various steps • Provides useful reference for board features
Download Software & Connect USB Software Stack • Download to your computer the board firmware, OS, and Arduino IDE from: https://communities.intel.com/community/makers/drivers • Update the firmware by following instructions in IoT Developer Kit Getting Started Guide. • Connect your computer to USB Client Port of Galileo board with supplied cable. • Install serial port driver following instructions in section 4 of Galileo Board Getting Started Guide.
Launch Arduino IDE • Galileo can be programmed with “sketches” created in Arduino software. • To launch Arduino in Linux, find the folder arduino-1.5.3. • Launch by executing “./arduino”. • Perform a test: • Open LED “Blink” sketch: File > Examples > 1.Basics > Blink • Use Windows device manager to select correct COM port for Galileo • Download Blink sketch to board. LED should blink. • Make modifications to code to make LED blink faster or slower. • For more on uploading sketches to Galileo, see instructions in IoT Developer Kit Getting Started Guide.
Prepare Image on SD Card and Install • Necessary step for connectivity and cloud analytics. • Insert Micro SD card into card adapter. • Insert adapter in your computer and delete any existing files on card. • Copy image files onto card from the provided URL or receive it from your Intel lead • Remove power from Galileo board and insert Micro SD card. • Connect power. • Galileo should now boot from card. • For full instructions on preparing SD card image and setting up connectivity in IoT Developer Kit Getting Started Guide.
Set Up Connectivity • Plug serial cable to board and computer. • Note COM port number (Windows will display in device manager as Prolific USB-to-COM port"). • Use PuTTy or other terminal program to open terminal to this COM port. • Press enter to get a Login prompt. • Log in with user "root" and password given at hackathon.
Set Up Connectivity, cont. • Connect a wired Ethernet connector to the board. • If you prefer to use wireless, follow the instructions in the IoT Developer Kit Getting Started Guide. • From command prompt, type "ifconfig" to get IP address. • Test internet connection by typing "curl http://www.google.com" at prompt. You should see a page of HTML in response.
Connect to Cloud IoT Kit Agent • Intel operates a server cloud for users of the IoT Developer Kit. • To create an account, download and upzip: https://github.com/enableiot/iotkit-agent/archive/master.zip • Next execute setup script: • cd iotkit-agent • ./setup-agent.sh • Allow ~10 minutes for setup.
Test Agent Install • Type “node agent” at prompt. • You should see text similar to what’s shown here on right. • Copy the string that follows “IoT Kit Cloud Agent” on line 1 and paste somewhere for later. • Reboot board by pressing reboot button near USB connectors. • Board should reboot with time automatically set and agent started. • To perform a check, open a console to the board and type “data” to check date/time. • Type “ps” to make sure node.js process is running the agent. • 2014-02-12T03:45:54.236Z - info: IoT Kit Cloud Agent: 84-3A-4B-45-2D-A8 • 2014-02-12T03:45:54.905Z - info: Cloud client created • 2014-02-12T03:45:54.914Z - debug: Reg doc: • <…> • 2014-02-12T03:45:54.923Z - info: Starting listeners... • 2014-02-12T03:45:55.295Z - info: REST listener started on port: 9090 • 2014-02-12T03:45:55.314Z - info: TCP listener started on port: 7070 • 2014-02-12T03:45:55.325Z - info: MQTT listener started on port: 1883 • 2014-02-12T03:45:55.330Z - info: UDP listener started on port: 41234
Install IoT Kit Arduino Library and Samples • Download samples from: https://github.com/enableiot/iotkit-samples/blob/master/arduino/IoTkit.zip • From Arduino IDE, select: Sketch ->Import Library -> Add Library. • Browse to IoTkit.zip file. • Press “Open” button. • Once installed, you should see under File ->Examples the IoTkit listed.
Create Account or Log In • To create an account or log in, go to http://www.enablelot.com/sensors/loginPage.html • If there isn’t an account yet, click “Create Account” on the setup screen and follow onscreen instructions. • Password: 6+ characters with at least 1 digit and 1 special character.
Add Your Device • Select “Devices” tab. • Click “Add Device” button. • In “Device Details” window, enter team name for “Device Name.” • Enter in “Gateway” field the string you saved from earlier step. • Press “Save.” Your device is now listed in “Devices”. • Perform a board reboot (button near USB connectors) to connect device to cloud. (Note: A soft reboot will cause OS to hang.)
Start Working with Cloud • You are now ready to write Arduino scripts to send data to cloud. • Start with“IoTkitSimpleExample”. • Download it to board and run. • After a few minutes, check http://www.enableiot.com to view the data. Supports numeric metrics. Non-numeric info such as strings/Boolean would not be able to paint on the chart.
Connect Sensors and Try Sample Programs • Develop applications with Galileo board, bread board, and sensors for sensor reading, message formatting, and connectivity. • Learn more at: • arduino.cc/en/Tutorial/HomePage • communities.intel.com/docs/DOC-22192 • https://communities.intel.com/community/makers/demosprojects/content • Find sample code for use with SunFounder modules Arduino Sensor Kit at app.box.com/s/pgxevk7rj5tb9l3bdpkz
Reference • Intel® Galileo Board Getting Started Guide: https://communities.intel.com/docs/DOC-21838 • Intel® IoT Developer Kit Getting Started Guide [NEED URL] • Intel® IoT Develop Kit Cloud Analytics User Guide [NEED URL] • Intel® Galileo Software download: https://communities.intel.com/community/makers/software/drivers • Intel® Galileo – Programming GPIO from Linux: http://www.malinov.com/Home/sergey-s-blog/intelgalileo-programminggpiofromlinux • Intel® Quark SoC X1000 Board Support Package (BSP) Build Guide: https://communities.intel.com/servlet/JiveServlet/downloadBody/21882-102-1-25153/Quark_BSPBuildGuide_329687_001.pdf • Intel Makers Community documents for Intel® Galileo Reference Board: https://communities.intel.com/community/makers/documentation/galileodocuments • Intel® Galileo Board Overview: http://www.intel.com/content/www/us/en/intelligent-systems/galileo/galileo-overview.html • Intel® Quark SoC x1000 Specification: http://ark.intel.com/products/79084/Intel-Quark-SoC-X1000-16K-Cache-400-MHz • Online communities and support: • http://www.intel.com/support/galileo • http://communities.intel.com/community/makers • http://maker.intel.com
Mesh Central – Uploading sketches remotely https://meshcentral.com/ They have the ability to enumerate all of the Galileo devices, and to remotely upload a new Arduino sketch to them: http://software.intel.com/en-us/blogs/2013/12/05/meshcentralcom-advanced-intelr-galileo-usages Here’s some info on it: https://meshcentral.com/info/ And take a look at the size of this list of tutorials: https://meshcentral.com/info/tutorials.aspx
Galileo Sensor kit for Hackathon Xbee Intel Centrino WiFi N135 SunFounder 37 modules Arduino Sensor Kit for Arduino UNO R3 Mega2560 Mega328 Nano GPS