element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Sensor/IoT device to send an alert message - Squirrel Traps
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 17 replies
  • Subscribers 663 subscribers
  • Views 3544 views
  • Users 0 members are here
Related

Sensor/IoT device to send an alert message - Squirrel Traps

DigitalHillbilly
DigitalHillbilly over 3 years ago

Greetings, I am new to the forum.  I want to make a device that will send a message/email/other home automation protocol message when an event happens (trap trips). I have looked at several microcontrollers ESP32, firebeetle, etc..., Pi and Arduino devices, but looks like the Pi Zero might be my best (easiest) solution. I wanted to keep it simple, and very cheap (under $20 if possible)... I need the device to be battery powered, and portable. (I don't like the idea on connecting a wall outlet to a metal cage.)  It doesn’t need to be on all of the time, when the event happens two contact plates touch, a circuit is closed (or a button pushed) the device powers up and send the message. At this point it can be programmed to shut down, or just let the power drop off until it fails.. I don’t really care here... It’s a pain to get into these attic areas every day to check, as fiberglass insulation gets everywhere, I would rather know when something is trapped, so I can go take the squirrel to a park and let it go. I had one die and decompose in a trap a long time ago, and it was messy.. Don’t want to do that again. My purpose is not to kill them,, just get them out of my attic, they are damaging my home.

My experience with power bricks is that there is usually a button that has to be pushed to activate or wake them up, they don't usually just serve power when the connected device powers up, at least the ones I have. I can't seem to find any 5V batteries with a micro USB cable ready for the Pi Zero. Weird, I would have thought someone somewhere would have made one by now.  I don’t need more than maybe 5-10 minutes of on time, the pi to power up, connect to my home Wi-Fi, send the message, then shutdown, all of that is easy enough to set up. I had thought there would be some IoT sensor or device out there to handle this type of thing, but I haven’t found anything yet... So it’s back to a Pi solution... 

I work in Critical Infrastructure and Cyber Security and am expanding my skillset a bit with some of these types of projects, and IoT and IIoT sensors and like devices are on the rise... It seems that a device similar to this could be used for a whole slew of functions and situations, weird no one has a solution yet... I'm starting small and simple, with plans to go on to bigger and better things.. Any help, recommendations, or suggestions are welcome Slight smile

  • Sign in to reply
  • Cancel
Parents
  • dougw
    0 dougw over 3 years ago

    A low cost solution is to use an ESP32 (~$3) module and a battery (a couple of AA batteries). The contact closure you mentioned could connect the battery voltage to the ESP32, which would power up and send WiFi messages notifying you of the event.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • dougw
    0 dougw over 3 years ago

    A low cost solution is to use an ESP32 (~$3) module and a battery (a couple of AA batteries). The contact closure you mentioned could connect the battery voltage to the ESP32, which would power up and send WiFi messages notifying you of the event.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • beacon_dave
    0 beacon_dave over 3 years ago in reply to dougw

    There is also the ESP32-CAM if 'photographic evidence' of a successful catch was required. Would likely require the addition of a couple of LED's to briefly illuminate the scene in a dark attic space. 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DigitalHillbilly
    0 DigitalHillbilly over 3 years ago in reply to dougw

    Agreed. I havent seen any boards for $3, usually around $10 but still really cheap. and they have rechargable batt packs already available, and can be repurposed later on. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • DigitalHillbilly
    0 DigitalHillbilly over 3 years ago in reply to beacon_dave

    I thought about that or maybe a motion senser, or even an IR camera set up. But for now, just knowing something disturbed the trap is enough. The project is giving me a lot of new ideas for things I want to do for my home, so its a step on a new path of home projects ;)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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 © 2025 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