Difference between revisions of "Peek-a-Thief"

From ESE205 Wiki
Jump to: navigation, search
Line 56: Line 56:
=== Gantt Chart ===
=== Gantt Chart ===
[[File: New_GC.png |1000px|thumb|left]]
[[File: New_GC.png |1000px|thumb|left]]

Revision as of 13:40, 2 May 2017

Project Proposal


Set up of Drawer when open with sensors pointing upwards and Teddy Bear spy camera mounted on Drawer.

What goes on in your dorm room while your away? When you have class and your roommate is home, what do you think he is doing? If you are even slightly suspicious that your personal stash of snacks is being eaten by someone else, then we have the solution for you.

Introducing: Peek-a-Thief, an operating system with the sole purpose of capturing close up images of the people who open up your drawers. Our end goal is to create a security device that discretely captures thieves in action.

Check out the Peek-A-Thief Twitter Feed!

Team Members

  • Michael Pichardo
  • Derick Speltz
  • Will Luer (TA)


  • Sense a person that opens up your drawer using the HC-SR04 ultrasonic sensors
  • Create a sleek operation design that ensures the electrical hardware is hidden
  • Create a mobile system that can operate in multiple environments including dorm rooms, offices, etc.
  • When triggered by the sensor, take a picture using an 8-Megapixel camera
  • Take pictures of a person every second for the first 10 seconds the drawer is opened
  • Store picture data locally on Raspberry Pi
  • Upload to social media platform (Twitter)
    • Stretch Objective: Integrate an Alarm system to startle the thieves!


  • Design sensor supports (for 3-D print) using SolidWorks software
  • Hiding camera, wires, etc. so that they cannot easily be seen from the outside
  • Construction: Attach the sensor supports onto the inside of the drawer with epoxy glue and ensuring that the sensors don't interfere with each other
  • Environment: Finding a good location for the system to operate in (good lighting for the picture, minimal extra noise that would interfere with the ultrasonic sensors)
  • Hardware: Making sure sensors are stable and that the ultrasonic sensors work when sending signals against different types of materials
  • Software: saving all picture data on Raspberry Pi to possibly upload to a social media interface
  • User Safety: ensure fire safety from electrical system
  • Privacy Considerations: In order for our system to work properly, we will need to take a picture of the person by optimizing camera angle. Given that it is surveillance of our own property, privacy of thieves will not be compromised.
  • Operation Costs: Our operation does not cost us anything except time, but we enjoy what we do


  • 8 MegaPixel Camera for Raspberry Pi: $25.00 + 7.99 (Shipping Charges) [1]
  • 1-meter Flex Cable for Raspberry Pi $3.95 + 9.42 (Shipping Charges) [2]
  • Raspberry Pi Charging Cable $5.95 + $9.42 (expedited shipping) [3]
 Total Budget: $61.73

Lab Materials / Our Own

  • Sterilite 16 Quart Stacking Drawer with White Frame - 17" L x 14-3/8" W x 6-7/8" H (We own it) [4]
  • Glue Gun [5]
  • Through Hole Resistors [6]
  • Male to Male Jumper Cables [7]
  • Female to Female Jumper Wires [8]
  • One: Medium-sized Stuffed Teddy Bear (We own it) [9] [10]
  • Raspberry Pi & Breadboard (Lab) [11] [12]
  • Two Ranging HC-SR04 Detector Sensors for Raspberry Pi: (Lab) [13]
  • Wires, Cables, Electrical Tape, Soldering Iron [14]

Gantt Chart

New GC.png

Design & Solutions

Module Description & Solutions

How to wire ultrasonic sensor to breadboard

1. Make sure you have the right resistors, one of each (type 1 ,2) 2. add gpio connector to breadboard and pi 3. refer to diagram to recreate circuit, go wire by wire. we recommend starting with GND and then doing Echo. 4. Ensure that you change the coding in the source code to match which pin u input echo to. 5. after you connect first sensor, repeat step 3 for other sensor on other half of breadboard. 6. edit code wherever it says echo, write echo 1 and so forth. make sure your second variables are equal correspond to the correct pins. Your different variables are for your other sensor so it own variables. 7. change source code so it takes picture if first sensor distance is greater than roof or second sensor distance is greater than roof

HowTo Pages

  • link
  • link


  • Present all your results, including modules that only partially worked.
  • Discuss how the results compare to your original objectives.
  • Identify the critical decisions or factors in your project that stopped you from getting a better result (try to avoid obvious comments such as "we run out of time").
  • Include a copy of the poster you used in your demonstration to help explain your results.