Bruno Capuano
Innovation Manager
@elbruno
http://www.elbruno.com
Arduino Pros: Biggest Community ever
Cons: Too manual work
Netduino Pros: Same .Net Experience and VS as IDE
Cons: no so much sensors and actors
.Net
Gadgeteer
Pros: Fastest prototype ever
Cons: Smallest community and support
Intel
Galileo
Pros: Most advanced hardware, and (almost) arduino support
Cons: the product is still evolving, little support from scratch
$30
Investment!
•
•
Component Specification
Clock Speed 16MHz
Flash Memory 32K
EEPROM 1K
SRAM 2K
Analog -> Digital 6Ch 10bit
Communication SPI
Digital 14 I/O
PWM 6 Channel
(Digital)
USB
Connector
Battery
Connector
Power
Pins
Analog
Pins
Digital Pins
•
•
•
Circuit on breadboard
• Ejemplo
void setup
void loop
void setup()
{
//code1
//code2
}
void loop()
{
//code3
//code4
//code5
}
code1
code5
start
code2
code4
code3
void setup()
{
>configure output pin
>Led is OFF
}
void loop()
{
>LED is ON
>Time delay
>LED is ON
>Time Delay
}
Configure
Output pin
start
LED is off
Time delay
LED is on
Time delay
LED is off
int LED1Pin = 7;
void setup()
{
pinMode(LED1Pin, OUTPUT); //Pin 7 is output pin
digitalWrite(LED1Pin, LOW); //LED is initially low
}
void loop()
{
digitalWrite(LED1Pin, HIGH); //Turn on LED.
delay(500); //Time delay for 0.5 second.
digitalWrite(LED1Pin, LOW); //Turn off LED.
delay(250); //Time delay for 0.25 second.
}
Verify button
Note: Make sure USB-to-serial driver is installed first
Upload button
Prototypin
g
Audio / MP3
Ethernet
GPS
Servo/Stepper/
DC Motors
LCD
WIFI
Zigbee
MIDI
LED
Display
// Which pin to connect
Cpu.Pin pin = Cpu.Pin.GPIO_Pin3;
// Create a port connected to a pin
InputPort port = new InputPort(
pin, //CPU pin
false, //no glitch filter
Port.ResistorMode.PullUp //resistor mode is up
);
// Read from the pin
If (port.Read())
Debug.Print(“signal high”);
•
•
•
•
GHI Electronics
Spider Mainboard
Hydra Mainboard
Joystick
Button+LED
SD card
3.5” touchscreen
Camera
Ethernet
Multicolor LED
Potentiometer
WiFi
Bluetooth
Accelerometer
Xbee radio
Motor controller
Micro SD card
Music player
Seeed Studio
Cellular Radio
GPS
Plant moisture sensor
Accelerometer
Gyroscope
Compass
Barometer
OLED display
Pulse oximeter
High-voltage relays
Current sensor
Galvanic skin response
Sytech Designs
Nano Mainboard
4.3” touchscreen
Camera
Button+LED
Power supply
Ethernet
SD card
Accelerometer
Xbee radio
Serial 2 USB
DF Robot
Smart motor controller
Ultrasonic ranger
Line following sensor
Infrared distance sensor
Colour sensor
One type of cable
Power LED Debug LED
Reset Button
“X or Y”
• Based on the .NET Micro Framework (NETMF)
– Subset of .NET with some extra libraries to support managed
access to hardware WPF
– C#, VB coming soon.
– Remote debugging
• In addition:
– Gadgeteer Core Libraries (e.g Webserver)
– Visual Studio Graphical Designer
– Framework for mainboard and module drivers
.NET Micro Framework
Mainboard,
Sockets, Pins
Module,
Interfaces
Program
Modules
Main-
board
Timer
Color
Pictures
Storage
Program
End User
Hardware
Manufacturers
GadgeteerCore
NETMF
Note: Italics denotes abstract classSOURCE
High level API with inline docs
Event driven rather than while(true)
Next level of abstraction easily accessed
Provided
templates
make it easy
…
…
including
building
installers
http://netmf.com/gadgeteer/
Index of hardware from any
manufacturer
Example projects
Forums
http://gadgeteer.codeplex.com/
Project documentation Open source for SW + HW Core and Builder MSIs
• Shutter button
• Displays picture on screen
• Stores picture in SD Card
http://windowsondevices.com/
http://aka.ms/msmb http://aka.ms/msscb
http://aka.ms/wchdb
http://aka.ms/wchdblive
2015 02 28 DotNetSpain IoT Fight
2015 02 28 DotNetSpain IoT Fight
2015 02 28 DotNetSpain IoT Fight
2015 02 28 DotNetSpain IoT Fight

2015 02 28 DotNetSpain IoT Fight