element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Spy Nerd
  • Challenges & Projects
  • Project14
  • Spy Nerd
  • More
  • Cancel
Spy Nerd
Blog Bad Kitty Counter Spy .....another fabulous WRONGCO product
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Spy Nerd to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: robogary
  • Date Created: 27 Oct 2021 4:14 AM Date Created
  • Views 3262 views
  • Likes 4 likes
  • Comments 6 comments
  • spynerdch
Related
Recommended

Bad Kitty Counter Spy .....another fabulous WRONGCO product

robogary
robogary
27 Oct 2021

For the Spy Nerd Project Competition, WRONGCO introduces another revolutionary ludicrous product .........

 

the BAD KITTY COUNTER SPY.

 

The Bad Kitty Counter Spy sits unnoticed, silently and innocently pushed back into the shadows on your kitchen counter.

....BUT it is watching. 

If that bad kitty, in my case 3 bad kitties, ........or dog, or ferret, or piglet, even your demonic pre school child,

climbs onto the kitchen counter, Bad Kitty Counter Spy will trigger and email the photo of the culprit to you.

 

Bad Kitty Counter Spy can provide incriminating photos in the day and also in the darkest of night using infared night vision.

Here is some example photos of the Bad Kitty Counter Spy in action:

imageimage

imageimage

CAUGHT IN THE ACT !!!  actual untouched photos emailed to me from the Bad Kitty Counter Spyimage

imageimage

image

the pink/purple photos are taken in the dark

imageimage

 

So you want to know more about this incredible and sensational product's features and construction ?  Keep on reading. 

 

The truely unique features of this product:

1) Photo triggering is accomplished with a SR602 PIR motion detector. The SR602 is compatible with the Raspberry Pi 3.3V GPIO.

   This PIR has a 100 degree field of vision, which would normally cause alot of undesired triggering.

     The PIR is mounted inside a plastic tube lined with tar paper to act as a lens and limit the field of vision to be in front of the countertop.

2) The cardboard box used to build the project enclosure is a recycled CHEWY box. How is that for irony ?

3) I was going to build an IR LED module for night vision, but a 36 IR LED assembly with photoresistor control was purchased from Amazon for $4.

I could not come close to to building one for that price. It came with no instructions so I did have to do some evaluation testing.

The IR LED module only comes on at night, and the software turns on the MOSFET driver only for a 1/2 sec before taking the photo, then turns it off again afterwards.

 

If you'd like to build this project yourself, this was my starting place:

https://www.bc-robotics.com/tutorials/sending-email-attached-photo-using-python-raspberry-pi/

Once this code was running, then I built the hardware.

 

 

One issue was the IRD540 MOSFET for turning on the IR LED module,  wouldnt fully gate on using 3.3V GPIO to the gate, so the IR LED assembly wasnt as bright as it should be.  Inserting a LEVEL shifter to boost the gate signal to 5V fixed that problem.

 

Here is the project schematic:

image

 

My biggest modification to the python code is the decison to trigger and the IR LED module control:

while True:

    if ((GPIO.event_detected(17)) or (GPIO.event_detected(27))):

        GPIO.output(4,GPIO.HIGH)

        time.sleep(.5)

        image = '/home/pi/Desktop/image.jpg'

        camera.capture(image)

        time.sleep(0.1)

        GPIO.output(4,GPIO.LOW)

        sendTo = 'xxxxxxxxxxxxxx@gmail.com'

        emailSubject = "Bad kitty Detected!"

        emailContent = "This is the guilty kitty: " + time.ctime()

        sender.sendmail(sendTo, emailSubject, emailContent, image)

        print("Email Sent")

   

Here is a test on the IR LED module to determine load VS volts curve, min volts, and get an idea of light intensity cutoff:

 

 

image

 

Here are some photos of the project construction:

 

imageimage

 

imageimage

image

  • Sign in to reply
  • robogary
    robogary over 4 years ago

    How can something so right be made by WRONGCO ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube