Thank you for your patience in that regard too! I don't have too much time to work on this project, but I will try to fix bugs when and if they arise. I started writing this project a while back and have since then learnt a lot more about programming and software development in general. Thank you for using my software and all the constructive feedback I've been getting about it. If anyone would like to donate (for whatever reason), you can do so here. It also allows using the gyro to control your mouse and remap the special buttons (SL, SR, Capture) to key bindings of your choice. I will keep you posted should there be any results.Allows the Nintendo Switch Pro Controller, Joycons, and Switch SNES controller to be used with Cemu using Cemuhook, Citra, Dolphin, Yuzu, and system-wide with generic XInput support. Feel free to ask me any questions and remember to support the programmers whom made these programs possible. Thank you for reading through this long post. Run programs on the Raspberry Pi ( specifically, run imgcomp on one ‘screen’ and door sensor script on another and detach from screen).Point camera at trap ( Camera is located inside the Raspberry Pi case ).Green glow is Wifi Dongle, the other is a keyboard – for you curious folks I used BCM (Broadcom Numbering) mode for the GPIO settings in the Python script and set GPIO pins 5 & 6. One end is connected to the 3.3V GPIO pin, and the other to respective pins. Fasten them with zip-ties or else they will launch like catapults if you only use the double sided tape attached. Connect the Magnetic Contact Switches to the Mouse Trap.Once both ends are connected you should have this.( Cut one strand in half and connect to both wires) This will help connect the sensor directly to the Raspberry Pi. Connect the other end of the wire with female to female jumper wires. Once the wires are spliced ( connected ) use a lighter or a heat gun to shrink the heat-shrink tubing.Strip and connect both the wire and the magnetic contact switch ( Remember to cut and slip on the heat-shrink tubing before splicing the wires).Dropbox Uploader will upload periodically the folders which contain the image files from motion detector (imgcomp).When door closes, it will display ( print ) on screen, save in a text file and will notify via email.When camera detects motion it will save images (imgcomp program).(I’ve laid two traps, hence the Trap Door 1 and 2 ) What shows on screen when there doors are opened or closed. If you are interested in the code, feel free to leave a comment or send me an email. I then wrote a Python script which detects when the magnetic contacts are in proximity with each other, which will in turn display some words on the screen, save them in a text file and notify me via email. Excellent programmer, Woodsmith, engineer and creator!.Where to get it: Click here for instructions on the creator’s website.Takes a still image every second but only save when motion is detected.An off-line surveillance program for Raspberry Pi.Where to get it: Click here for instructions on Github.Can browse Raspberry Pi files anywhere in the world.Use it with Cron to schedule regular uploads (on terminal type ‘crontab -e’).Uploads files/folders to your Dropbox account.Where to get it: type ‘sudo apt-get install screen’ on terminal.Essential for running multiple programs while connecting via SSH (remotely).Enables you to run multiple terminals in the background. This will take a while but it will ensure that I have the latest drivers. I used Raspbian ( the default Raspberry Pi operating system ) and started by updating and upgrading with ‘sudo apt-get update’ followed by ‘sudo apt-get upgrade’. This part maybe a little technical, feel free to skip if you start to yawn. Preparation will be divided into two parts: The main objective is not to catch the mouse, but instead, to verify the reliability of said sighting. This will enable me to monitor remotely and not be thinking whether it has caught something or not. My plan was to setup a mouse trap which will notify me when the trap door closes, as well as take a video of the process. Nonetheless, it got my creative juice flowing and here’s my thought on a ‘better’ mouse trap. Now, this was by an outsider – neither my co-workers nor myself have seen sightings of rodents in this vicinity. After my weekend of travel, I have been informed of a mouse sighting in the office.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |