SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Downloaden Sie, um offline zu lesen
A Brief Introduction to 
Making your own Thing. 
Stephen Harrison 
@TinamousSteve
A Brief Introduction to Me 
• Stephen Harrison @TinamousSteve 
• 20 years ago connecting blood gas analysers using 
RS232 to Q-Pro 
• C# Contractor developing connectivity solutions for 
medical devices. 
• Founder of Tinamous.com 
• A Private Twitter like platform for People and Things.
Aim 
• Introduction to IoT 
• Look at some embedded platforms ideal for IoT 
• Introduction to the world of Arduino 
• See how to develop a Thing using an Arduino 
• Introduction to the Gadgeteer 
• Getting started coding and debug the Gadgeteer
Internet of Things 
• What is a (IoT) Thing? 
• Major Hype 
• At the Peak of Inflated Expectations 
• Next stop… 
• Trough of Disillusionment  
• Twitter -> #IoT #Lots! 
• Large Maker community 
• Developing hardware can be great fun 
• But also a special kind of hell…
Selecting a board? 
• Real time OS 
• Power 
• Fairy dust, Battery, Solar, USB, PoE, Wall Wart? 
• Internet 
• Wired, WiFi, BLE, XBee, SD Card 
• Infield updates 
• Can you update the code when deployed? 
• 5V / 3V3 IO 
• Component/shield compatibility 
• Processor and Ram 
• Enclosure
The Arduino 
• Main form factors 
• Standard – Note the wonky pinout! 
• Mini 
• Due/Mega 
• Many other (LilyPad / Nano / Fio) 
• Uses stackable shields to extend functionality 
• Boot loader so it is easy to connect and program. 
• Plug in USB and go.
Arduino Uno R3 
• 16MHz 
• 32KB Flash 
• 2k SRAM 
• 1KB EEPROM 
• 14 Digital IO 
• LEDs, Switches, etc. 
• 40mA per IO Pin 
• 6 PWM 
• 6 Analog Inputs 
• Light, temperature etc. 
• 10 bits 4.9mV resolution 
• No on-board Ethernet/WiFi 
• £18
Arduino Yún 
• Built in Ethernet and WiFi 
• Supports Power over Ethernet. 
• 802.3af – 15W – 12.5W usable. 
• Has a second processor running OpenWrt 
• 16MHz + 400MHz 
• 2.5K + 64MB Ram 
• 20x 5V 40mA IO just like the Uno. 
• £46
Arduino – Custom Versions 
• Open source hardware based on the Amtel Mega 
• Download Schema & PCB design from Arduino.cc 
• Very simple to make your own board, ATmega328 
available in through hole version. 
• Examples: 
• Rapiro 
• 3D Printers & CNC 
• Seeduino Stalker 
• Standalone Relay
Seeduino Stalker
Raspberry Pi 
• Hopefully doesn’t need to much of an introduction! 
• Checkout CamJam.me and PiWars.org – 6th December in Cambridge. 
• 700MHz CPU 
• 512MB 
• On-board Ethernet 
• HDMI 
• USB Host (WiFi, Mouse, Keyboard etc.) 
• 40Way header for expansion (HAT) 
• 8 GPIO 
• UART, I2C, SPI support. 
• Power (3v3 and 5v) 
• No Analog (ADC or DAC) 
• Not real time 
• £24 
Photo: http://www.raspberrypi.org/
Spark Core 
• Cortex M3 (32Bit, 82MHz) 
• 128KB Flash, 20KB ram 
• WiFi only 
• Spark Web IDE 
• Node.js, Ruby, Python and more! 
• Command line interface 
• Optional self hosting 
• 8 Digital IO 
• 8 Analog 
• £34 
• https://www.spark.io/
A brief introduction to making your own (Internet of Things) Thing
Teensy 
• Cortex M4 – 72 MHz 
• 64KB Ram 
• 256K Flash 
• Great IO 
• 9 Touch 
• 34 Digital IO 
• 21 Analog Inputs (2 ADCs) 
• 3v3. Most pins 5V tolerant 
• 12 Bit DAC 
• CAN Bus 
• Supported by Arduino IDE 
• No on-board internet 
• £18
Microsoft and IoT 
• Microsoft developed a Smart Watch (ca. 2004!) 
• Are smart watches cool yet? 
• SPOT watch became .Net Micro Framework 
• .Net Micro Framework went open source 
• .Net Micro Framework + Arduino form factor = ?
Netduino 
• STMicro 168MHz Cortex M4 
• 384KB Flash + 100KB RAM 
• 10M wired Ethernet 
• 20 IO (14 Digital + 6 Analog) 
• 25mA per pin 
• 3v3 but 5V tolerant 
• 2 UARTS 
• 6 PWM 
• Open software and hardware 
• £38 
• http://Netduino.com
Gadgeteer 
• MSR Cambridge 
• .Net Micro Framework platform 
• Standard rules for sockets and boards 
• Boards from various companies: 
• GHI Electronics 
• Mountaineer 
• Solderless design 
• Some connector boards 
• 10 Pin IDC connector. 
• Not 0.1” pitch    
• Open Source
FEZ Cerberus 
• 168MHz Cortex M4 
• 384KB Flash 
• 104K Ram 
• 8 Sockets 
• 44 GPIO 
• 2 UARTS 
• 9 Analog 
• Doesn’t support WiFi module 
• No native Ethernet 
• No RGBT display 
• Open Source Hardware 
• £15 
• https://www.ghielectronics.com/catalog/product/349
FEZ Spider 
• 72MHz ARM7 
• 2.5MB Flash 
• 11MB Ram 
• 14 Sockets 
• 74 GPIO 
• 6 Analog 
• 4 UART 
• Touch Display Support (RGB+T) 
• Native Ethernet support 
• £75 (Now $60 from GHI) 
• https://www.ghielectronics.com/catalog/product/269
So many other IoT boards… 
• Probably a new one since I started! 
• Microsoft introducing new boards 
• Sharks Cove 
• MinnowBoard Max 
• Intel 
• TI 
• Kickstarter 
• Many more Arduino variants 
• Find the one(s) that works for you! 
• You can use more than one in a project 
Picture stolen from minnowboard.org
Arduino Coding 
• Based on Processing (C/C++) 
• Pointers! 
• Arduino IDE. 
• Plugins for Visual Studio & Eclipse 
• Getting Started 
• Software: 10 Print “Hello World” 
• Hardware: BlinkLED(); 
• IoT: ReadTemperature(); 
• Example: Hello World++ 
• NeoPixel LEDs 
• Single signal wire + Power 
• But… VERY timing sensitive – needs RTOS
A brief introduction to making your own (Internet of Things) Thing
A brief introduction to making your own (Internet of Things) Thing
Gadgeteer Coding 
• C# and VB.Net 
• .Net Micro Framework 
• Similar to .Net 1.x 
• No Generics, Nullables (int?) or Anonymous types 
• Open Sourced on CodePlex  
• Very limited functionality 
• No NUnit support  
• Uses VS2012 
• R# works 
• NuGet works 
• Not real time 
• Uses GC 
• Can’t drive some things like NeoPixels
Gadgeteer Example 
• Automated Sprinkler System 
• Use water from water butt 
• Water when ground is dry 
• Water only when dark 
• Or when instructed from Tinamous message 
• Record Moisture and Light levels 
• VS2012 + GHI SDK + .Net Micro Framework 4.3 
• FEZ Cerberus board with: 
• X1 Relay 
• DP USB Client Power 
• Moisture Sensor 
• Light Sensor 
• ENC28 Ethernet
The set-up
Enhance the Sprinkler 
• Check if it’s going to rain in the next 2 hours 
• Internet weather service 
• Netatmo API – see if it is raining locally 
• Measure humidity 
• Multiple moisture sensors 
• Measure water level in water butt 
• Top-up if needed from tap. 
• Water is it is about to over flow 
• Measure Temperature, Humidity, UV levels etc. 
• Monitor soil chemistry (pH etc.) 
• Add dosages of chemicals as needed.
Summary 
• We looked at some of the boards available 
• Made a Arduino project 
• Made a Gadgeteer project
Homework 
• GitHub.com/Tinamous 
• Node Red -> http://nodered.org 
• MQTT -> http://MQTT.org 
• Tinamous.com  
• https://Demo.Tinamous.com 
• Sharks Cove 
• MinnowBoard Max 
• https://www.ghielectronics.com 
• https://www.tindie.com/ 
• http://www.CoolComponents.co.uk 
• Cambridge MakeSpace -> http://makespace.org
Thank You! 
Questions -> @TinamousSteve 
Don’t forget to drop by the Tinamous Stand. 
We have Haribo!

Weitere ähnliche Inhalte

Andere mochten auch

Introduction to Internet of Things
Introduction to Internet of ThingsIntroduction to Internet of Things
Introduction to Internet of ThingsYe Min Khaung
 
Introduction to Internet of Things
Introduction to Internet of ThingsIntroduction to Internet of Things
Introduction to Internet of Thingsrjain51
 
Internet of Things - introduction
Internet of Things - introductionInternet of Things - introduction
Internet of Things - introductionLukasz Paciorkowski
 
Internet of things - Introduction and Variations (Architecture)
Internet of things - Introduction and Variations (Architecture)Internet of things - Introduction and Variations (Architecture)
Internet of things - Introduction and Variations (Architecture)Mayank Vijh
 
Introduction to internet of things
Introduction to internet of thingsIntroduction to internet of things
Introduction to internet of thingsBhargavi Padmaraju
 
An Introduction to Internet of things
An Introduction to Internet of thingsAn Introduction to Internet of things
An Introduction to Internet of thingsRoby Rock
 
Introduction to ibm internet of things foundation
Introduction to ibm internet of things foundationIntroduction to ibm internet of things foundation
Introduction to ibm internet of things foundationBernard Kufluk
 
Introduction to Internet of things
Introduction to Internet of thingsIntroduction to Internet of things
Introduction to Internet of thingsRehmat Ullah
 
Wi-Fi For Beginners - Module 1- What is WiFi?
Wi-Fi For Beginners - Module 1- What is WiFi?Wi-Fi For Beginners - Module 1- What is WiFi?
Wi-Fi For Beginners - Module 1- What is WiFi?Nigel Bowden
 
Wireless Fidelity (WiFi)
Wireless Fidelity (WiFi)Wireless Fidelity (WiFi)
Wireless Fidelity (WiFi)Hem Pokhrel
 
IoT - IT 423 ppt
IoT - IT 423 pptIoT - IT 423 ppt
IoT - IT 423 pptMhae Lyn
 

Andere mochten auch (12)

Introduction to Internet of Things
Introduction to Internet of ThingsIntroduction to Internet of Things
Introduction to Internet of Things
 
Introduction to Internet of Things
Introduction to Internet of ThingsIntroduction to Internet of Things
Introduction to Internet of Things
 
Internet of Things - introduction
Internet of Things - introductionInternet of Things - introduction
Internet of Things - introduction
 
Internet of things - Introduction and Variations (Architecture)
Internet of things - Introduction and Variations (Architecture)Internet of things - Introduction and Variations (Architecture)
Internet of things - Introduction and Variations (Architecture)
 
Introduction to internet of things
Introduction to internet of thingsIntroduction to internet of things
Introduction to internet of things
 
An Introduction to Internet of things
An Introduction to Internet of thingsAn Introduction to Internet of things
An Introduction to Internet of things
 
Introduction to ibm internet of things foundation
Introduction to ibm internet of things foundationIntroduction to ibm internet of things foundation
Introduction to ibm internet of things foundation
 
Introduction to Internet of things
Introduction to Internet of thingsIntroduction to Internet of things
Introduction to Internet of things
 
Wi-Fi For Beginners - Module 1- What is WiFi?
Wi-Fi For Beginners - Module 1- What is WiFi?Wi-Fi For Beginners - Module 1- What is WiFi?
Wi-Fi For Beginners - Module 1- What is WiFi?
 
Wireless Fidelity (WiFi)
Wireless Fidelity (WiFi)Wireless Fidelity (WiFi)
Wireless Fidelity (WiFi)
 
Wi-Fi Technology
Wi-Fi TechnologyWi-Fi Technology
Wi-Fi Technology
 
IoT - IT 423 ppt
IoT - IT 423 pptIoT - IT 423 ppt
IoT - IT 423 ppt
 

Ähnlich wie A brief introduction to making your own (Internet of Things) Thing

Single chip computer for iot application
Single chip computer for iot application Single chip computer for iot application
Single chip computer for iot application iotleague
 
Raspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker MovementRaspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker Movementsrmonk
 
R0boCamp2016 Гліб Вінніков Home automation by ESP8266
R0boCamp2016  Гліб Вінніков  Home automation by ESP8266R0boCamp2016  Гліб Вінніков  Home automation by ESP8266
R0boCamp2016 Гліб Вінніков Home automation by ESP8266Lviv Startup Club
 
Robots conf microcontroller and iot survey
Robots conf   microcontroller and iot surveyRobots conf   microcontroller and iot survey
Robots conf microcontroller and iot surveyMatt Haines
 
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014Alec Tucker
 
Build IoT Applications with C#
Build IoT Applications with C#Build IoT Applications with C#
Build IoT Applications with C#Ken Samson, MISM
 
SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaNicolas Lesconnec
 
IoT fun with Raspberry Pi and .NET
IoT fun with Raspberry Pi and .NETIoT fun with Raspberry Pi and .NET
IoT fun with Raspberry Pi and .NETChristos Matskas
 
Esp8266 NodeMCU
Esp8266 NodeMCUEsp8266 NodeMCU
Esp8266 NodeMCUroadster43
 
Building a robot with the .Net Micro Framework
Building a robot with the .Net Micro FrameworkBuilding a robot with the .Net Micro Framework
Building a robot with the .Net Micro FrameworkDucas Francis
 
Getting Started with Raspberry Pi
Getting Started with Raspberry PiGetting Started with Raspberry Pi
Getting Started with Raspberry Piyeokm1
 
Internet of things
Internet of thingsInternet of things
Internet of thingsBrockanurag
 
Swarm of temperature monitoring sensors - Ixia Connect #2
Swarm of temperature monitoring sensors - Ixia Connect #2Swarm of temperature monitoring sensors - Ixia Connect #2
Swarm of temperature monitoring sensors - Ixia Connect #2IxiaRomania
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoRichard Rixham
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoPreet Sangha
 
DIY Technology for the Internet of Things
DIY Technology for the Internet of ThingsDIY Technology for the Internet of Things
DIY Technology for the Internet of Thingssrmonk
 
IoT Programming on the Raspberry Pi
IoT Programming on the Raspberry PiIoT Programming on the Raspberry Pi
IoT Programming on the Raspberry PiDamien Magoni
 

Ähnlich wie A brief introduction to making your own (Internet of Things) Thing (20)

SIGFOX Makers Tour - Madrid
SIGFOX Makers Tour - MadridSIGFOX Makers Tour - Madrid
SIGFOX Makers Tour - Madrid
 
Single chip computer for iot application
Single chip computer for iot application Single chip computer for iot application
Single chip computer for iot application
 
Raspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker MovementRaspberry Pi, Arduino and the Maker Movement
Raspberry Pi, Arduino and the Maker Movement
 
R0boCamp2016 Гліб Вінніков Home automation by ESP8266
R0boCamp2016  Гліб Вінніков  Home automation by ESP8266R0boCamp2016  Гліб Вінніков  Home automation by ESP8266
R0boCamp2016 Гліб Вінніков Home automation by ESP8266
 
Robots conf microcontroller and iot survey
Robots conf   microcontroller and iot surveyRobots conf   microcontroller and iot survey
Robots conf microcontroller and iot survey
 
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
Internet of Things, Mobility & .Net Micro Framework SydMobNet March 2014
 
Build IoT Applications with C#
Build IoT Applications with C#Build IoT Applications with C#
Build IoT Applications with C#
 
SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - Barcelona
 
IoT fun with Raspberry Pi and .NET
IoT fun with Raspberry Pi and .NETIoT fun with Raspberry Pi and .NET
IoT fun with Raspberry Pi and .NET
 
Esp8266 NodeMCU
Esp8266 NodeMCUEsp8266 NodeMCU
Esp8266 NodeMCU
 
Building a robot with the .Net Micro Framework
Building a robot with the .Net Micro FrameworkBuilding a robot with the .Net Micro Framework
Building a robot with the .Net Micro Framework
 
Getting Started with Raspberry Pi
Getting Started with Raspberry PiGetting Started with Raspberry Pi
Getting Started with Raspberry Pi
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Swarm of temperature monitoring sensors - Ixia Connect #2
Swarm of temperature monitoring sensors - Ixia Connect #2Swarm of temperature monitoring sensors - Ixia Connect #2
Swarm of temperature monitoring sensors - Ixia Connect #2
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
WOver
WOverWOver
WOver
 
Windows 10 IoT Core
Windows 10 IoT CoreWindows 10 IoT Core
Windows 10 IoT Core
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
DIY Technology for the Internet of Things
DIY Technology for the Internet of ThingsDIY Technology for the Internet of Things
DIY Technology for the Internet of Things
 
IoT Programming on the Raspberry Pi
IoT Programming on the Raspberry PiIoT Programming on the Raspberry Pi
IoT Programming on the Raspberry Pi
 

Kürzlich hochgeladen

Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/MLBig Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/MLAlluxio, Inc.
 
IA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeIA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeNeo4j
 
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales CoverageSales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales CoverageDista
 
Why Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdfWhy Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdfBrain Inventory
 
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...Jaydeep Chhasatia
 
Webinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.pptWebinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.pptkinjal48
 
JS-Experts - Cybersecurity for Generative AI
JS-Experts - Cybersecurity for Generative AIJS-Experts - Cybersecurity for Generative AI
JS-Experts - Cybersecurity for Generative AIIvo Andreev
 
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine HarmonyLeveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmonyelliciumsolutionspun
 
AI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human BeautyAI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human BeautyRaymond Okyere-Forson
 
How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?AmeliaSmith90
 
Watermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security ChallengesWatermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security ChallengesShyamsundar Das
 
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdfARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdfTobias Schneck
 
online pdf editor software solutions.pdf
online pdf editor software solutions.pdfonline pdf editor software solutions.pdf
online pdf editor software solutions.pdfMeon Technology
 
Fields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptxFields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptxJoão Esperancinha
 
Introduction-to-Software-Development-Outsourcing.pptx
Introduction-to-Software-Development-Outsourcing.pptxIntroduction-to-Software-Development-Outsourcing.pptx
Introduction-to-Software-Development-Outsourcing.pptxIntelliSource Technologies
 
Generative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-CouncilGenerative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-CouncilVICTOR MAESTRE RAMIREZ
 
Kawika Technologies pvt ltd Software Development Company in Trivandrum
Kawika Technologies pvt ltd Software Development Company in TrivandrumKawika Technologies pvt ltd Software Development Company in Trivandrum
Kawika Technologies pvt ltd Software Development Company in TrivandrumKawika Technologies
 
Enterprise Document Management System - Qualityze Inc
Enterprise Document Management System - Qualityze IncEnterprise Document Management System - Qualityze Inc
Enterprise Document Management System - Qualityze Incrobinwilliams8624
 
Cybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and BadCybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and BadIvo Andreev
 
Top Software Development Trends in 2024
Top Software Development Trends in  2024Top Software Development Trends in  2024
Top Software Development Trends in 2024Mind IT Systems
 

Kürzlich hochgeladen (20)

Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/MLBig Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
Big Data Bellevue Meetup | Enhancing Python Data Loading in the Cloud for AI/ML
 
IA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG timeIA Generativa y Grafos de Neo4j: RAG time
IA Generativa y Grafos de Neo4j: RAG time
 
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales CoverageSales Territory Management: A Definitive Guide to Expand Sales Coverage
Sales Territory Management: A Definitive Guide to Expand Sales Coverage
 
Why Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdfWhy Choose Brain Inventory For Ecommerce Development.pdf
Why Choose Brain Inventory For Ecommerce Development.pdf
 
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
Optimizing Business Potential: A Guide to Outsourcing Engineering Services in...
 
Webinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.pptWebinar_050417_LeClair12345666777889.ppt
Webinar_050417_LeClair12345666777889.ppt
 
JS-Experts - Cybersecurity for Generative AI
JS-Experts - Cybersecurity for Generative AIJS-Experts - Cybersecurity for Generative AI
JS-Experts - Cybersecurity for Generative AI
 
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine HarmonyLeveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
Leveraging DxSherpa's Generative AI Services to Unlock Human-Machine Harmony
 
AI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human BeautyAI Embracing Every Shade of Human Beauty
AI Embracing Every Shade of Human Beauty
 
How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?How Does the Epitome of Spyware Differ from Other Malicious Software?
How Does the Epitome of Spyware Differ from Other Malicious Software?
 
Watermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security ChallengesWatermarking in Source Code: Applications and Security Challenges
Watermarking in Source Code: Applications and Security Challenges
 
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdfARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
ARM Talk @ Rejekts - Will ARM be the new Mainstream in our Data Centers_.pdf
 
online pdf editor software solutions.pdf
online pdf editor software solutions.pdfonline pdf editor software solutions.pdf
online pdf editor software solutions.pdf
 
Fields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptxFields in Java and Kotlin and what to expect.pptx
Fields in Java and Kotlin and what to expect.pptx
 
Introduction-to-Software-Development-Outsourcing.pptx
Introduction-to-Software-Development-Outsourcing.pptxIntroduction-to-Software-Development-Outsourcing.pptx
Introduction-to-Software-Development-Outsourcing.pptx
 
Generative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-CouncilGenerative AI for Cybersecurity - EC-Council
Generative AI for Cybersecurity - EC-Council
 
Kawika Technologies pvt ltd Software Development Company in Trivandrum
Kawika Technologies pvt ltd Software Development Company in TrivandrumKawika Technologies pvt ltd Software Development Company in Trivandrum
Kawika Technologies pvt ltd Software Development Company in Trivandrum
 
Enterprise Document Management System - Qualityze Inc
Enterprise Document Management System - Qualityze IncEnterprise Document Management System - Qualityze Inc
Enterprise Document Management System - Qualityze Inc
 
Cybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and BadCybersecurity Challenges with Generative AI - for Good and Bad
Cybersecurity Challenges with Generative AI - for Good and Bad
 
Top Software Development Trends in 2024
Top Software Development Trends in  2024Top Software Development Trends in  2024
Top Software Development Trends in 2024
 

A brief introduction to making your own (Internet of Things) Thing

  • 1. A Brief Introduction to Making your own Thing. Stephen Harrison @TinamousSteve
  • 2. A Brief Introduction to Me • Stephen Harrison @TinamousSteve • 20 years ago connecting blood gas analysers using RS232 to Q-Pro • C# Contractor developing connectivity solutions for medical devices. • Founder of Tinamous.com • A Private Twitter like platform for People and Things.
  • 3. Aim • Introduction to IoT • Look at some embedded platforms ideal for IoT • Introduction to the world of Arduino • See how to develop a Thing using an Arduino • Introduction to the Gadgeteer • Getting started coding and debug the Gadgeteer
  • 4. Internet of Things • What is a (IoT) Thing? • Major Hype • At the Peak of Inflated Expectations • Next stop… • Trough of Disillusionment  • Twitter -> #IoT #Lots! • Large Maker community • Developing hardware can be great fun • But also a special kind of hell…
  • 5. Selecting a board? • Real time OS • Power • Fairy dust, Battery, Solar, USB, PoE, Wall Wart? • Internet • Wired, WiFi, BLE, XBee, SD Card • Infield updates • Can you update the code when deployed? • 5V / 3V3 IO • Component/shield compatibility • Processor and Ram • Enclosure
  • 6. The Arduino • Main form factors • Standard – Note the wonky pinout! • Mini • Due/Mega • Many other (LilyPad / Nano / Fio) • Uses stackable shields to extend functionality • Boot loader so it is easy to connect and program. • Plug in USB and go.
  • 7. Arduino Uno R3 • 16MHz • 32KB Flash • 2k SRAM • 1KB EEPROM • 14 Digital IO • LEDs, Switches, etc. • 40mA per IO Pin • 6 PWM • 6 Analog Inputs • Light, temperature etc. • 10 bits 4.9mV resolution • No on-board Ethernet/WiFi • £18
  • 8. Arduino Yún • Built in Ethernet and WiFi • Supports Power over Ethernet. • 802.3af – 15W – 12.5W usable. • Has a second processor running OpenWrt • 16MHz + 400MHz • 2.5K + 64MB Ram • 20x 5V 40mA IO just like the Uno. • £46
  • 9. Arduino – Custom Versions • Open source hardware based on the Amtel Mega • Download Schema & PCB design from Arduino.cc • Very simple to make your own board, ATmega328 available in through hole version. • Examples: • Rapiro • 3D Printers & CNC • Seeduino Stalker • Standalone Relay
  • 11. Raspberry Pi • Hopefully doesn’t need to much of an introduction! • Checkout CamJam.me and PiWars.org – 6th December in Cambridge. • 700MHz CPU • 512MB • On-board Ethernet • HDMI • USB Host (WiFi, Mouse, Keyboard etc.) • 40Way header for expansion (HAT) • 8 GPIO • UART, I2C, SPI support. • Power (3v3 and 5v) • No Analog (ADC or DAC) • Not real time • £24 Photo: http://www.raspberrypi.org/
  • 12. Spark Core • Cortex M3 (32Bit, 82MHz) • 128KB Flash, 20KB ram • WiFi only • Spark Web IDE • Node.js, Ruby, Python and more! • Command line interface • Optional self hosting • 8 Digital IO • 8 Analog • £34 • https://www.spark.io/
  • 14. Teensy • Cortex M4 – 72 MHz • 64KB Ram • 256K Flash • Great IO • 9 Touch • 34 Digital IO • 21 Analog Inputs (2 ADCs) • 3v3. Most pins 5V tolerant • 12 Bit DAC • CAN Bus • Supported by Arduino IDE • No on-board internet • £18
  • 15. Microsoft and IoT • Microsoft developed a Smart Watch (ca. 2004!) • Are smart watches cool yet? • SPOT watch became .Net Micro Framework • .Net Micro Framework went open source • .Net Micro Framework + Arduino form factor = ?
  • 16. Netduino • STMicro 168MHz Cortex M4 • 384KB Flash + 100KB RAM • 10M wired Ethernet • 20 IO (14 Digital + 6 Analog) • 25mA per pin • 3v3 but 5V tolerant • 2 UARTS • 6 PWM • Open software and hardware • £38 • http://Netduino.com
  • 17. Gadgeteer • MSR Cambridge • .Net Micro Framework platform • Standard rules for sockets and boards • Boards from various companies: • GHI Electronics • Mountaineer • Solderless design • Some connector boards • 10 Pin IDC connector. • Not 0.1” pitch    • Open Source
  • 18. FEZ Cerberus • 168MHz Cortex M4 • 384KB Flash • 104K Ram • 8 Sockets • 44 GPIO • 2 UARTS • 9 Analog • Doesn’t support WiFi module • No native Ethernet • No RGBT display • Open Source Hardware • £15 • https://www.ghielectronics.com/catalog/product/349
  • 19. FEZ Spider • 72MHz ARM7 • 2.5MB Flash • 11MB Ram • 14 Sockets • 74 GPIO • 6 Analog • 4 UART • Touch Display Support (RGB+T) • Native Ethernet support • £75 (Now $60 from GHI) • https://www.ghielectronics.com/catalog/product/269
  • 20. So many other IoT boards… • Probably a new one since I started! • Microsoft introducing new boards • Sharks Cove • MinnowBoard Max • Intel • TI • Kickstarter • Many more Arduino variants • Find the one(s) that works for you! • You can use more than one in a project Picture stolen from minnowboard.org
  • 21. Arduino Coding • Based on Processing (C/C++) • Pointers! • Arduino IDE. • Plugins for Visual Studio & Eclipse • Getting Started • Software: 10 Print “Hello World” • Hardware: BlinkLED(); • IoT: ReadTemperature(); • Example: Hello World++ • NeoPixel LEDs • Single signal wire + Power • But… VERY timing sensitive – needs RTOS
  • 24. Gadgeteer Coding • C# and VB.Net • .Net Micro Framework • Similar to .Net 1.x • No Generics, Nullables (int?) or Anonymous types • Open Sourced on CodePlex  • Very limited functionality • No NUnit support  • Uses VS2012 • R# works • NuGet works • Not real time • Uses GC • Can’t drive some things like NeoPixels
  • 25. Gadgeteer Example • Automated Sprinkler System • Use water from water butt • Water when ground is dry • Water only when dark • Or when instructed from Tinamous message • Record Moisture and Light levels • VS2012 + GHI SDK + .Net Micro Framework 4.3 • FEZ Cerberus board with: • X1 Relay • DP USB Client Power • Moisture Sensor • Light Sensor • ENC28 Ethernet
  • 27. Enhance the Sprinkler • Check if it’s going to rain in the next 2 hours • Internet weather service • Netatmo API – see if it is raining locally • Measure humidity • Multiple moisture sensors • Measure water level in water butt • Top-up if needed from tap. • Water is it is about to over flow • Measure Temperature, Humidity, UV levels etc. • Monitor soil chemistry (pH etc.) • Add dosages of chemicals as needed.
  • 28. Summary • We looked at some of the boards available • Made a Arduino project • Made a Gadgeteer project
  • 29. Homework • GitHub.com/Tinamous • Node Red -> http://nodered.org • MQTT -> http://MQTT.org • Tinamous.com  • https://Demo.Tinamous.com • Sharks Cove • MinnowBoard Max • https://www.ghielectronics.com • https://www.tindie.com/ • http://www.CoolComponents.co.uk • Cambridge MakeSpace -> http://makespace.org
  • 30. Thank You! Questions -> @TinamousSteve Don’t forget to drop by the Tinamous Stand. We have Haribo!

Hinweis der Redaktion

  1. Devices measuring HIV in 3rd world countries reporting device usage to the central server.
  2. Gartner Hype Cycle IOT Example – NetAtMo weather station, fridge, kettle, geiger counter etc.
  3. Hand around the Uno and shield
  4. Hand around the YUN
  5. Brains are Pi, Heart is Arduino
  6. Hand around the Seed Stalker
  7. Hand around the relay module
  8. Hand around the Pi
  9. Open version of NetAtMo
  10. Hand around the Spark core
  11. Hand around the teensy Controller Area Network – not car!
  12. Hand around the Netduino
  13. Connectors are expensive No burnt fingers Logic levels all compatible
  14. Hand around Cerberus
  15. Sharks cove ordered but not arrived. $60 shipping! MS adding support for Gelilieo board MAX is V2 of MinnowBoard – don’t get V1
  16. Hand around NeoPixel ring
  17. Switch to Arduino IDE to demo NeoPixels
  18. Switch to Visual Studio