Internet of Thing, is there a place for C# and .NET Framework?
-
Upload
william-s-rodriguez -
Category
Technology
-
view
540 -
download
0
Transcript of Internet of Thing, is there a place for C# and .NET Framework?
![Page 1: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/1.jpg)
Internet of Thingsis there a place for C and NET Framework
who is this guy
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
get involved
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
forget about Windows 10 and
IoT devicesjust for nowhellip
Windows 10 IoT Core public beta in
httpms-iotgithubiocontenten-USwin10SupportedInterfaceshtm
wee want to do something besides blinking LEDs
- Jairo Cantillo
why C amp IoT
c runs on
bunch of deviceshellip
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 2: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/2.jpg)
who is this guy
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
get involved
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
forget about Windows 10 and
IoT devicesjust for nowhellip
Windows 10 IoT Core public beta in
httpms-iotgithubiocontenten-USwin10SupportedInterfaceshtm
wee want to do something besides blinking LEDs
- Jairo Cantillo
why C amp IoT
c runs on
bunch of deviceshellip
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 3: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/3.jpg)
get involved
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
forget about Windows 10 and
IoT devicesjust for nowhellip
Windows 10 IoT Core public beta in
httpms-iotgithubiocontenten-USwin10SupportedInterfaceshtm
wee want to do something besides blinking LEDs
- Jairo Cantillo
why C amp IoT
c runs on
bunch of deviceshellip
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 4: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/4.jpg)
forget about Windows 10 and
IoT devicesjust for nowhellip
Windows 10 IoT Core public beta in
httpms-iotgithubiocontenten-USwin10SupportedInterfaceshtm
wee want to do something besides blinking LEDs
- Jairo Cantillo
why C amp IoT
c runs on
bunch of deviceshellip
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 5: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/5.jpg)
Windows 10 IoT Core public beta in
httpms-iotgithubiocontenten-USwin10SupportedInterfaceshtm
wee want to do something besides blinking LEDs
- Jairo Cantillo
why C amp IoT
c runs on
bunch of deviceshellip
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 6: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/6.jpg)
wee want to do something besides blinking LEDs
- Jairo Cantillo
why C amp IoT
c runs on
bunch of deviceshellip
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 7: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/7.jpg)
why C amp IoT
c runs on
bunch of deviceshellip
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 8: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/8.jpg)
c runs on
bunch of deviceshellip
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 9: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/9.jpg)
bunch of deviceshellip
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 10: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/10.jpg)
26 billions devices
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 11: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/11.jpg)
Mono
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 12: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/12.jpg)
bull Open source implementation of the CLR
bull Linux MacOS X Solaris BSD Wii PS3hellip
bull Started in 2001 as Ximian purchased by Novell in 2003 released in 2004
Mono
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 13: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/13.jpg)
bull 2009 MonoTouch created (released in 2010)
bull 2010 MonoDroid created (release in 2011)
bull 2011 Novel purchased by Attachmate where entire Mono team has ben sacked
bull 2011 Xamarin Startup created
Mono
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 14: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/14.jpg)
+ +
26 billions devices
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 15: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/15.jpg)
httpswwwsupergiantgamescomgamesbastion
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 16: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/16.jpg)
httpfezgamecom
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 17: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/17.jpg)
httpbitlymixradioapp
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 18: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/18.jpg)
httpbitlyDsKids
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 19: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/19.jpg)
httpmonobrasilcom
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 20: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/20.jpg)
Internet of Things
I wanna play too
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 21: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/21.jpg)
sensors actuators
gateway
interact with data
+
+
interact with the real world
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 22: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/22.jpg)
Connect All
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 23: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/23.jpg)
boards
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 24: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/24.jpg)
cubieboard2 $5900
httpcubieboardorg
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 25: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/25.jpg)
Beagle board BeagleBoneBlack
httpbeagleboardorgblack
$5500
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 26: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/26.jpg)
if there is
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 27: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/27.jpg)
Mono will run httpbitlyIoTBoardsLinux
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 28: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/28.jpg)
lets play
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 29: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/29.jpg)
Camera as the Sensor C and Raspberry Pi as Gateway
web api as interaction tool
find a problem to solve
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 30: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/30.jpg)
httpbitlyRaspi2ModelB
bull A 900MHz quad-core ARM Cortex-A7 CPU
bull 1GB RAM bull 4 USB ports bull 40 GPIO pins bull Full HDMI port bull Ethernet port bull Combined 35mm audio jack and
composite video bull Camera interface (CSI) bull Display interface (DSI) bull Micro SD card slot bull VideoCore IV 3D graphics core
R$ 24990
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 31: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/31.jpg)
bull 1 Raspberry Pi or a Raspberry Pi 2
bull 8GB ldquohard disk driverdquo
bull Ethernet cable or wifi dongle
bull Computer with SD card reader
bull Optionally USB mouse and keyboard HDMI screen
what you need for start
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 32: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/32.jpg)
bull Guide httpswwwraspberrypiorgdocumentationinstallationinstalling-imagesREADMEmd
bull OS Image httpswwwraspberrypiorgdownloadsraspbian
install OS on Raspi
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 33: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/33.jpg)
install Mono
$ sudo apt-get update$ sudo apt-get install mono-runtime
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 34: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/34.jpg)
using System
namespace Test class Program static void Main(string[] args) ConsoleWriteLine(Running on 0 EnvironmentOSVersion)
ConsoleWriteLine(Press a key to continue) ConsoleReadKey(true)
$ mcs Testcs$ mono Testexe
testing and running
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 35: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/35.jpg)
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 36: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/36.jpg)
$ sudo apt-get update$ sudo apt-get install mono-csharp-shell$ csharpMono C Shell type help for helpEnter statements below
$ LoadAssembly(RaspberryIOGeneralPurpose)$ using RaspberryIOGeneralPurpose$ var gpioConnection = new GpioConnection()
$ quit
C interactive shell
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 37: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/37.jpg)
$ using SystemIOPorts$ SerialPort sp = new SerialPort(devttyAMA0 9600)$ spIsOpenfalse
$ spOpen()$ spIsOpen true
C interactive shell
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 38: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/38.jpg)
var cameras = CamerasDeclareDevice() Named(ldquoCamera) WithDevicePath(devvideo0) Memorize()
var pictureSize = new PictureSize(640 480)
camerasGet(ldquoCamera1)SavePicture(pictureSizerdquoimagemjpg 20)
take a picture
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 39: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/39.jpg)
var req = WebRequestCreate(ldquoyour_service_urlrdquo)reqMethod = PUTreqHeadersAdd(ldquokeyrdquo ldquovalue)
var fileStream = new FileStream(ldquoapp_dirimagemjpgrdquo FileModeOpen)
push to a service
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 40: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/40.jpg)
what you can do
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 41: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/41.jpg)
so what you can do next
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 42: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/42.jpg)
thank you )
williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved
![Page 43: Internet of Thing, is there a place for C# and .NET Framework?](https://reader031.fdocuments.in/reader031/viewer/2022030306/586fb5731a28abe57d8b75a5/html5/thumbnails/43.jpg)
httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba
httpbitlyMFCFCWBmonobrasilcombr
get involved