1. Collaborating through Data:
Internet of Things 101
SparkFun Electronics
Derek Runberg, Jeff Branson
jeff.branson@sparkfun.com
derek.runberg@sparkfun.com
2. “Internet of Things”
● Anything communicating over
an IP network
● Clients (generate data) +
Servers (store data)
● ...on Things
3. Phant
● Free and open source, end to end
github.com/sparkfun/phant
● Public free server instance
data.sparkfun.com
● Modular and lightweight
5. Hardware
The “thing” in Internet of Things
● Arduino
– Free software, open-source, community
supported
– Add a shield for modularity at the component level
● Wifi or ethernet
7. Function
$ phant
phant http server running on port 8080
phant telnet server running on port 8081
$ telnet localhost 8081
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
.-.._
__ /` '.
.-' `/ ( a
/ ( ,_
/| '---` | =|
` /__.-/ / | |
| / / _ jgs
|__|_| |_|__
welcome to phant.
Type 'help' for a list of avail. commands
phant>
phant> create
Enter a title> Radiation Detector #4
Enter a description> Foo
Enter fields (comma separated)>
time,counts,radiation_dose
Enter tags (comma separated)> radiation
Stream created!
PUBLIC KEY: kXpL4qjqKac3mpLL4qlqTglK6Kyy
PRIVATE KEY: pLEAVp7pe8sM5DQQw3r3T0zLBLmm
DELETE KEY: vdBVg6l6N9UQO6nno2Y2SbRezeZZ
$ curl -X GET 'http//localhost:8080/
input/kXpL4qjqKac3mpLL4qlqTglK6Kyy?
private_key=pLEAVp7pe8sM5DQQw3r3T0zLBLmm
&time=1405616787&counts=173
&radiation_dose=0.0002'
1 success