SlideShare a Scribd company logo
DDDNorth 2015
IoT development fun with .NET and
Raspberry PI
Internet adoption in 20 years
Autonomous Gadgets
Hello
I’m Christos
christosmatskas
cmatskas
https://cmatskas.com
Complext Projects
Simple mobile apps
Side Projects
IoT fun with Raspberry Pi and .NET
Agenda
•What is IoT
•What is the Raspberry Pi (2 or B)
•What is Windows IoT Core
•Why .NET
IoT has history
Why should we care about IoT?
How many things are out there?
Security
IoT Hacking
– too easy
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
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
Arduino
• ATmega328 microcontroller
• Input voltage - 7-12V
• 14 Digital I/O Pins (6 PWM
outputs)
• 6 Analog Inputs
• 32k Flash Memory
• 16Mhz Clock Speed
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
IoT fun with Raspberry Pi and .NET
• 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
• 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?
Setting Up Rpi 2
• PowerShell
• Web Page (<IpAddress>:8080/AppXManager.htm)
• Some things can only be configured through PowerShell
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
My Setup
Transmitter
Sensor
Windows DesktopWindows Phone
Raspberry
Sensor
Sensor
Requirements
• Windows 10
• Visual Studio 2015
• Windows 10 SDK
• IoT Project Template (optional)
• Raspberry Pi
• WiFi / Ethernet
Demos
Questions
Summary
• Exciting technology
• Fun to work with
• Be aware of the security implications
• What about the moral implications?

More Related Content

What's hot (20)

PPTX
The fight for surviving in the IoT world
Radu Vunvulea
 
PPTX
Hackacle Hardware for the Internet of Things (IoT)
Nicolas Saint-Arnaud
 
PDF
Twilio Signal 2016 Leading An Open Hardware Revolution
Twilio Inc
 
PDF
KNoT - a framework for iot interoperability
Tiago Barros
 
PPTX
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
Peter Gallagher
 
PDF
Using Cloud Hyperscale Vendors Cognitive Artificial Intelligence NoOps MLaaS
Björn Rodén
 
PDF
The Rise of Maker Movement in Indonesia
Andri Yadi
 
PDF
O que falta na internet para as coisas?
Tiago Barros
 
PDF
Cisco Networking Academy® Connecting Things course
Francisco Duque
 
PDF
Open Sourcing the User Experience for the IoT
AllSeen Alliance
 
PPTX
Introduction to Node-RED
nodered_ug_jp
 
PDF
Big Bang The Gigabots
US-Ignite
 
PPTX
160625 arduino101
CAVEDU Education
 
PDF
Node.js as an IOT Bridge
Eduardo Pelegri-Llopart
 
PDF
사물인터넷의 역사 (The history of the Internet of Things)
Hakyong Kim
 
PDF
IoT Domain Naming and Pain Points
David Fowler
 
PPTX
Getting Started with the Internet of Things - Allianz Hackrisk Hackathon 29/...
The Internet of Things Methodology
 
PDF
IBM TW InterConnection - Humix Introduction
Jeffrey Liu
 
PDF
Humanizing the Internet of Things
Antonio Pintus
 
PDF
Low Cost Wireless Network Will Change The Industry Forever
Kevin Hauff
 
The fight for surviving in the IoT world
Radu Vunvulea
 
Hackacle Hardware for the Internet of Things (IoT)
Nicolas Saint-Arnaud
 
Twilio Signal 2016 Leading An Open Hardware Revolution
Twilio Inc
 
KNoT - a framework for iot interoperability
Tiago Barros
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
Peter Gallagher
 
Using Cloud Hyperscale Vendors Cognitive Artificial Intelligence NoOps MLaaS
Björn Rodén
 
The Rise of Maker Movement in Indonesia
Andri Yadi
 
O que falta na internet para as coisas?
Tiago Barros
 
Cisco Networking Academy® Connecting Things course
Francisco Duque
 
Open Sourcing the User Experience for the IoT
AllSeen Alliance
 
Introduction to Node-RED
nodered_ug_jp
 
Big Bang The Gigabots
US-Ignite
 
160625 arduino101
CAVEDU Education
 
Node.js as an IOT Bridge
Eduardo Pelegri-Llopart
 
사물인터넷의 역사 (The history of the Internet of Things)
Hakyong Kim
 
IoT Domain Naming and Pain Points
David Fowler
 
Getting Started with the Internet of Things - Allianz Hackrisk Hackathon 29/...
The Internet of Things Methodology
 
IBM TW InterConnection - Humix Introduction
Jeffrey Liu
 
Humanizing the Internet of Things
Antonio Pintus
 
Low Cost Wireless Network Will Change The Industry Forever
Kevin Hauff
 

Viewers also liked (7)

PDF
WordPress and the Internet of Things
Tomas Puig
 
PDF
Foundational Elements for IoT (1)
Nicolas Delorme
 
PDF
IOT strategy
Israel Brizuela
 
PPT
Single chip computer for iot application
iotleague
 
PDF
Sensor Technology for Smart Nation and Industry 4.0 by colin koh
Colin Koh (許国仁)
 
PDF
Cloud Conf 2015 - Develop and Deploy IOT Applications
Corley S.r.l.
 
PPTX
Webinar- Internet of Things: Application Frameworks in IoT
Harbinger Systems - HRTech Builder of Choice
 
WordPress and the Internet of Things
Tomas Puig
 
Foundational Elements for IoT (1)
Nicolas Delorme
 
IOT strategy
Israel Brizuela
 
Single chip computer for iot application
iotleague
 
Sensor Technology for Smart Nation and Industry 4.0 by colin koh
Colin Koh (許国仁)
 
Cloud Conf 2015 - Develop and Deploy IOT Applications
Corley S.r.l.
 
Webinar- Internet of Things: Application Frameworks in IoT
Harbinger Systems - HRTech Builder of Choice
 
Ad

Similar to IoT fun with Raspberry Pi and .NET (20)

PDF
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
MediaTek Labs
 
PPTX
Internet of Things 101 - Part II
Yoonseok Hur
 
PPTX
Raspberry pi
Vasigaran Senthilkumar
 
PPTX
Unit 6 - PART2.pptx
BLACKSPAROW
 
PPTX
Internet of things (IoT) with Azure
Vinoth Rajagopalan
 
PDF
MediaTek Linkit Smart 7688 Webinar
MediaTek Labs
 
PPTX
Raspberry Pi
Anirudh Chauhan
 
PPTX
Parallel Rendering of Webpages
Langtech
 
PDF
The Internet of Things and You - A Developers Guide to IoT
Jim McKeeth
 
PPTX
Raspberry-Pi, Developing on Raspberry Pi, Difference between Arduino & Raspbe...
Megha Sharma
 
PPTX
A brief introduction to making your own (Internet of Things) Thing
TinamousSteve
 
PDF
Overview of the Intel® Internet of Things Developer Kit
Intel® Software
 
PPTX
Internet of Things (IoT) Presentation
Jason K
 
PPTX
Raspberry pi
Aradhya Kundu
 
PDF
IoT Programming on the Raspberry Pi
Damien Magoni
 
PDF
7 reasons why video conferencing world will never
TrueConf
 
PPTX
Developers Safari into the Internet of Things (IoT) with Pi
Chris Pietschmann (Microsoft MVP)
 
PPTX
Rapholo- IoT with Azure .pptx
raypoll198
 
PDF
Amity Raspberry Jam
Vishal Aditya
 
Peripheral Programming using Arduino and Python on MediaTek LinkIt Smart 7688...
MediaTek Labs
 
Internet of Things 101 - Part II
Yoonseok Hur
 
Unit 6 - PART2.pptx
BLACKSPAROW
 
Internet of things (IoT) with Azure
Vinoth Rajagopalan
 
MediaTek Linkit Smart 7688 Webinar
MediaTek Labs
 
Raspberry Pi
Anirudh Chauhan
 
Parallel Rendering of Webpages
Langtech
 
The Internet of Things and You - A Developers Guide to IoT
Jim McKeeth
 
Raspberry-Pi, Developing on Raspberry Pi, Difference between Arduino & Raspbe...
Megha Sharma
 
A brief introduction to making your own (Internet of Things) Thing
TinamousSteve
 
Overview of the Intel® Internet of Things Developer Kit
Intel® Software
 
Internet of Things (IoT) Presentation
Jason K
 
Raspberry pi
Aradhya Kundu
 
IoT Programming on the Raspberry Pi
Damien Magoni
 
7 reasons why video conferencing world will never
TrueConf
 
Developers Safari into the Internet of Things (IoT) with Pi
Chris Pietschmann (Microsoft MVP)
 
Rapholo- IoT with Azure .pptx
raypoll198
 
Amity Raspberry Jam
Vishal Aditya
 
Ad

More from Christos Matskas (20)

PPTX
Introduction to the Microsoft identity platform for developers
Christos Matskas
 
PPTX
Secure and scalable apps with .net and azure
Christos Matskas
 
PPTX
Azure Managed Identities and service principals
Christos Matskas
 
PPTX
Scalable APIs with Azure Functions
Christos Matskas
 
PPTX
0 to hero with Azure DevOps
Christos Matskas
 
PPTX
Serverless architecture with Azure
Christos Matskas
 
PPTX
Extreme microservices with Azure Functions
Christos Matskas
 
PPTX
Serverless on Azure with Functions
Christos Matskas
 
PPTX
Serverless with azure functions the rebel service
Christos Matskas
 
PPTX
Becoming an awesome Open Source contributor and maintainer
Christos Matskas
 
PPTX
Visual Studio Code and JavaScript - a pair made in heaven
Christos Matskas
 
PPTX
Serverless in Azure with Functions
Christos Matskas
 
PPTX
Going Serverless with Azure Functions
Christos Matskas
 
PPTX
Universal windows platform - Application development done right
Christos Matskas
 
PPTX
How to become an awesome oss
Christos Matskas
 
PPTX
TypeScript - Your regular JavaScript on steroids
Christos Matskas
 
PPTX
How to become an awesome Open Source contributor
Christos Matskas
 
PPTX
Mobile application architecture
Christos Matskas
 
PPTX
Visual Studio 2015 - Productivity tips & tricks
Christos Matskas
 
PPTX
Common mistakes in tdd can you guess
Christos Matskas
 
Introduction to the Microsoft identity platform for developers
Christos Matskas
 
Secure and scalable apps with .net and azure
Christos Matskas
 
Azure Managed Identities and service principals
Christos Matskas
 
Scalable APIs with Azure Functions
Christos Matskas
 
0 to hero with Azure DevOps
Christos Matskas
 
Serverless architecture with Azure
Christos Matskas
 
Extreme microservices with Azure Functions
Christos Matskas
 
Serverless on Azure with Functions
Christos Matskas
 
Serverless with azure functions the rebel service
Christos Matskas
 
Becoming an awesome Open Source contributor and maintainer
Christos Matskas
 
Visual Studio Code and JavaScript - a pair made in heaven
Christos Matskas
 
Serverless in Azure with Functions
Christos Matskas
 
Going Serverless with Azure Functions
Christos Matskas
 
Universal windows platform - Application development done right
Christos Matskas
 
How to become an awesome oss
Christos Matskas
 
TypeScript - Your regular JavaScript on steroids
Christos Matskas
 
How to become an awesome Open Source contributor
Christos Matskas
 
Mobile application architecture
Christos Matskas
 
Visual Studio 2015 - Productivity tips & tricks
Christos Matskas
 
Common mistakes in tdd can you guess
Christos Matskas
 

Recently uploaded (20)

PDF
Streamline Contractor Lifecycle- TECH EHS Solution
TECH EHS Solution
 
DOCX
Import Data Form Excel to Tally Services
Tally xperts
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PPTX
Comprehensive Guide: Shoviv Exchange to Office 365 Migration Tool 2025
Shoviv Software
 
PPTX
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
PPTX
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
Engineering the Java Web Application (MVC)
abhishekoza1981
 
PPTX
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
PDF
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
Streamline Contractor Lifecycle- TECH EHS Solution
TECH EHS Solution
 
Import Data Form Excel to Tally Services
Tally xperts
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
Comprehensive Guide: Shoviv Exchange to Office 365 Migration Tool 2025
Shoviv Software
 
How Apagen Empowered an EPC Company with Engineering ERP Software
SatishKumar2651
 
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Engineering the Java Web Application (MVC)
abhishekoza1981
 
MiniTool Power Data Recovery Full Crack Latest 2025
muhammadgurbazkhan
 
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Tally software_Introduction_Presentation
AditiBansal54083
 

IoT fun with Raspberry Pi and .NET

Editor's Notes

  • #11: IoT has been around for a few years, but it's only in the last couple that we've seen a huge growth both in adoption and interest. From enterprises trying to get as competitive as possible by reducing their operational costs and squeezing every little bit of performance from their internal processes to individuals using IoT to keep track of their fitness and calories, contactless payments, smart clothes, drones etc.   At this point, you may be asking yourselves: why should I care about IoT? Let's have a look at this graph
  • #12: There are some big, or better let me rephrase that, huge numbers here. The numbers present an excellent opportunity for developers to be part of, if not lead, this moving that is going to shape humanity all over again. This is our industrial revolution and we are the biggest part of it. Every single device will need to interact with its surrounding environment through an API, a protocol and this requires programming. I find it particularly exciting. If you don't believe me, just look at this
  • #13: In 2013, the connected devices were around 0.6%. Today, 2 years one, we've only just reached 1% of the existing devices. This is not taking into consideration the new devices that will be introduced over the next few years. IoT is expected to be big, exciting and fun.
  • #14: IoT is still in it's infancy. As exciting as IoT may be for businesses and individuals alike dreaming about fully connected houses and clever production systems there's one very issue that hasn't seen much attention. That's security. In fact, there have been numerous IoT related hacks due to lack of discipline and awareness both by manufacturers and individual users.
  • #16: The ZigBee protocol, which is widely adopted by many IoT manufacturers, has been hacked many times. In 2013, security researchers were able to hack into the Philips Hue "Smart" light bulb was hacked. An interesting thing as the researchers were looking through the code, was that the private key used for data encryption and communication was also embedded in the firmware. As a result, any lightbulb manufactured in the last 8 years was susceptible to the same attack.   In Gizmodo this week there was an article about Hackers being able to infect FitBit (the fitness sensors) with malware in under 10 seconds. Connecting an infected FitBit to a computer would subsequently infect it too.   Another inconspicuous device, almost in every house with a baby and "overly protective" parents - count me and my wife in - is the baby monitor. The ones that were developed in the last 4-5 years have internet access or can be accessed by a smart phone locally. Researchers revealed that it would extremely simple for hackers to use the devices as spy cameras or to launch attacks on other Internet-connected devices in the home because these devices are not secured and the communications are all in the open   If you are going to do any work with IoT devices, ensure that you secure all communications (both internal and external) and use the appropriate encryption to protect your data.  
  • #17: Do you remember that feeling when we were (some of us) in our early teens spending endless hours over our ZX Spectrums, Commodores and BBC Micros? Copying code from magazines just to see it run on your screen? Pressing the Turbo button to make this go faster? The countless times I would be told off for being shouted to join the rest of the family for dinner when all I wanted to do was work on my computer? I haven't been fortunate enough to live the early days of computing when a computer would arrive as a kit and you had to assemble it. But now I've been given the chance to relive this but in a more fun and safe way. I get to be a teenager again tinkering with sensors and small computers on a board that can be extended to your heart's content. You can be as brave or reserved as you want. You don't even need to own a soldering kit! How about that? With the massive shift in the way kids interact with computers today, there's been a massive decline in both applicants and applicant skills when it comes to Computer Science. Those of us that grew up in the relatively early days of computing, we got the chance to experiment and play around with our hardware. Today kids are driven away by the closed ecosystem that hardware providers have created. For example, in this Mac Book you cannot change anything yourself. The RAM is soldered on. I did manage to replace the SSD but this has most likely voided my warranty. Newer Mac Books don't even let you do this. The Raspberry Pi, the brainchild of a few Cambridge professors, was introduced in 2008 as a cheap, yet powerful educational tool. 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
  • #18: ATmega328 microcontroller Input voltage - 7-12V 14 Digital I/O Pins (6 PWM outputs) 6 Analog Inputs 32k Flash Memory 16Mhz Clock Speed
  • #19: 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