Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

IoT fun with Raspberry Pi and .NET

1,092 views

Published on

Slides from my talk on IoT application development using the Windows Core IoT operating system and .NET. In this talk I introduce IoT, explain why it's important for developers and analyze briefly the moral and security implications. Finally, I run a demo using an applicaton running on Raspberry Pi talking to number of sensors to pull noise and temperature reading and post them on the cloud

Published in: Software
  • Be the first to comment

  • Be the first to like this

IoT fun with Raspberry Pi and .NET

  1. 1. DDDNorth 2015 IoT development fun with .NET and Raspberry PI
  2. 2. Internet adoption in 20 years
  3. 3. Autonomous Gadgets
  4. 4. Hello I’m Christos christosmatskas cmatskas https://cmatskas.com
  5. 5. Complext Projects
  6. 6. Simple mobile apps
  7. 7. Side Projects
  8. 8. Agenda •What is IoT •What is the Raspberry Pi (2 or B) •What is Windows IoT Core •Why .NET
  9. 9. IoT has history
  10. 10. Why should we care about IoT?
  11. 11. How many things are out there?
  12. 12. Security
  13. 13. IoT Hacking – too easy
  14. 14. IoT Hacking Examples • The ZigBee protocol – widespread and not secure • Philips Hue “Smart” lights – 2013 • Fitbit infected with malware – 2015 • Baby Monitors insecure • IoT devices require too much data
  15. 15. Raspberry Pi (2 or B) • Broadcom ARM 7 Quad Core CPU at 900MHz • 1GB RAM • 40pin extended GPIO • 4 x USB 2 ports • 4 pole Stereo output and Composite video port • Full size HDMI • CSI camera port for connecting the Raspberry Pi camera • DSI display port for connecting the Raspberry Pi touch screen display • Micro SD port for loading your operating system and storing data • Micro USB power source
  16. 16. Arduino • ATmega328 microcontroller • Input voltage - 7-12V • 14 Digital I/O Pins (6 PWM outputs) • 6 Analog Inputs • 32k Flash Memory • 16Mhz Clock Speed
  17. 17. MinnowBoard • Intel Atom CPU dual core 1.33GHz • Integrated Intel HD Graphics • 2GB DDR3 RAM • 8 MB SPI Flash • 1 x Micro SD • 1 x SATA2 3Gb/sec • 1 x USB 3.0 (host) • 1 x USB 2.0 (host) • 1 x Serial debug - via FTDI cable available separately • RJ-45 Connector for Ethernet • Micro HDMI
  18. 18. • Easy transition • Familiar environment • Full support for standard Universal Windows Platform (UWP) • C++, C#, JS, VB.NET • Python • Node.js • Improved tooling and debugging experience Windows IoT Core & Developers
  19. 19. • Because I can • Because it's easy if you're a .net dev • Because it's familiar and you can use the same tools • Caveats • WiFi doesn't work with all USB adaptors • Subset of .NET Framework • Serial Port drivers are not available yet • USB is mostly functional and can be an alternative to the standard serial port • Only Windows IoT approved hardware works (i.e there are no drivers yet) Why .NET on Rpi 2?
  20. 20. Setting Up Rpi 2 • PowerShell • Web Page (<IpAddress>:8080/AppXManager.htm) • Some things can only be configured through PowerShell
  21. 21. WunderBar • Was this the right choice? • Very easy to set up but expensive • It uses it's own backend but the data is volatile and not persisted
  22. 22. My Setup Transmitter Sensor Windows DesktopWindows Phone Raspberry Sensor Sensor
  23. 23. Requirements • Windows 10 • Visual Studio 2015 • Windows 10 SDK • IoT Project Template (optional) • Raspberry Pi • WiFi / Ethernet
  24. 24. Demos
  25. 25. Questions
  26. 26. Summary • Exciting technology • Fun to work with • Be aware of the security implications • What about the moral implications?

×