Académique Documents
Professionnel Documents
Culture Documents
year’s School for School on Applications of Open Spectrum and White Spaces Technologies
at the International Centre for Theoretical Physics (ICTP) in Trieste, Italy. I’d also like to thank
the University of Oregon’s Network Startup Resource Centre (NSRC) for sponsoring my visit
to Italy for this talk.
The Internet of Things
Jonathan Brewer
Network Startup Resource Center
jon@nsrc.org
These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license
http://creativecommons.org/licenses/by-nc/4.0/
4
Twine: is a Magic Box Twine was my introduction to the Internet of Things. I thought it was the coolest thing in the
world.
that listens to the world with:
Temperature Sensor They solved it with one device. Buy one and you’ve got the Internet of Things.
Accelerometer
Magnetic Switch
!
Moisture Sensor It took a year from ordering my Twine until I received it at the end of 2012. It was clever, it
and talks to the world via Wi-Fi with:
had beautiful packaging, it was well manufactured, and it didn’t work.
Text messaging (SMS)
Twitter
Email
HTTP
8 Basic digital output means the sensor provides voltage or it doesn’t, while analog output
provides variable voltage to indicate variable readings. A number of serial interfaces are
Sensors: Considerations
supported by IoT sensors and technologies, with I2C being a popular, low-cost bus topology.
• Analog or Digital Some high end sensors have the ability to connect over more than one digital or serial
• RS232, RS485, I2C, SPI, CAN, USB method.
• Accuracy typically varies with price
10 Air quality sensors typically look for a few different things: carbon monoxide, alcohol,
acetone, formaldehyde. A generic, inexpensive device might give you a warning that
Air Quality Sensor
something is wrong, but not necessarily what is wrong.
12 The most obvious use for a barometer pressure sensor is for weather monitoring. A change
in reading from a stationary barometer can mean that the weather is going to change.
Barometric Pressure
I think the most common use for barometers today though is in smartphones. They use
barometers in a mobile application to determine a device’s height above sea level.
Combined with details from a GPS and from a cellular network, a barometer can help a
phone get very accurate positioning information.
14 Much of the popularity of small microprocessors like the Arduino is a result of people’s
fascination with robots. This very rudimentary collision sensor allows a moving device
Collision Sensor
(hopefully moving very slowly) to know when it’s hit something else - maybe a wall, another
robot, or a shoe.
16 Which way is North? This is a very easy to understand sensor that is important to anything
mobile.
Compass (Digital)
18 Galvanic Skin Response measures the conductivity of skin, which can change depending on
how active a person’s sweat glands are. Physical and Psychological stress makes glands more
Galvanic Skin Response
active and this lowers the skin’s electrical resistance. My armband - the one with the
accelerometer in it, also tracks galvanic skin response.
20 GPS can be used to find where we are on earth. Modern GPS receivers can pick up signals
from the original US owned satellites, from Russia’s GLONASS, and in the future from similar
Global Positioning System
European, Chinese, and Indian systems. GPS is also useful in that it provides accurate time.
Very, very accurate time, anywhere in the world. If you need to accurately synchronise
devices in different places, like flashing safety lights, telecommunications transmissions, or
logging of time sensitive data, a GPS based clock is the way to do it.
22 This flow sensor uses a hall effect to measure how fast a liquid or gas is moving through a
pipe, and to record the volume of liquid or gas that has passed through in a particular time
Flow Sensor
interval.
24 As you press on the surface of a force sensitive resistor, resistance through the circuit goes
down.
Force Sensitive Resistor
It can be used as a robust, non-mechanical button or touch sensor, or as a very thin but not
very accurate device for determining the weight of small load that has been placed on top of
it, maybe up to half a kilo.
Humidity Sensor
28 This sensor generates infrared light and measures its reflected strength. One of its
applications is to determine distance. Infrared reflection sensing is also used to help robots
Infrared Reflection
follow lines, and in optical dust sensors.
30 A light sensor, or a light dependent resistor, is a very inexpensive but relatively inaccurate
device that will tell you if it’s light or dark.
Light Sensor
32 A loudness sensor uses a microphone, an amplifier, and filters to output a digital signal that
can be translated into a measurement of the decibel level of sound.
Loudness Sensor
34 Moisture sensors measure the dielectric constant of soil, or its ability to transmit electricity,
and derive an amount of moisture in a particular volume of soil. They can range from
Moisture Sensor
inexpensive and inaccurate for a cheap sensor stuck in a pot plant, to expensive and very
accurate when properly installed and calibrated to the type of soil they’re embedded in.
36 An infrared transmitter and receiver that measures reflections from dust and particulate
matter in the air inside a small chamber.
Optical Dust Sensor
38 Micro Electrical Mechanical Pressure Sensor - a little machine made of silicon for very
precisely measuring pressure.
Pressure Sensor (MEMS)
40 A Reed switch is a glass tube with two wires. A magnet will bring the wires together, causing
the circuit to be connected. Some applications that use Hall effect to count revolutions of a
Reed Switch
wheel could use a Reed switch instead.
Thermistor
44 Some vibration sensors are based on piezoelectric devices, and generate voltage in
response to being vibrated. Any movement can activate a sensor, the signal from which
Vibration Sensor
could be used to wake up a microprocessor and other sensors or actuators.
46 Tracking ultraviolet radiation can be useful in evaluating inputs in agriculture. Ten years ago
in New Zealand is was important to track UV for skin safety reasons - because of a hole in the
Ultraviolet Radiation Sensor
ozone layers we had very high uv radiation and it was very easy to get a sunburn because of
it.
48
Platforms
• Ease of Programming
• Availability
50 Arduino may not have started the Internet of Things, but it started making the Internet of
Arduino Clone making circuit boards to produce clones. This one can be had for less than 10 Euros, and is
the kind I started my adventures in Arduino with. It’s programmed with USB and takes its
power from the same cable, making it quick and easy to work with.
52 Just like the Arduino, but with the addition of an Atheros router chipset, allowing users to
Arduino Yun interact with the board using standard linux tools, and provide network security through the
well known router and firewall distribution OpenWRT.
BeagleBone Black more protocols and has more ports than any of the other platforms we’ll discuss today. It
runs Linux and can boot from power-on in five seconds. If you’ve got a background in web
applications, you’re in luck - its main programming environment is node.js, a javascript
framework.
54 The mbed uses 32-bit ARM Cortex microprocessor design manufactured by NXP, Freescale,
PICmicro cost, and has a huge installed base. Of all the IoT environments we’ll talk about today, the
PIC is probably the one used most commercially.
56 The IOIO is an expansion board for Android phones that allows easy input/output to sensors
and actuators from within the Android environment. This means you code in Java for
Android + IOIO
Android & don’t have to learn C or C++. You also get to add sensors to a platform where a
basic, 100 euro handset has a big, bright LCD display, a GPS, accelerometer, compass,
thermometer, barometer, Wi-Fi, bluetooth, and 3g radios. Quite a package for the price.
10 x
Actuators
Actuators: Considerations
• Power Use
• Interface
• Availability
60 We all know what LEDs do. Give them a bit of voltage and they light up. What’s more
interesting is that beyond the basic visible colours, infrared and ultraviolet LEDs are available
Light Emitting Diodes
too.
62 Transistors are used for amplifying or switching electronic signals or power. While a relay can
just switch things in two directions, a transistor can help an Arduino provide granular levels
Transistor
of power to a device like a fan or a motor, without passing high power current through the
Arduino itself.
64 This solenoid is a specially designed electromagnet. The piston in the middle is normally in
the out position. When current flows through the solenoid, the piston pulls in. This action
Solenoid
could open a valve, activate a mechanical switch, ring a bell, or do anything you could think
of.
Power
Generation
66
• Robustness
• Physical Size
• Technological Maturity
68 Biomechanical is an area that hasn’t quite reached prime time. In recent years patents have
been filed for materials like this one that you could stick in a pair of shoes to generate
Biomechanical
electricity just by walking.
70 If you’ve ever seen a flashlight that you shake to use, or a radio that you turn a crank to
power up, you’ve seen mechanical power. The device above is a GravityLight, an LED lamp
Mechanical
that gets powered by a weight attached to a cord that turns its generator for about 30
minutes. Mechanical power is great if you’ve got a person around a place with no electricity -
say a bus stop in a remote location.
72 Tiny amounts of electricity can be produced with piezoelectric elements - for example when
you press a mechanical button to light a burner on a gas stove, the spark that lights your gas
Piezoelectric
often comes from a piezoelectric element. These panels are meant to vibrate when you
apply power to them, but the opposite will work too - vibrate them the right way and they
will produce electricity. As with ambient backscatter and biomechanical methods, I haven’t
listed a price next to Piezoelectric power generation - for now it’s the domain of
experimenters and inventors.
74 Finally we have solar. This two-watt panel is a bit bigger than my hand, and costs less than
ten Euros. I understand Sebastian is going to talk about solar power later in the week, so I’ll
Solar
leave it to him.
Power
Storage
76
• Capacity of Storage
• Current Required
• Physical Size
• Environmental Impact
78 Lead Acid batteries are the most common rechargeable batteries made, and are used in
vehicles, alarm systems, solar installations, and most cellular and wireless base stations.
Lead Acid Battery
They’re not as energy-dense as Lithium-Ion batteries, but they’re a lot cheaper. Depending
on how they’re made, they can last from a few years up to two decades, retaining a large
amount of their charging capacity.
80 Lithium ion and lithium polymer batteries are the most common batteries used in electronics
today. They’ve largely replaced older technologies like Nickel metal hydride, and they’re
Lithium Ion Battery
starting to replace lead acid for applications where size and weight matter. Lithium Ion
batteries lose a bit of capacity with every charge, and rarely last more than 1000 charges. If
you’re charging via solar every day, don’t expect your batteries to last more than three years.
82
Radio
Communications
• Fixed or Mobile
• Operating Cost
84 Very low cost, very low power utilisation, very low data rates, typically ISM band. One way
only so your sensors don’t know if their message has made it through. Australian company
Simplex Radio
Taggle has an M2M platform built around Simplex Radio.
86 Star or mesh topology. 868, 915, or 2.4GHz frequency bands. When using a mesh topology,
radios need to listen for other nodes and relay their transmissions on, which can have major
Zigbee
power implications.
88 Nearly ubiquitous coverage around the world in the 900MHz band. Even when carriers
upgrade to newer technologies like LTE they continue to support some GPRS capabilities to
2.5G Cellular / GPRS
keep from locking out M2M applications and older handsets. Can consume as little as
200mA while transmitting.
90 LTE and LTE-Advanced are another step up in transmission capabilities from 3g, and in
power utilisation. I think very few things in the Internet of Things will ever need the
4G Cellular / LTE & LTE-A
transmission capabilities of a 4g modem - but who knows. Ken Olsen of Digital once said
that no-one would ever need a computer at home, and Bill gates said 640 kilobytes of RAM
should be enough for anyone.
92 Sigfox is a French technology and service provider that uses low frequencies and very low
data rates, designed specifically for the Internet of Things. Devices can send up to 12 bytes
SIGFOX
of information at a time, to a network of receiver antennas. Transmissions can be picked up
by multiple receiver antennas and then de-duplicated in a cloud based application before
being passed on to applications that use the data. I’m not sure if SIGFOX is two-way yet.