Internet of Thing, is there a place for C# and .NET Framework?

Post on 06-Jan-2017

540 views 0 download

Transcript of Internet of Thing, is there a place for C# and .NET Framework?

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

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

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

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

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

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

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

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

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

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

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

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

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

+ +

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$ 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

$ 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

$ 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

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

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

what you can do

so what you can do next

thank you )

williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr

httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba

httpbitlyMFCFCWBmonobrasilcombr

get involved

so what you can do next

thank you )

williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr

httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba

httpbitlyMFCFCWBmonobrasilcombr

get involved

thank you )

williamsrzoutlookcom WilliamSRodz28bytescombr williamsrzcombr

httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba

httpbitlyMFCFCWBmonobrasilcombr

get involved

httpbitlyMonkeyNightsDevshttpbitlyDotNetCuritiba

httpbitlyMFCFCWBmonobrasilcombr

get involved