29
Intro to the “Internet of Things” using Netduino NUFW presentation by Dean Willson 3/8/2016

Intro to the Internet of Things using Netduino

Embed Size (px)

Citation preview

Page 1: Intro to the Internet of Things using Netduino

Intro to the “Internet of Things” using NetduinoNUFW presentation by Dean Willson 3/8/2016

Page 2: Intro to the Internet of Things using Netduino

AbstractIt is estimated that by 2020 there will be tens of billions of devices connected to the internet. As a .Net developer, devices like the Netduino provide a low barrier to entry for IoT utilizing your existing skills and tools. This will be an introduction to Iot using Visual Studio and Netduino.

Page 3: Intro to the Internet of Things using Netduino

Agenda• What and Why?• Intro to Equipment

Netduino Other Hardware/Devices/Peripherals Software

• Demo - Configuration MFDeploy• Demos - Development Visual Studio

Page 4: Intro to the Internet of Things using Netduino

What is IoT and Why?• Creating a network of “things”

Device to device Device to internet

• Examples Remote start car Open/close garage door on vacation Frozen pipe monitor (turn on heat tape)

Page 5: Intro to the Internet of Things using Netduino

General GearGeneral• Development board of some type (Netduino, Fez)• PC with USB connection – device config, file transfer and debugging• Digital MultimeterDemo• Netduino 3 WIFI • Electronics sample kit• Laptop

Page 6: Intro to the Internet of Things using Netduino

Netduino 3 wifi microprocessor

Page 7: Intro to the Internet of Things using Netduino

Netduino hardware• I/O, Serial GoBus• Power

3.3V, 5V USB or DC jack

• Features WIFI/Ethernet depending on model Button LED USB MicroSD

Page 8: Intro to the Internet of Things using Netduino

I/O• Digital Input/Output

SPI – synchronous Serial Peripheral Interface UART – Universal Asynchronous Recv/Transmit PWM – Pulse Wave Modulation I2C – (Inter-Integrated Circuit) multi-master, multi-slave, single-ended, serial bus

GoBus – Netduino quick connect sensor bus (like Arduino’s I2C bus)

• Analog Input/Output Reads as values 0-1023 10 bit

Page 9: Intro to the Internet of Things using Netduino

Netduino 3 WIFI

Page 11: Intro to the Internet of Things using Netduino

Software• .Net MicroFramework (NetMF)• Visual Studio templates• Device Drivers

• Breadboard and PC Board design (Fritzing)

Page 12: Intro to the Internet of Things using Netduino

.Net Micro Framework (NetMF)• Scaled down version of the .Net Framework• No Generics, LINQ

Page 13: Intro to the Internet of Things using Netduino

NetMF Core features

Page 14: Intro to the Internet of Things using Netduino

MFDeploy• Windows Forms app to deploy configuration changes to the Netduino firmware• Examples: IP address, WIFI settings• Update Firmware

Page 15: Intro to the Internet of Things using Netduino

Visual Studio templates

Page 16: Intro to the Internet of Things using Netduino

Demo - simpleOnboard button and LED

Page 17: Intro to the Internet of Things using Netduino

YouTube video of onboard I/O demo

https://youtu.be/52876EXYaV0

Page 18: Intro to the Internet of Things using Netduino

Demo – putting it all togetherTemperature Sensor and LCD

Page 19: Intro to the Internet of Things using Netduino

Fritzing – Breadboard and PC Board design

Page 20: Intro to the Internet of Things using Netduino

YouTube video of LCD demo

https://youtu.be/xNXZT-Zgzs0

Page 21: Intro to the Internet of Things using Netduino

Temperature sensor and display

Page 24: Intro to the Internet of Things using Netduino

Demo – InternetMVC webpage POST from Netduino – Save Temperature

Page 25: Intro to the Internet of Things using Netduino

Web POST request

Page 26: Intro to the Internet of Things using Netduino

MVC web application (temp log)

Page 27: Intro to the Internet of Things using Netduino

Production HardwareProduction example hardware - GHI Electronics• G30, G80 SoC (System on Chip, surface mount)• G120, G400 SoM (System on Module)

Page 29: Intro to the Internet of Things using Netduino

Dean Willson• Long time member of NUFW• Former President of fwPASS• Twitter: @deanwillson• Blogs: dean-o.blogspot.com, practicalhoshin.blogspot.com• LinkedIn: http://linkedin.com/in/deanwillson