Back to Parent

Outcome


Problem Statement

It’s common for cats to develop behaviour changes when left alone for too long. Yes, they are a solitary species, but think about it — don’t you get a little fidgety when you have no social interactions for a while? Cats crave stimulation just as people do, and encounter the same feelings of anxiety, depression and loneliness.

Lonely cat
Show Advanced Options

Goal

We love our pets, but our busy lives can keep us apart when we want to stay close. Purbox is dedicated to connecting people with their pets through technology. With motion detection, a embedded laser pointer would be activated to stimulate your pets.

Process

The device is composed of a servo with a laser. A Particle Photon controls the servo routine, and the device is triggered by a motion sensor. The motion sensor has a lag time to allow for the routine to play out and the cat to leave.

Set-up instructions:

1. Register Particle Photon.

Either download Particle Dev or use Particle IDE to write and flash firmware. The Photon can be powered via laptop/desktop USB or power bricks. Each requires 4.8 V DC.

2. Assemble the servo kit, mount it to a stable surface, and attach the laser to the servo arm. For the last step, I used a rubber band. 

3. Test the servo to check arm positioning and range.

4. Adjust angles and delays in laser movement, then flash it to servo Photon.

5. Assemble motion sensor and check photoresistor readings, adjusting beamThreshold level in "Motion Sensor" to 400.

6. Flash "Motion Sensor" to the Photon.

7. Test, adjust delay under "Motion Sensor" as needed.

Final Circuit Diagram:

Screen shot 2017 02 01 at 1.12.01 pm
Show Advanced Options

Outcome

See following for completed final code.

Show Advanced Options
Show Advanced Options

Estimated  cost is $35.58

  • A Particle Photon: $19.00
  • A breadboard: $4.95
  • A servo: $9.90
  • A photoresistor: $0.95
  • A LED: $0.50
  • Two 1kΩ resistor: $0.04 each 

Reflection:

The entire assembling process was fun and smooth. I learned to start simple and build on simple device. It would be better if I could replace the current photoresistor to a motion sensor so it can detect more accurate movements. 

Drop files here or click to select

You can upload files of up to 20MB using this form.