More Related Content Similar to IoT and Digitization with Arduino and Raspberry Pi.pptx Similar to IoT and Digitization with Arduino and Raspberry Pi.pptx (20) IoT and Digitization with Arduino and Raspberry Pi.pptx2. 2
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Agenda
IoT and Digitization Skillset
Prototyping Tools
Connecting the Unconnected
Demos
Wrap up
3. 3
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Digital Transformation across Countries and Companies
Smart
City
Smart
Hospital
Smart
Highway
Smart
Factory
IoT merges
physical and virtual
worlds, creating smart
environments
4. 4
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Would you like a cup of coffee or a computer?
• https://www.raspberrypi.org/blog/raspberry-pi-zero/
Cost of computing
5. 5
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Open Source culture coming to HW
Example projects:
• Arduino
• SparkFun
• LittleBits
• Raspberry Pi
• Beagleboard
• Etc.
Open-source HW
6. 6
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Technology driven DIY culture
Tinkering with existing devices
Inventing new devices
Maker movement
Img src: http://www.ticketebo.com.au/startup-tasmania/maker-hobart.html
7. 7
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Cisco Confidential
Sensors &
Actuators
Embedded
Programming
FOG
Network
Cloud
Business Model
The End-to-End IoT prototype
8. 8
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
IoT Multidisciplinary Skillset
A Multidisciplinary Digital Foundation
Electronics
Programming
Networking
Data Analytics
Cybersecurity
Problem solving
Design thinking
Soft skills
9. 9
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Electronics
10. 10
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Electronics
11. 11
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Ohm’s Law
Kirchhoff’s Laws
Electricity Laws
Current
Voltage
Resistivity
V
R
I=
V
12. 12
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Power (Wat) Equation
P=VI
if V=IR then P=I2R
Electricity Laws
LED: 20mW
Bluetooth LE transmitting: 1mW
WiFi transmitting: 100mW
Raspberry Pi: 1.5W
Arduino Uno: 3mW
If you are putting >200mW through something
small it get’s warm. At 1W it get’s hot.
13. 13
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Analog sensors
• Light sensor (photo-resistor)
• Temperature sensor (thermo-resistor)
• Humidity, Air Quality, Water, etc.
• Potentiometer
Digital sensors
• Buttons
• Switches
• and anything digital, e.g. digital Temperature sensor
Sensors
14. 14
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
LEDs
DC Motor
Servo Motor
LCD screen
Buzzer
Hydraulic Pump
etc.
Actuators
15. 15
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Cisco Confidential
Circuits Diagrams/Schematics
http://fritzing.org/
16. 16
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Interconnects electronic components
No soldering
Great for prototyping
Breadboard
vs.
17. 17
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Arduino
18. 18
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Arduino is an open-source
electronics platform based
on easy-to-use hardware
and software. It's intended
for anyone making
interactive projects.
Arduino
19. 19
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Microcontroller
Arduino
Arduino IDE
20. 20
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
16MHz CPU
2kB of RAM
32kB of ROM
USB/Serial port
GPIO
• 5V
PWM
Analog Input Pins
Needs Firmware
Arduino UNO
21. 21
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Pulse-width modulation
Arduino PWM
22. 22
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Extension boards
Each board adds a new feature
e.g. Bluetooth, Ethernet, Wifi, etc.
https://learn.sparkfun.com/tutorials/arduino-shields
Arduino shields
23. 23
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Automatic gardening systems
3D printers
Robots
Smartwatches
Etc.
http://makezine.com/2015/03/28/20-projects-celebrate-arduino-day/
Cool Arduino based projects
24. 24
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Demo time
Arduino IDE
Flex sensors
PWM
24
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
25. 25
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
+ Cool automation projects
+ Analog input
+ PWM
+ Realtime
- No network connectivity by default
- Limited processing resources
- Programming limited in languages and libraries
Arduino Summary
26. 26
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Raspberry Pi
27. 27
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Single Board Computer
Built in:
• WiFi
• Ethernet
• Bluetooth
Raspberry Pi 3
28. 28
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
RPi extensibility
29. 29
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
GPIOs
• Digital only
• 3.3V
CSI
USB
RPi extensibility
30. 30
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Linux by default
• CLI
Micro SD card
RPi Operating System
31. 31
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
RPi Foundation’s official supported OS
Debian based distribution
Support for higher level programming languages
• Python
• Java
• Node.js
• Etc.
Raspbian
32. 32
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Over the network access
1. Find the RPi‘s IP address
2. SSH/Web/VNC/etc.
Headless access to RPi
33. 33
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Demo time
CLI
33
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
34. 34
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Demo time
Web/PL-App
Blockly
34
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
35. 35
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
+ Full-blown computer
+ Great network connectivity
+ Linux
+ Multiple programming languages
+ Remote upgrade
- No analog ports
- No PWM
RPi Summary
36. 36
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Raspberry Pi with Arduino
37. 37
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Single Board Computer + Microcontroller
Best of both worlds
38. 38
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
RPi:
• Network connectivity
• FOG processing
• Remote upgrades
• Programming
Arduino:
• Analog
• PWM
• Time sensitive protocols
Best of both worlds
39. 39
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Firmata is special firmware for microcontrollers
It receives commands over a serial interface (USB)
Locally processes requests:
• digital ON/OFF
• readAnalog
• setPWM
• Etc.
Returns data back over the serial interface
Master – Slave approach with Firmata
40. 40
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Demo time
Bridge Bending
40
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
41. 41
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Cisco Confidential
Sensors &
Actuators
Embedded
Programming
FOG
Network
Cloud
Business Model
Add a cloud service to complete the journey
42. 42
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
Demo time
42
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
43. 43
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
IoT Multidisciplinary Skillset
A Multidisciplinary Digital Foundation
Electronics
Programming
Networking
Data Analytics
Cybersecurity
Problem solving
Design thinking
Soft skills
44. 44
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential
Data Analytics
45. 45
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
46. 46
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
47. 47
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
48. 48
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
49. 49
© 2017 Cisco and/or its affiliates. All rights reserved.
For Cisco Networking Academy Use Only
IoT Multidisciplinary Skillset
A Multidisciplinary Digital Foundation
Electronics
Programming
Networking
Data Analytics
Cybersecurity
Problem solving
Design thinking
Soft skills
Editor's Notes IoT Fundamentals prepares for many career-ready pathways, providing the strong basis for understanding the multidisciplinary character of the IoT domain
Soft Skills: Communicating, Collaborating, Creative thinking, Critical thinking, Business Value (formerly 21st Century skills) IoT Fundamentals prepares for many career-ready pathways, providing the strong basis for understanding the multidisciplinary character of the IoT domain
Soft Skills: Communicating, Collaborating, Creative thinking, Critical thinking, Business Value (formerly 21st Century skills) IoT Fundamentals prepares for many career-ready pathways, providing the strong basis for understanding the multidisciplinary character of the IoT domain
Soft Skills: Communicating, Collaborating, Creative thinking, Critical thinking, Business Value (formerly 21st Century skills)