#1 DIGITAL MAKER – NEW TECHNOLOGY BEHIND THE IOT
“Internet of things” is on everyone's lips. Most
know that it is about connecting your fridge
with your smartphone or your coffee-maker
with your alarm clock. A huge market is
emerging. But only few understand the
hardware behind the measurement/sensors
and respective visualization. Learn how easy,
cheap and fast it is to build working
prototypes for your idea.
At the end of this hands-on workshop you will
have created a working prototype including
an Arduino microcontroller, buttons, LEDs,
resistors and all those things you won't
normally touch without asking your favorite
electrician. 
INTERNET OF THINGS
o connected objects (“things”)
o autonomous communication
o variety of scenarios
o infrastructure and energy management
o medical and health monitoring
o home automation
o …
o privacy and autonomy?
#2 INTERNET OF THINGS – BACKGROUND
1 WHAT IS IT?
#3 IoT MARKET – JUST AN IDEA?
#4 IoT MARKET – WHAT WILL BE YOUR FIRST DEVICE?
o input & output devices
o multiple sensors
o several methods for
actuation and feedback
1 USER INTERFACE
#5 BEHIND THE SCENES – I/O
o mini-computers, micro-controllers
o run programs, analyze, calculate, do things no (normal) human understands
o control the sensors / actuator
#6 BEHIND THE SCENES – CONTROLLER
o Network hardware (Wifi, LAN,
Bluetooth, GSM, Zigbee, …)
o realize connection and
communication to servers,
input/output devices, other
things, clients, …
1 COMMUNICATION BACKBONE
#7 BEHIND THE SCENES – NETWORK
o prototyping helps ...
o … to know your users
o … to know the deployment
scenario
o possibility for quick and cheap
adjustments
o prototyping hardware
o Arduino
o Raspberry Pi
o BeagleBone
o Teensy
#8 PROTOTYPING IoT– POWER OF THE PROTOTYPE
o Wikipedia lists about 100 Arduino boards or
Arduino compatible boards/clones
o 5 million Raspberry PIs sold
o 3D printers will grow from a $288 million
market in 2012 to $5.7 billion in 2017
o DIY Drone community: 15,000 drones vs.
military forces: 7,000 “professional” drones
o By 2025, crowdfunding investment market
is projected to reach $93 billion
1 NICE TO KNOW FACTS
#9 PROTOTYPING / DIY – NUMBERS BESIDE THE GEEK STUFF
EXAMPLES – AND COOL STUFF YOU CAN DO WITH ARDUINO & CO.
#10 EXAMPLES – BLOWFISH
#11 EXAMPLES – DIY DRONES
#12 EXAMPLES – MY IoT
HANDS ON
o Blink example (LED)
o Switch example (LED + Switch)
o Controller example (LED + Poti)
#13 HANDS ON – BLINK
#14 HANDS ON – SKETCH
// the setup function runs once when you press reset or power
the board
void setup() {
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
// turn the LED on (HIGH is the voltage level)
digitalWrite(13, HIGH);
// wait for a second
delay(1000);
// turn the LED off by making the voltage LOW
digitalWrite(13, LOW);
// wait for a second
delay(1000);
}
#15 HANDS ON – CODE
#16 HANDS ON – SWITCH
#17 HANDS ON – SKETCH
// the setup function runs once when you press reset or power
the board
void setup() {
//...
// initialize the pushbutton pin as an input:
pinMode(2, INPUT);
}
// the loop function runs over and over again forever
void loop() {
// read the state [0;1] of the pushbutton value:
buttonState = digitalRead(buttonPin);
// check if the pushbutton is pressed.
// if it is, the buttonState is HIGH:
if(buttonState == HIGH){
//... see blink example
}
}
#18 HANDS ON – CODE
#19 HANDS ON – POTI
#20 HANDS ON – SKETCH
// the setup function runs once when you press reset or power
the board
void setup() {
//...
}
// the loop function runs over and over again forever
void loop() {
// ...
if(buttonState == HIGH){
// read the value from the sensor [0-1023]
timeout = analogRead(A0)
// ...
}
}
#21 HANDS ON – CODE
o Questions?
o Feedback?
o Ideas (what I could do next
weekend)?
#22 THE END – NETWORKING DRINKS AHEAD!
o Slide 1, "The impact of maker movement", https://s3.amazonaws.com/ksr/projects/549410/photo-main.jpg?1397819840
o Slide 4, "Internet of things", http://commons.wikimedia.org/wiki/File:Internet_of_Things.jpg
o Slide 5/7/9, "What Exactly Is The 'Internet of Things'?", http://d3uifzcxlzuvqz.cloudfront.net/images/stories/content/infographic/IoT-Infographic/postscapes-
harbor-iot-infographics.jpg
o Slide 6, "Statista - Internet of things to hit the mainstream by 2020", http://www.statista.com/chart/2936/internet-of-things-to-hit-the-mainstream-by-2020/
o Slide 8, "Circuits wallpaper", http://hqwallbase.com/images/big/circuits_wallpaper-3053.jpg
o Slide 14, "Blowfish", https://sketchingwithhardware.wordpress.com/2012/04/06/blowfish-dont-scare-it-or-it-puffs-up/
o Slide 15, "Ardupilot", http://copter.ardupilot.com/
o Slide 15, "Quadropod", http://www.instructables.com/id/Speech-Controlled-Quadropod/?lang=de
o Slide 16, "Internet of Things toilet", http://www.instructables.com/id/Internet-of-Things-Toilet-Uploads-Events-to-the-Cl/
o Slide 16, "Raspberry Pi microwave", http://www.raspberrypi.org/the-raspberry-pi-microwave/
#23 THE END – Sources

YOTG Munich - Simon Mang - SixReasons - Hardware prototyping – Sketching with hardware

  • 2.
    #1 DIGITAL MAKER– NEW TECHNOLOGY BEHIND THE IOT “Internet of things” is on everyone's lips. Most know that it is about connecting your fridge with your smartphone or your coffee-maker with your alarm clock. A huge market is emerging. But only few understand the hardware behind the measurement/sensors and respective visualization. Learn how easy, cheap and fast it is to build working prototypes for your idea. At the end of this hands-on workshop you will have created a working prototype including an Arduino microcontroller, buttons, LEDs, resistors and all those things you won't normally touch without asking your favorite electrician. 
  • 3.
  • 4.
    o connected objects(“things”) o autonomous communication o variety of scenarios o infrastructure and energy management o medical and health monitoring o home automation o … o privacy and autonomy? #2 INTERNET OF THINGS – BACKGROUND 1 WHAT IS IT?
  • 5.
    #3 IoT MARKET– JUST AN IDEA?
  • 6.
    #4 IoT MARKET– WHAT WILL BE YOUR FIRST DEVICE?
  • 7.
    o input &output devices o multiple sensors o several methods for actuation and feedback 1 USER INTERFACE #5 BEHIND THE SCENES – I/O
  • 8.
    o mini-computers, micro-controllers orun programs, analyze, calculate, do things no (normal) human understands o control the sensors / actuator #6 BEHIND THE SCENES – CONTROLLER
  • 9.
    o Network hardware(Wifi, LAN, Bluetooth, GSM, Zigbee, …) o realize connection and communication to servers, input/output devices, other things, clients, … 1 COMMUNICATION BACKBONE #7 BEHIND THE SCENES – NETWORK
  • 10.
    o prototyping helps... o … to know your users o … to know the deployment scenario o possibility for quick and cheap adjustments o prototyping hardware o Arduino o Raspberry Pi o BeagleBone o Teensy #8 PROTOTYPING IoT– POWER OF THE PROTOTYPE
  • 11.
    o Wikipedia listsabout 100 Arduino boards or Arduino compatible boards/clones o 5 million Raspberry PIs sold o 3D printers will grow from a $288 million market in 2012 to $5.7 billion in 2017 o DIY Drone community: 15,000 drones vs. military forces: 7,000 “professional” drones o By 2025, crowdfunding investment market is projected to reach $93 billion 1 NICE TO KNOW FACTS #9 PROTOTYPING / DIY – NUMBERS BESIDE THE GEEK STUFF
  • 12.
    EXAMPLES – ANDCOOL STUFF YOU CAN DO WITH ARDUINO & CO.
  • 13.
  • 14.
    #11 EXAMPLES –DIY DRONES
  • 15.
  • 16.
    HANDS ON o Blinkexample (LED) o Switch example (LED + Switch) o Controller example (LED + Poti)
  • 17.
    #13 HANDS ON– BLINK
  • 18.
    #14 HANDS ON– SKETCH
  • 19.
    // the setupfunction runs once when you press reset or power the board void setup() { // initialize digital pin 13 as an output. pinMode(13, OUTPUT); } // the loop function runs over and over again forever void loop() { // turn the LED on (HIGH is the voltage level) digitalWrite(13, HIGH); // wait for a second delay(1000); // turn the LED off by making the voltage LOW digitalWrite(13, LOW); // wait for a second delay(1000); } #15 HANDS ON – CODE
  • 20.
    #16 HANDS ON– SWITCH
  • 21.
    #17 HANDS ON– SKETCH
  • 22.
    // the setupfunction runs once when you press reset or power the board void setup() { //... // initialize the pushbutton pin as an input: pinMode(2, INPUT); } // the loop function runs over and over again forever void loop() { // read the state [0;1] of the pushbutton value: buttonState = digitalRead(buttonPin); // check if the pushbutton is pressed. // if it is, the buttonState is HIGH: if(buttonState == HIGH){ //... see blink example } } #18 HANDS ON – CODE
  • 23.
    #19 HANDS ON– POTI
  • 24.
    #20 HANDS ON– SKETCH
  • 25.
    // the setupfunction runs once when you press reset or power the board void setup() { //... } // the loop function runs over and over again forever void loop() { // ... if(buttonState == HIGH){ // read the value from the sensor [0-1023] timeout = analogRead(A0) // ... } } #21 HANDS ON – CODE
  • 26.
    o Questions? o Feedback? oIdeas (what I could do next weekend)? #22 THE END – NETWORKING DRINKS AHEAD!
  • 27.
    o Slide 1,"The impact of maker movement", https://s3.amazonaws.com/ksr/projects/549410/photo-main.jpg?1397819840 o Slide 4, "Internet of things", http://commons.wikimedia.org/wiki/File:Internet_of_Things.jpg o Slide 5/7/9, "What Exactly Is The 'Internet of Things'?", http://d3uifzcxlzuvqz.cloudfront.net/images/stories/content/infographic/IoT-Infographic/postscapes- harbor-iot-infographics.jpg o Slide 6, "Statista - Internet of things to hit the mainstream by 2020", http://www.statista.com/chart/2936/internet-of-things-to-hit-the-mainstream-by-2020/ o Slide 8, "Circuits wallpaper", http://hqwallbase.com/images/big/circuits_wallpaper-3053.jpg o Slide 14, "Blowfish", https://sketchingwithhardware.wordpress.com/2012/04/06/blowfish-dont-scare-it-or-it-puffs-up/ o Slide 15, "Ardupilot", http://copter.ardupilot.com/ o Slide 15, "Quadropod", http://www.instructables.com/id/Speech-Controlled-Quadropod/?lang=de o Slide 16, "Internet of Things toilet", http://www.instructables.com/id/Internet-of-Things-Toilet-Uploads-Events-to-the-Cl/ o Slide 16, "Raspberry Pi microwave", http://www.raspberrypi.org/the-raspberry-pi-microwave/ #23 THE END – Sources