Donnerstag, 27. August 2015

RaspiTrap V1.0

Videos





Hi all,
I want to present my Raspberry Pi project.
An animal friendly mousetrap with photo, video and email function.

You may ask, why somebody would build such a mousetrap?
Why not?

C.A.D. Design






First of all I tried the design in Sketchup 8, which is still free
I could try a few designs virtually to see if everything fits.

Housing





To build the housing (350mmx110mm), I used 5mm foamed PVC Sheets.
So, I could use a cutter as CNC machine :)

Infrared Barrier






To detect if a mouse is inside, I made an infrared barrier.
It was build on breadboard for test, but I was too lasy to make my own PCB, so I ordered it in China.
It took one week and the result is stunning.
I want to use an external power supply, but I decided later, to use the 5V from the raspberry pi.

Transmitter and Receiver




To fix the IR sensors TEMIC K153P inside the trap, I manually milled two grooves.
They were placed behind the 3mm acrylic glass plates.
As you can see, the 9gr. servo motor is already mounted.

Pi Camera with Fisheye




I used a cheap fisheye lens to mount in front of the pi camera.
For mobile phones these lenses are fine, because the phones have an autofocus.
The pi camera has a fixed focus so that the picture is blurry.
I will try to change the focus on the pi camera, but not for now.

Scripts


The scrips are written in python.
The trap software has the start script. Basically, this one just checks if the end switch is released, and then jumps to the main part.
In this one, we check if a mouse is detected by the infrared barrier and then it jumps to the script which takes a Photo and sends the Instant message. After this it jumps to the one who sends the mail.
For the instant messaging I use Instapush (https://instapush.im/)

Everything in Place





At the back side you will find the Raspberry Pi, the servo motor and then PCB for the Infrared barrier
The release mechanism on the left side is a thin piece of PVC. It is connected over a thin metal bar with the servo motor. Behind the servo is an end switch. This one detects, when the trap was released.
Inside the trap is white LED. It shows me the status of the mousetrap and it is used as
flashlight to take the pictures
The raspberry runs on archlinux.

Things to add:

-Web server with live view
-Even if the trap is not airtight,
I will add a few air holes in the cover

Last Words



No animals were harmed during these tests.
In the trap is always enough food and water for the mouse, to survive until it gets released.
All the mice, I had caught, are free again and on their way home

Thanks for your interest

Samstag, 28. März 2015

Speaker to Desktop Lamp


Hallo,
bekam diese Lautsprecher mal geschenkt. Sie haben aber ziemlich schnell den Geist aufgegeben.
Wollte sie aber nicht wegschmeissen, also habe ich sie zur Bürolampe umgebaut.



Zuerst mal auseinandernehmen Den Lautsprecher musste ich Stück für Stück herausbrechen


7€ Habe ich im Internet für diese Ledlampe mit Fernsteuerung bezahlt







Eine E27 Fassung an ein Kabel mit Stecker anschliessen


Test....Läuft


Die Lampe passt perfekt in den Hohlraum wo vorher der Lautspecher war


Und dann noch ein Video ...


Samstag, 31. Januar 2015

Ritech 3d glasses, dioptres upgrade

I bought this 3d glasses on Ebay for 17 Euro



I wear glasses, and I cannot wear them together with the Ritech.
Without my glasses the picture is blurry :(

So I had a wired Idear...

I tried it with 2 close up lenses with +8 and 52mm diameter,
normally used for DSLR's


I fixed them inside with hot glue


Positive: 

               -I have now a sharp Picture
               -The picture is now min. 2,5x bigger than before, which is a nice side effect :)

Negative:

               -I am the only person which can now use these glasses.




Samstag, 24. Januar 2015

Disketten Bild

Hun eng aal 5 1/4 Zoll Diskette fond.
Wollt se awer net weggeheien.


Also eng Schwedesch Billerrumm


Auserneen geholl


En Steck Karton fest gepescht


Aus enger Verpackung den Karton geholl, fir Wenkel ze machen


Matt Waarmen Pesch festgemmet


Diskette drop gepescht


An Färdeg...

Passt gutt bei Familienfotoen :)


Freitag, 26. September 2014

Annoying Last Xmas Picture Frame

I've build this to make people in my office happy :)

The idea is to built something like this "days without accident" panels.
Each time somebody will push the button, the counter resets and Last Xmas will play.

This is how it should look like


And here is the result



I took one of this IKEA 3D Frames and took it apart


A 4mm Plexiglas panel and a DinA4 self adhesive paper,
with printed Text on it


I used the toner thermotransfer methode to make the PCB's




 I made 2 PCB's. One for the counter electronic with the CPU, and one for the MP3
module WTV020-SD-16P and the amplifier
The counter increments each 24h.




A piece of red plastic foil for the display and a piece of Mosquito cover for the speaker (with a few test holes :) )




All fixed inside



The counter reset button


Finished Frame


And finally installed in the Office :)