HackerBoxes 0006: Internet of Things (IoT) Projects Featuring the Particle Photon

by HackerBoxes in Circuits > Electronics

9225 Views, 35 Favorites, 0 Comments

HackerBoxes 0006: Internet of Things (IoT) Projects Featuring the Particle Photon

WholeBoxSk00l.png

Hacking the Internet of Things! This month, subscribers to HackerBoxes are working with the Particle Photon IoT Board to control devices over the Internet, collect sensor data over the Internet, store data into the cloud, and so much more.

This Instructable contains information for working with HackerBoxes #0006. HackerBoxes is the monthly subscription box service for electronics hobbyists, makers, and hackers. Even if you are not a HackerBoxes subscriber, you can always join in the fun using your own materials and equipment. Of course, if you would like to receive a box like this right to your mailbox each month, please SUBSCRIBE HERE and join the HackerBoxes movement. We would love to have you!

HackerBoxes #0006: Box Contents

WholeBoxMarketing.png
  • HackerBox #0006 Collectible Reference Card
  • Particle Photon IoT Wi-Fi Board
  • IR Remote Control Kit with Receiver and IR LED
  • DHT-11 Digital Humidity and Temperature Sensor
  • Microphone Module (amplified)
  • NeoPixel Strip (RGB LEDs)
  • Micro USB Cable
  • Dupont Wires
  • Prototyping PCB
  • 400 point Solderless Breadboard
  • Photoresistor
  • Red 5mm LEDs
  • Resistors (220 and 10,000 ohm)
  • IoT Traffic Light Kit with Ping Pong Ball Light Diffusers
  • Laptop Decal "IoT HACKER"
  • Exclusive HackerBoxes Reversible Screwdriver

Collectable HackerBoxes Reference Card

Front 6x4.png
Back 6x4.png

This month's collectable HackerBoxes reference card features the IoT Reference Model published in a Cisco White Paper along with reference information for the Particle Photon IoT Board. The Particle Photon was originally known as the Spark Core and was funded through a Kickstarter campaign. Check out the video.

Particle Photon IoT Wi-Fi Board

photon in box.png
Photon Kit.jpg
Tinker App.jpg
$19 Particle Photon unboxing and demonstration of wifi enabled IoT

This month, we are delighted to be working with Particle to feature the Photon IoT System.

To get started with the Photon Board click on over to particle.io/start

The online tutorial will guide you to set up your Photon, update the firmware, install the Particle Mobile App on your smartphone or tablet, and test some initial interactions with the Photon IoT Board.

The tutorial will also help you to complete your first few IoT projects:

  • Blinking and LED over the Internet
  • Reading a Photoresistor over the Internet
  • Assembling an Internet-Enabled Motion Sensor

With these basics of collecting data from a sensor, actuating an output, and closing the loop on a practical system application, you have firmly entered the world of The Internet of Things. Apply your "IoT HACKER" decal with pride! Note that there is also a tiny Particle decal hiding underneath the Photon Board in its matchbox.

Great thanks to John’s DIY Playground for the excellent video introducing the Photon IoT Board.

Also, check in with Particle for more IoT modules and accessories including the mobile/cellular enabled Electron Board.

IoT Cloud-Based Weather Station Data Logger

DHT11_Pins.jpg
Weather Schem.jpg
Weather Log.jpg
cloud sticker.jpg

Are you ready to log weather data to the cloud? No pun intended!

This great tutorial is from Open Home Automation. Environmental data is collected from a few sensor sources. These include a photocell and a DHT-11 (Digital Humidity and Temperature Sensor) (datasheet). Note that the data line of the DHT-11 needs a "pull-up" resistor attached to Vcc (the positive power rail). The schematic shows a 4.7K resistor for this pull-up, but a 10K resistor will work just as well.

Internet-Enabled Traffic Light

Image.png
TL1_Flat Box.jpg
TL2_Holes in Box.jpg
TL3_Diffusers.jpg
TL_neopixel.jpg
TL4_Colors.jpg

This traffic light project can be used as a fun light demo or as something useful like a "do not disturb" indicator for your lab or office.

With the traffic light image printed onto cardstock or a label at 6x4 inches, the spacing is just about perfect for illumination using a NeoPixel Strip with 30/meter pitch. NeoPixels are WS2812 RGB LED chips with a single pin serial addressing scheme. The awesome NeoPixel Uberguide from Adafruit has the technical information you could ever hope for on the subject.

The traffic light can be used on cardstock alone or stuck onto something more substantial such as a small project box or even a cardboard box. If only you had a small cardboard box, right? Just cut out the "light" circles using a utility knife. Then cut a "spherical dome" (think of a contact lens) from a ping pong ball to serve as a light diffuser. You should be about to get two diffuser lenses from each ball. These can be glued or taped over each light hole from behind. A strip of three NeoPixels can be attached to the back side of the card (or the inside of the box).

IoT Baby Monitor or Audio Bug

microphone module.png
photon_with_mic_bb.png

Particle has an online tutorial illustrating how to send data from a microphone over the Internet using the Photon IoT Board. The microphone board includes a tiny MAX9812 amplifier chip (datasheet).

Internet Based IR Remote

IR Kit Sample.png

An Infrared (IR) Remote Control kit can be used in an IoT context to trigger IoT events from the IR remote (via the IR receiver device) or to transmit IR signals using the IR LED.

Since a lot of television viewing is now controlled using mobile devices, the old IR remotes are often only needed to power the TV itself on and off and perhaps to adjust the volume. It would be nice to move these last IR functions onto the mobile device were they can be controlled with an app or browser over Wi-Fi. IoT IR Remote Control to the rescue!

There are some nicely detailed technical summaries of IR Remote Control signalling for embedded processors from Sparkfun and from ArduinoInfo.

Congratulations!

hackerboxes_pcb_srq.png

You haven take quite an adventure into the Internet of Things. Motion sensors, audio bugs, weather data loggers, IR blasters, and traffic lights, oh my! What can't you control and monitor from the Internet of Things? What else did you create? If you enjoyed this Instrucable and you would like to have a box like this delivered right to your mailbox each month, please SUBSCRIBE HERE.

Please share your success (below and/or on the HackerBoxes Facebook Page) and certainly let us know if you have any questions. Thank you for being part of the HackerBoxes adventure. Please keep your suggestions and feedback coming. HackerBoxes are YOUR boxes. Let's make something great!