Building a Better Mousetrap With The Raspberry Pi

Build a better mousetrap, and the world will beat a path to your door, but what about a smarter mousetrap? [Alain] decided to find out by making a Raspberry Pi-powered, Internet-connected smart trap. The brains of the operation is a Pi running Arch Linux. Connected to that is a IR trigger, a servo to unlatch the sliding door, and a camera to see your new friend.

The housing of the trap is CNC cut foam PVC board, which is both easy to cut and to clean. Once the IR beam is broken the Pi turns the servo, which pulls a pin on the front door. Once your new friend is settled in a LED light turns on to illuminate the subject, a picture is taken and sent via email.

With automated alerts you don’t have to manually check the trap, and you also don’t have to worry about a trapped animal being inside for too long. Join us after the break for a demonstration video showing off all the features, and a real world example.

Continue reading “Building a Better Mousetrap With The Raspberry Pi”

3D Printed Mini Vectrex

With the more common availability of 3D printers, making miniature models of retro computer and video game gear is one way to nerd out and not fill the house up. [Jason] was looking around and noticed that no one has modeled the Vectrex video game system and stepped right in to fill the void with a working 3d printed miniature model of the unique early 80’s video game system.

For those who don’t live and breathe retro game systems, the Vectrex is a 1982 8 bit game machine unique in the fact that it comes with its own monochrome vector graphics CRT in the console. [Jasons] model features a 2.2 inch LCD with a SPI interface.

Emulation is powered by a VoCore SBC sporting a 360Mhz MIPS CPU and a modest 32 megs of ram, which is more than enough to handle the 8 bit math and wireframe graphics. The emulator used is a port 0f VECX with the display rerouted to the LCD screen instead of using standard SDL interfaces.

The case was modeled in Sketchup, and the whole lot is powered by a 3v3 lipo battery.  Join us after the break for a quick video of the mini model running the introduction to “Mine Storm” which was the onboard game original to the machine.

Continue reading “3D Printed Mini Vectrex”

Hot-Wire CNC Foam Cutter From E Waste

A couple of old DVD ROM drives and a compact photo printer is fairly standard fare at the thrift store, but what do you do with them? Hack them up to make a CNC foam cutter of course!

[Jonah] started with a couple LITE-ON brand DVD RW drives, which use stepper motors instead of plain old DC motors. This is a huge score since steppers make accurate positioning possible. With the internal frames removed, threaded rod and nuts were used to hold the two units parallel to each other forming the Z axis.

The feed mechanism from a Canon compact photo printer was then bolted onto the bottom to form the Y axis. Add a bit of nichrome wire for the cutting element (this can be found in old hair dryers) onto where the laser assembly of the DVD rom once lived, and you have the mechanics done.

Control is handled by an Arduino and some easy-driver modules to interface with the steppers. G-Code is generated by CamBam, which handles various cad files, or has its own geometry editor.

This is a fantastic way to get your feet wet in several ways; Cracking things open to harvest parts, driving steppers with simple micocontrollers, modeling and generating g-code, etc. The one issue we see with this build is a chicken-or-egg problem since you need to have a cube of foam cut down to somewhat strict dimensions before it will fit in this cutter. But we suppose that is really just an iterative design problem.

Continue reading “Hot-Wire CNC Foam Cutter From E Waste”

Hackaday Prize Entry: netBOOT Powercycles Your Modem When You Can’t

Many people have their home network setup with a dynamic dns service in order to remote access their files, printers, or Pi based security camera systems. Many people also suffer from less than stellar internet connectivity and find themselves unable to access their home system due to a stalled signal.

netBOOT is an Arduino based device that automatically resets your modem for you, when you are unable to. Core of the system is a standard issue ATMEGA328p based Arduino board combined with a W5100 Ethernet module, and a relay module. The software on the Arduino periodically pings a list of IP addresses and listens for a response. If none is found within 3 tries the relay module, which is connected inline with the DC power of your modem, is clicked open for 10 seconds and then returned closed. Once your modem has rebooted and re-synced everything should be good to go.

We don’t remember seeing this feature in the list of specs for Google’s new OnHub. The ability to reset bad connections seems like a feature that should be built into future-thinking routers, right?

The 2015 Hackaday Prize is sponsored by:

Reflow Solder Your Micro SD to Ensure it Doesnt Go Anywhere

SD cards are great inexpensive storage for your embedded project. Using SPI,  they only take a few wires to hook up, and every micro-controller has a FAT file system interface to drop in your project. Problem with SD cards are the connectors.

Usually connectors cost more than the brains of your project,  and the friction fit, spring loaded contacts are not ideal for temperature swings, humidity and high vibration applications. Wouldn’t it be nice if you could just solder the thing down, especially if you know you are never going to remove it?

[Timothée] decided to try and succeeded in reflow soldering a Micro SD card direct to a breakout board. While starting as a what if experiment, the PCB was laid out in Ki-Cad and sent off to a fab. Once returned the Micro SD was fluxed, tinned and fluxed again, then reflowed using an IR setup.

The end result is a handy breakout board where you never have to worry about someone swiping the card to jam in their camera, and is ready for any breadboard project.

Arduboy Classic Plays On Original Game Boy Screen

The Arduboy is a Kickstarter backed, 8 bit video game console that mimics the look of a very tiny Nintendo Gameboy. The Arduboy Classic is actually using the case, button and LCD screen from a classic Game Boy.

[uXe] is using the same brains, an ATMEGA32U4, along with a 328 as a co-processor to handle the classic “creme-n-spinich” gameboy screen. 2K of dual port ram acts as a buffer between the two micro-controllers meaning they can not only run while not being in lock step with eachother, but that each micro can read or write to the ram at the same time.

Currently the whole setup is spread out on a breadboard while all the interfacing is worked out, but it is working quite well. Future plans are to make a drop in motherboard replacement for the classic game system, and there is ample room for all the new electronics on the original footprint.

If you’re unfamiliar with the Arduboy project, check out our interview with it’s creator, [Kevin Bates]. That and the demo of [uXe’s] hack based on the project are both found after the break.

Continue reading “Arduboy Classic Plays On Original Game Boy Screen”

Bed Lights Keeps You From Stubbing Your Toe When Nature Calls

While out shopping for bed’s with his better half, [Shane] tried out one of the more expensive, all “bells and whistles” included models. While the aforementioned featurees were impressive, one stood out: motion controlled underlighting for when you had to get up in the middle of the night.

bed-underlighting-thumbKnowing that this feature would be easy to replicate [Shane] went about making his own version. Using PCV pipe to make the framework for the LED’s a 9 volt DC power supply, and a list of electronic components all that was left to figure out was the motion controls.

PIR motion sensors  are the natural choice and its simple enough to hook them up to the micro of your choice and bang out some code. It’s just as simple to hard wire them into a circuit skipping the added cost of the micro and complexity of the software.

The two PIR sensor outputs are wired though a diode OR gate, to a potentiometer to control sensitivity, and then to a pair of NPN transistors to ultimately control power to the LED strips. Now they have motion controlled night lights for their bed when nature calls in the middle of the night.