Intro to the Internet of Things using Netduino
-
Upload
dean-willson -
Category
Technology
-
view
918 -
download
1
Transcript of Intro to the Internet of Things using Netduino
![Page 1: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/1.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/2.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/3.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/4.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/5.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/6.jpg)
Netduino 3 wifi microprocessor
![Page 7: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/7.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/8.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/9.jpg)
Netduino 3 WIFI
![Page 10: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/10.jpg)
Accessorieshttp://www.amazon.com/gp/product/B00D9M4BQU?psc=1&redirect=true&ref_=oh_aui_detailpage_o09_s00
![Page 11: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/11.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/12.jpg)
.Net Micro Framework (NetMF)• Scaled down version of the .Net Framework• No Generics, LINQ
![Page 13: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/13.jpg)
NetMF Core features
![Page 14: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/14.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/15.jpg)
Visual Studio templates
![Page 16: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/16.jpg)
Demo - simpleOnboard button and LED
![Page 17: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/17.jpg)
YouTube video of onboard I/O demo
https://youtu.be/52876EXYaV0
![Page 18: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/18.jpg)
Demo – putting it all togetherTemperature Sensor and LCD
![Page 19: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/19.jpg)
Fritzing – Breadboard and PC Board design
![Page 20: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/20.jpg)
YouTube video of LCD demo
https://youtu.be/xNXZT-Zgzs0
![Page 21: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/21.jpg)
Temperature sensor and display
![Page 22: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/22.jpg)
LCD using Shift RegisterIllustration source http://weblogs.asp.net/bleroy/improving-the-netduino-knight-rider-effect-with-a-shift-register
![Page 23: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/23.jpg)
TMP36 temperature sensor• Source https://learn.adafruit.com/tmp36-temperature-sensor
![Page 24: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/24.jpg)
Demo – InternetMVC webpage POST from Netduino – Save Temperature
![Page 25: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/25.jpg)
Web POST request
![Page 26: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/26.jpg)
MVC web application (temp log)
![Page 27: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/27.jpg)
Production HardwareProduction example hardware - GHI Electronics• G30, G80 SoC (System on Chip, surface mount)• G120, G400 SoM (System on Module)
![Page 28: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/28.jpg)
References• https://www.ghielectronics.com/technologies/netmf • http://weblogs.asp.net/bleroy/improving-the-netduino-knight-rider-effect-with-a-shift-register • https://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus• https://en.wikipedia.org/wiki/Universal_asynchronous_receiver/transmitter
![Page 29: Intro to the Internet of Things using Netduino](https://reader036.fdocuments.us/reader036/viewer/2022062820/58a848401a28ab210b8b4759/html5/thumbnails/29.jpg)
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