IoE Workshop Marc Khayat, CCIE #41288, makhayat@cisco.com Leonard Janer ljaner@inlea.com Technical Managers June 16
2015 Cisco and/or its affiliates. All rights reserved. Cisco Public 2
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
2015 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Raspberry Pi Model B $40 Pi TFT Touchscreen 320 240 $35 SIM900 GSM/GPRS module $48 SIM Card from Provider. No Free Calls! https://www.youtube.com/watch?v=8eainsfhti8 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Arduino UNO UNO Motor shield Micro Servo Set Ultrasonic Sensor https://youtu.be/w72jgwu8gt0 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Arduino UNO Arduino Sensor Accelerometer + Gyro to control Balance Serial Bluetooth and Bluetooth APP for Android Phone Remote Control https://youtu.be/zylb11xussy 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Arduino Accelerometer and Gyroscope Arduino Send and Receive MIDI Sugarcube MIDI Controller https://vimeo.com/48347752 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Arduino Auto Pilot: GPS, Altitude Sensor Step-by-step: http://owenson.me/build-your-ownquadcopter-autopilot/ https://youtu.be/cbg0yho-_qq 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Arduino Mega LCD Shield DHT11 Sensor for Temperature and Humidity https://www.youtube.com/watch?v=zmoc7oattiy Code: https://github.com/adafruit/dht-sensor-library 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Arduino Uno IMU from Sparkfun 5 degrees of freedom 2-Axis Gyroscope, 3-Axis Accelerometer Code based on XenonJohn Self Balancing Electric Skate Board https://youtu.be/fsa9a_lpmsi 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
GPS tracker, temperature measure, music glove, fashion, fun, etc. 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
2015 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Display connector A mini PC that has: A 900MHz quad-core ARM Cortex-A7 CPU 1GB RAM MicroSD Like the (Pi 1) Model B+, it also has: Micro USB 4 USB ports 40 GPIO pins HDMI Full HDMI port Camera connector Ethernet port Combined 3.5mm audio jack and composite video Camera interface (CSI) Display interface (DSI) Micro SD card slot VideoCore IV 3D graphics core Audio Ethernet GPIO USB 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
WiringPi is the default setting on PL Cloud BCM is Broadcom pin numbering Physical is as you see and count them No analog pins, only digital (0, 1) 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
1 Insert the MicroSD card 4 Device should show as Online 3 Power the RPi using MicroUSB cable 2 Insert WiFi adapter or Ethernet cable 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
If you know the IP address already, you can SSH to it from your PC. Username: pi Password: raspberry 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
2015 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
It s a microcontroller that has: 14 digital pins 6 analog pins Provides 3.3V or 5V Can use Arduino IDE or program directly via RPi 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
No need for external power Needed firmware is pushed by PL Cloud 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
2015 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
2015 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Check code in python 1a 3a Check stream if live data 3 Check the output 2 Run it on your online board 1 Create your code 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
RPi pins operate at 3.3V, Arduino at 5V Start your Arduino on port /dev/ttyacm0 When running the application for the 1 st time, you need to flash the Arduino Try to create a simple and small application (or complete 1 of the sample projects that are provided next) 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Monitor temperature using sensor If temperature is below 23 C: LED is green If temperature goes above 23 C: Turn LED red Sound a brief alarm buzzer If there are 5 violations, send email to administrator 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Monitor door using a simulation push-button If door is closed: LED is green If door is opened: Turn LED red Send email to administrator Sound annoying buzzer alarm 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
LED RGB LED 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Having fun with push button and LED J When light is below a threshold -> Sound an alarm + write on LCD If alarm on for 3 seconds -> change color of LCD + send an email 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Buzzer Light sensor Push button LCD 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Thank you.