
4. BUILD THE SCRIPT AND
WEB BUTTON
To remotely tell the Boron to activate the opener,
you’ll need a script for the board and a web page
with a virtual button that accesses it. I modified
the code from the Buzz Wolf dog collar project
by Nancy Yi Liang (particle.hackster.io/nyl/buzz-
wolf-837db0) to make a simple interface for our
gate opener.
First, go to makezine.com/go/cellgateopener to
download the opener code and web-button HTML
(see end box for QR code).
In the Particle IDE at build.particle.io, create a
new app for your Boron (Figure
K
). I called mine
“gateopener.” Paste in the code for the controller
and upload to your device.
On the HTML, ...