DIY 
Technology 
for 
the 
Internet 
of 
Things 
Dr. 
Simon 
Monk
Simon 
Monk 
• Full-­‐;me 
Author 
-­‐ 
Open 
Source 
Hardware 
and 
Electronics
Objec;ves 
• What 
is 
the 
Internet 
of 
Things 
(IoT)? 
• Where 
is 
IoT 
going 
• Making 
IoT 
devices? 
• An 
example 
technology: 
the 
Spark 
Core
What 
is 
the 
Internet 
of 
Things? 
• First 
there 
was 
the 
Internet 
– Websites 
serve 
knowledge 
– Browsers 
are 
the 
terminal 
nodes 
of 
the 
network 
• Now 
the 
Internet 
of 
Things 
– IoT 
devices 
can 
be 
terminal 
nodes 
– Websites 
control 
hardware 
– Devices 
talk 
to 
users 
and 
other 
machines 
using 
the 
Internet
IoT 
Examples 
• Home 
automa;on 
– Smart 
thermostats 
(Nest 
and 
similar) 
– Ligh;ng, 
access 
control 
• Automo;ve 
• Personal 
– Health 
and 
ac;vity 
monitoring 
(on 
your 
wrist) 
– Keeping 
an 
eye 
on 
distant 
loved-­‐ones 
• Sensor 
Networks 
– Radia;on 
monitoring 
following 
Fukushima 
disaster 
• Energy 
Management 
– Smart 
appliances
Nest 
• Smart 
Learning 
Thermostat 
• WiFi 
enabled 
remote 
control 
from 
Smartphone 
app 
• Nest 
account 
allows 
link 
to 
‘The 
Cloud’
RunKeeper 
• Uses 
Smartphone 
as 
IoT 
device 
but 
data 
stored 
in 
‘The 
Cloud’ 
• Tracks 
running 
or 
cycling 
using 
GPS
Safecast 
• In 
response 
to 
Fukushima 
– 
Official 
informa;on 
inadequate 
– 
It 
filled 
the 
informa;on 
gap 
– Crowd-­‐sourced 
solu;on 
in 
place 
reassuring 
people 
very 
quickly 
• Hacker 
Space, 
OSH 
(Open 
Source 
Hardware) 
Design, 
Data 
CC 
0 
(Completely 
free 
to 
all) 
• Watching 
the 
planet 
– Global 
warming, 
tsunami, 
magnetometry
Safecast 
Hardware 
• Geiger 
Counters 
all 
sold 
out 
• Data 
logging 
Geiger 
Counter 
• HackerSpace 
First 
Genera;on 
• Hang 
device 
out 
of 
car 
window 
(GPS) 
• Arduino, 
off-­‐the-­‐shelf 
modules
Safecast 
So^ware 
• Hardware 
no 
good 
unless 
data 
gathered 
and 
visualised.
Energy 
Management 
• Smart 
Meters 
– Send 
usage 
data 
to 
server 
every 
few 
minutes 
– Eventually 
con;nuously 
variable 
energy 
pricing 
– Automa;c 
control 
of 
non 
;me-­‐cri;cal 
appliances 
• Run 
washing 
machine 
when 
demand 
low 
• Boost 
freezer 
to 
low 
temperature 
at 
low 
demand
Where 
is 
IoT 
Going? 
• Gartner 
Report 
on 
IoT 
2014 
Predicts 
– 36.2% 
growth 
in 
2015 
– Home 
and 
Automo;ve 
will 
drive 
growth 
– Inexpensive 
devices 
are 
the 
biggest 
enabler 
of 
IoT 
takeup
Technology 
for 
IoT 
• WiFi 
enabled 
Microcontrollers 
• Cellular 
modem 
technology
IoT 
on 
WiFi 
• Problem 
– WiFi 
is 
power 
hungry 
• Solu;on 
– Power 
Management 
of 
device 
(sleep 
when 
not 
needed)
IoT 
on 
WiFi 
• Problem 
– WiFi 
needs 
• Solu;on 
– One-­‐;me 
password 
to 
connect 
to 
LAN 
(Local 
Area 
Network) 
configura;on 
• Temporary 
WLAN 
run 
by 
device
IoT 
on 
WiFi 
• On 
LAN 
communica;ng 
with 
Internet 
• Send 
requests 
to 
IoT 
device 
from 
Internet 
(E.g. 
Open 
Door!) 
• Allow 
IoT 
device 
to 
send 
data 
to 
cloud 
(E.g. 
Temperature 
is 
20C)
IoT 
on 
WiFi 
(Security) 
• Hacking 
gets 
physical! 
• An 
ahack 
on 
your 
actual 
home? 
• Cloud 
Programming 
of 
IoT 
Device! 
• Authen;ca;on 
Tokens 
• SSL
IoT 
on 
WiFi 
(Data 
Ownership) 
• Physical 
Data 
Collected 
– E.g. 
Energy 
usage 
– Is 
the 
home 
empty? 
– Targeted 
marke;ng 
of 
products 
– The 
Cloud 
knows 
you 
too 
well? 
– Health 
data 
– Smart 
TV 
viewing 
habits
DIY 
IoT 
• Arduino 
+ 
WiFi 
shield 
– Looks 
old 
fasioned 
• Arduino 
Yun 
– Expensive 
• Spark 
Core 
– Designed 
for 
IoT
IoT 
with 
Spark 
Core 
• WiFi 
• ARM 
Cortex 
M3 
(72MHz) 
• 128kB 
Flash 
• USB2.0 
• 12 
bit 
ADC 
• USART, 
SPI 
& 
I2C 
• Breadboard 
Friendly 
• 18 
I/O 
pins 
(3V) 
logic
IoT 
with 
Spark 
Core 
• Configura;on 
Smartphone 
App 
• USB 
Configura;on 
• Registers 
with 
Cloud 
• Built-­‐in 
Firmware 
works 
with 
Smartphone 
App 
to 
control 
pins 
• Program 
from 
the 
Cloud
IoT 
with 
Spark 
Core 
• Example 
Project 
– 
Buzzy 
Bee
Test 
Hardware
Custom 
Program 
• Cloud 
IDE 
• Flash 
over 
Internet 
• Arduino 
C 
• Func;ons 
and 
Variables 
• REST 
interface
Test 
with 
curl
Make 
a 
Web 
Page 
(head) 
<html>! 
<head>! 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/ 
jquery.min.js" type="text/javascript" charset="utf-8"></script>! 
! 
<script>! 
var accessToken = "64a329ab1ddfaabc01838f744c0e5e243eee";! 
var url = "https://api.spark.io/v1/devices/55ff6b065075551487/buzz";! 
! 
function buzz()! 
{! 
!$.post(url, {params: 1, access_token: accessToken });! 
} ! 
! 
function noBuzz()! 
{! 
!$.post(url, {params: 0, access_token: accessToken });! 
} ! 
</script>! 
</head>!!
Make 
a 
Web 
Page 
(body) 
<body>! 
<h1>Buzzy Bee</h1> !! 
<h2 onClick="buzz()">BUZZ</h2>! 
<h2 onClick="noBuzz()">NO BUZZ</h2>! 
</body>! 
</html>!
Try 
it 
Live! 
• hhp://monkmakes.com/buzz.html
IoT 
with 
Spark 
Core 
• Example 
Project 
– 
Light 
Sensor 
• Hardware
IoT 
with 
Spark 
Core 
• Example 
Project 
– 
Light 
Sensor 
• So^ware 
int light = 0.0;! 
! 
void setup(){! 
Spark.variable("light", &light, INT);! 
}! 
! 
void loop() {! 
light = analogRead(lightSensorPin);! 
}!
IoT 
with 
Spark 
Core
IoT 
with 
Spark 
Core 
(Web 
Page) 
function getLight()! 
{! 
!$.getJSON(url, gotResult);! 
!after()! 
} ! 
! 
function gotResult(result) ! 
{! 
!! 
!$("#light").html(result.result);! 
}! 
! 
setInterval(getLight, 1000);! 
!! <h2 style="font-size:40pt;"id="light">-</h2>!
Try 
it 
Live! 
• hhp://monkmakes.com/light.html
IoT 
Encapsulated 
• Low 
cost 
Module 
• All 
WiFi 
wrapped 
up 
• Simplifies 
design 
and 
shortens 
product 
development 
;mes 
• Many 
products 
can 
benefit 
from 
adding 
IoT 
capability
Summary 
• More 
and 
more 
devices 
are 
being 
connected 
to 
the 
Internet 
• With 
low-­‐cost 
modules 
that 
can 
act 
as 
a 
microcontroller 
with 
IoT 
almost 
for 
free, 
adding 
it 
to 
a 
product 
becomes 
feasible 
• The 
Open 
Source 
movement 
is 
changing 
aptudes 
to 
who 
owns 
data 
– 
slowly
Contact 
• Twiher: 
@simonmonk2 
• Web: 
www.monkmakes.com 
• Email: 
evilgeniusauthor@gmail.com 
• Blog: 
www.doctormonk.com

More Related Content

PDF
GDG Meetup Jakarta - Low Power IoT
PDF
IoT and Its Application
PPTX
ThingSpeak: apps for social things
PDF
Driving the Internet of Things with Mobile Apps at tiConf
PDF
Understanding IoT with Cloud IoT Core
PPTX
Developers Safari into the Internet of Things (IoT) with Pi
PPTX
Automating with the Internet of Things
PDF
ISHOT 2.0 - Easy Life with Internet of Things
GDG Meetup Jakarta - Low Power IoT
IoT and Its Application
ThingSpeak: apps for social things
Driving the Internet of Things with Mobile Apps at tiConf
Understanding IoT with Cloud IoT Core
Developers Safari into the Internet of Things (IoT) with Pi
Automating with the Internet of Things
ISHOT 2.0 - Easy Life with Internet of Things

What's hot (20)

PPTX
Home automation in kerala | home automation in calicut | Smart home solutions...
PPT
Scripting Things - Creating the Internet of Things with Perl
PDF
Big Data Approaches to Cloud Security
PPTX
IBM IoT Architecture and Capabilities at the Edge and Cloud
PPTX
Final year project io t climate system
PPT
Mettere l' IoT in Cloud con FIWARE - Massimo Vecchio, Attilio Broglio - Codem...
PDF
A Pragmatic Reference Architecture for The Internet of Things
PDF
Chapter 7
PDF
Connectivity for Smart Home IoT - Brad Kayton
PPTX
IoT Smart Home
PDF
QuadraSpace Protocol
PDF
Why Gateways are Important in Your IoT Architecture
PPTX
501 ch 9 implementing controls to protect assets
PPTX
Home automation in kerala ,home automation in calicut , home automation
PPTX
Hackacle Hardware for the Internet of Things (IoT)
PPTX
Smart house (Move to Easy Life)
PDF
Smart Home technologies
PDF
Soldatos io t-academy-cosmote-231117-v-final
PPTX
Performance trends and alerts with ThingSpeak IoT
PPSX
La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014
Home automation in kerala | home automation in calicut | Smart home solutions...
Scripting Things - Creating the Internet of Things with Perl
Big Data Approaches to Cloud Security
IBM IoT Architecture and Capabilities at the Edge and Cloud
Final year project io t climate system
Mettere l' IoT in Cloud con FIWARE - Massimo Vecchio, Attilio Broglio - Codem...
A Pragmatic Reference Architecture for The Internet of Things
Chapter 7
Connectivity for Smart Home IoT - Brad Kayton
IoT Smart Home
QuadraSpace Protocol
Why Gateways are Important in Your IoT Architecture
501 ch 9 implementing controls to protect assets
Home automation in kerala ,home automation in calicut , home automation
Hackacle Hardware for the Internet of Things (IoT)
Smart house (Move to Easy Life)
Smart Home technologies
Soldatos io t-academy-cosmote-231117-v-final
Performance trends and alerts with ThingSpeak IoT
La mia lavatrice collegata a internet? - Valter Minute - Codemotion Milan 2014
Ad

Similar to DIY Technology for the Internet of Things (20)

PDF
IoTCourse.pptx
PDF
The Internet of Things and You - A Developers Guide to IoT
PDF
Rapid iteration for an Internet of Things
PDF
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
PPTX
IoT Development - Opportunities and Challenges
PDF
IOT_Working_computer_science_business_recap
PPTX
Adaptable IoT
PPTX
Building the Internet of Things with Thingsquare and Contiki - day 1, part 1
PPTX
CEIS101: IoT Home Security System
PDF
Iot meets Serverless
PPTX
HOME AUTOMATION USING INTERNET OF THINGS.pptx
PDF
Harness the Power of Microsoft Azure
 
PPTX
Internet of things
PPTX
A brief introduction to making your own (Internet of Things) Thing
PPTX
IoT BASED SMART HOME USING ARDUINO
PDF
Privacy and Security in the Internet of Things / Конфиденциальность и безопас...
PPTX
IoT with overview and basic Presentation.pptx
PPTX
Internet of Things [IoT]
PPTX
IoT_Modules_Bahga_Madisetti_Detailed.pptx
PPTX
A Globally controlled Embedded Switch node for Electrical Devices at Home by...
IoTCourse.pptx
The Internet of Things and You - A Developers Guide to IoT
Rapid iteration for an Internet of Things
Using Java Script and COMPOSE to build cool IoT applications, SenZations 2015
IoT Development - Opportunities and Challenges
IOT_Working_computer_science_business_recap
Adaptable IoT
Building the Internet of Things with Thingsquare and Contiki - day 1, part 1
CEIS101: IoT Home Security System
Iot meets Serverless
HOME AUTOMATION USING INTERNET OF THINGS.pptx
Harness the Power of Microsoft Azure
 
Internet of things
A brief introduction to making your own (Internet of Things) Thing
IoT BASED SMART HOME USING ARDUINO
Privacy and Security in the Internet of Things / Конфиденциальность и безопас...
IoT with overview and basic Presentation.pptx
Internet of Things [IoT]
IoT_Modules_Bahga_Madisetti_Detailed.pptx
A Globally controlled Embedded Switch node for Electrical Devices at Home by...
Ad

Recently uploaded (20)

PPTX
2018-HIPAA-Renewal-Training for executives
PDF
Credit Without Borders: AI and Financial Inclusion in Bangladesh
PDF
Architecture types and enterprise applications.pdf
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
Improvisation in detection of pomegranate leaf disease using transfer learni...
PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
The influence of sentiment analysis in enhancing early warning system model f...
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
Configure Apache Mutual Authentication
PDF
UiPath Agentic Automation session 1: RPA to Agents
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPTX
TEXTILE technology diploma scope and career opportunities
2018-HIPAA-Renewal-Training for executives
Credit Without Borders: AI and Financial Inclusion in Bangladesh
Architecture types and enterprise applications.pdf
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Improvisation in detection of pomegranate leaf disease using transfer learni...
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
The influence of sentiment analysis in enhancing early warning system model f...
Benefits of Physical activity for teenagers.pptx
Taming the Chaos: How to Turn Unstructured Data into Decisions
Module 1.ppt Iot fundamentals and Architecture
Configure Apache Mutual Authentication
UiPath Agentic Automation session 1: RPA to Agents
sustainability-14-14877-v2.pddhzftheheeeee
OpenACC and Open Hackathons Monthly Highlights July 2025
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
A proposed approach for plagiarism detection in Myanmar Unicode text
How IoT Sensor Integration in 2025 is Transforming Industries Worldwide
A contest of sentiment analysis: k-nearest neighbor versus neural network
TEXTILE technology diploma scope and career opportunities

DIY Technology for the Internet of Things

  • 1. DIY Technology for the Internet of Things Dr. Simon Monk
  • 2. Simon Monk • Full-­‐;me Author -­‐ Open Source Hardware and Electronics
  • 3. Objec;ves • What is the Internet of Things (IoT)? • Where is IoT going • Making IoT devices? • An example technology: the Spark Core
  • 4. What is the Internet of Things? • First there was the Internet – Websites serve knowledge – Browsers are the terminal nodes of the network • Now the Internet of Things – IoT devices can be terminal nodes – Websites control hardware – Devices talk to users and other machines using the Internet
  • 5. IoT Examples • Home automa;on – Smart thermostats (Nest and similar) – Ligh;ng, access control • Automo;ve • Personal – Health and ac;vity monitoring (on your wrist) – Keeping an eye on distant loved-­‐ones • Sensor Networks – Radia;on monitoring following Fukushima disaster • Energy Management – Smart appliances
  • 6. Nest • Smart Learning Thermostat • WiFi enabled remote control from Smartphone app • Nest account allows link to ‘The Cloud’
  • 7. RunKeeper • Uses Smartphone as IoT device but data stored in ‘The Cloud’ • Tracks running or cycling using GPS
  • 8. Safecast • In response to Fukushima – Official informa;on inadequate – It filled the informa;on gap – Crowd-­‐sourced solu;on in place reassuring people very quickly • Hacker Space, OSH (Open Source Hardware) Design, Data CC 0 (Completely free to all) • Watching the planet – Global warming, tsunami, magnetometry
  • 9. Safecast Hardware • Geiger Counters all sold out • Data logging Geiger Counter • HackerSpace First Genera;on • Hang device out of car window (GPS) • Arduino, off-­‐the-­‐shelf modules
  • 10. Safecast So^ware • Hardware no good unless data gathered and visualised.
  • 11. Energy Management • Smart Meters – Send usage data to server every few minutes – Eventually con;nuously variable energy pricing – Automa;c control of non ;me-­‐cri;cal appliances • Run washing machine when demand low • Boost freezer to low temperature at low demand
  • 12. Where is IoT Going? • Gartner Report on IoT 2014 Predicts – 36.2% growth in 2015 – Home and Automo;ve will drive growth – Inexpensive devices are the biggest enabler of IoT takeup
  • 13. Technology for IoT • WiFi enabled Microcontrollers • Cellular modem technology
  • 14. IoT on WiFi • Problem – WiFi is power hungry • Solu;on – Power Management of device (sleep when not needed)
  • 15. IoT on WiFi • Problem – WiFi needs • Solu;on – One-­‐;me password to connect to LAN (Local Area Network) configura;on • Temporary WLAN run by device
  • 16. IoT on WiFi • On LAN communica;ng with Internet • Send requests to IoT device from Internet (E.g. Open Door!) • Allow IoT device to send data to cloud (E.g. Temperature is 20C)
  • 17. IoT on WiFi (Security) • Hacking gets physical! • An ahack on your actual home? • Cloud Programming of IoT Device! • Authen;ca;on Tokens • SSL
  • 18. IoT on WiFi (Data Ownership) • Physical Data Collected – E.g. Energy usage – Is the home empty? – Targeted marke;ng of products – The Cloud knows you too well? – Health data – Smart TV viewing habits
  • 19. DIY IoT • Arduino + WiFi shield – Looks old fasioned • Arduino Yun – Expensive • Spark Core – Designed for IoT
  • 20. IoT with Spark Core • WiFi • ARM Cortex M3 (72MHz) • 128kB Flash • USB2.0 • 12 bit ADC • USART, SPI & I2C • Breadboard Friendly • 18 I/O pins (3V) logic
  • 21. IoT with Spark Core • Configura;on Smartphone App • USB Configura;on • Registers with Cloud • Built-­‐in Firmware works with Smartphone App to control pins • Program from the Cloud
  • 22. IoT with Spark Core • Example Project – Buzzy Bee
  • 24. Custom Program • Cloud IDE • Flash over Internet • Arduino C • Func;ons and Variables • REST interface
  • 26. Make a Web Page (head) <html>! <head>! <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/ jquery.min.js" type="text/javascript" charset="utf-8"></script>! ! <script>! var accessToken = "64a329ab1ddfaabc01838f744c0e5e243eee";! var url = "https://api.spark.io/v1/devices/55ff6b065075551487/buzz";! ! function buzz()! {! !$.post(url, {params: 1, access_token: accessToken });! } ! ! function noBuzz()! {! !$.post(url, {params: 0, access_token: accessToken });! } ! </script>! </head>!!
  • 27. Make a Web Page (body) <body>! <h1>Buzzy Bee</h1> !! <h2 onClick="buzz()">BUZZ</h2>! <h2 onClick="noBuzz()">NO BUZZ</h2>! </body>! </html>!
  • 28. Try it Live! • hhp://monkmakes.com/buzz.html
  • 29. IoT with Spark Core • Example Project – Light Sensor • Hardware
  • 30. IoT with Spark Core • Example Project – Light Sensor • So^ware int light = 0.0;! ! void setup(){! Spark.variable("light", &light, INT);! }! ! void loop() {! light = analogRead(lightSensorPin);! }!
  • 32. IoT with Spark Core (Web Page) function getLight()! {! !$.getJSON(url, gotResult);! !after()! } ! ! function gotResult(result) ! {! !! !$("#light").html(result.result);! }! ! setInterval(getLight, 1000);! !! <h2 style="font-size:40pt;"id="light">-</h2>!
  • 33. Try it Live! • hhp://monkmakes.com/light.html
  • 34. IoT Encapsulated • Low cost Module • All WiFi wrapped up • Simplifies design and shortens product development ;mes • Many products can benefit from adding IoT capability
  • 35. Summary • More and more devices are being connected to the Internet • With low-­‐cost modules that can act as a microcontroller with IoT almost for free, adding it to a product becomes feasible • The Open Source movement is changing aptudes to who owns data – slowly
  • 36. Contact • Twiher: @simonmonk2 • Web: www.monkmakes.com • Email: [email protected] • Blog: www.doctormonk.com