
circuitcellar.com
73
TESTS & CHALLENGES
Sponsored by WIZnet — circuitcellar.com/wiznet2014
The Arduino code (see Photo 9) just sits in a loop
checking to see if the door state changes or it’s time to
send a heartbeat. Then it takes little more than a single
function call (e xosite.writeRead) to fire the door state
off into the Exosite cloud.
Over on the Exosite website, after signing up for a
free “Developer” account, it was a quick and easy mainly
point-and-click exercise to configure my “Device,” “Data,”
“Events,” and “Alerts” (see Photo 10).
As a client, there’s no need to keep the “Thing’s”
Ethernet link powered all the time. Data only needs to
be sent when the garage door opens or closes, but I also
recommend sending a periodic heartbeat just in case. My
garage door monitor will only generate a minute or two
of network activity (i.e., door state changes and hourly
heartbeats) per day, so there’s opportunity for significant
energy savings compared to a 24/7 server.
LEARN SOME TRICKS
At WIZnet’s “Connect the Magic” website you can
find the props for your own magic show (see Resources).
There’s support for the WIZnet hardware (i.e., W5500,
WIZ550io, and ioShields) as well as links to W5500 drivers
and demos for third-party and open-source hardware
including Arduino, LaunchPad, mbed, and Parallax (see
Photo 11).
The W5500 also works with some interesting platforms
I haven’t used before. Cookie and chipKIT are Arduino
form-factor SBCs that use ARM Cortex and Microchip
Technology PIC32 microcontrollers, respectively. GR-
KURUMI is a Japanese variation on the mbed theme (i.e.,
web-based tools) using a Renesas microcontroller. If you
want to leverage existing big iron network software,
PHOTO 9
There’s an Exosite library for Arduino that makes accessing the cloud as easy as can be.
PHOTO 10
It only takes a few minutes to set up a simple Exosite dashboard including an e-mail alert. I can “see“ my
garage door without getting off the couch and now, via Exosite, from the farthest reaches of the web.
PHOTO 11
The Parallax Spinneret Web Server 2.0 is one of the first
platforms available featuring the W5500.
there’s even a BSD Sockets library based on the UC Berkeley
open-source UNIX derivative.
The combination of magic micros with the W5500 and all the
new device cloud services makes a compelling case for connection.
Put ‘em all in your hat, wave your magic wand, and amaze your
friends with the cool “thing” you pull out.
Copyright © 2014 by Circuit Cellar, Inc.
Subscription: http://circuitcellar.com/subscription/
Kommentare zu diesen Handbüchern