AVR Guardian filters out dogs

posted Jul 19th 2010 2:12pm by
filed under: home hacks

Cats and dogs can get along quite nicely when they are raised up together. The problem with this type of arrangement tends to be keeping dogs out of the cat box and away from the cat food. [Ryan Meuth] tried out a simple electronic barrier to keep the dog away. It uses an IR transmitter and receiver to shine a beam of invisible light across the doorway to his cat room. In the demo after the break you’ll see that he took steps to make sure the cats don’t set off the alarm. The beam of light is set high enough that their bodies don’t get in the way, and the firmware measures the amount of time the beam was broken in order to avoid false positives caused by the cats’ tails. If the dog does try to get into the room it will break the beam and set off a high-pitched alarm sound.

It’s interesting that the dog doesn’t like the sound but the cat’s don’t seem to be scared of it. Also, we’ve got a less-than-ferocious feline that would love to chew on the cord that connects the two modules. Still, it’s a solution that works for [Ryan] and could be incorporated into an automatic feeder to keep the dog away from feedings while you’re out of the house.

Read the rest of this entry »

PIC based picture frame

posted Jul 19th 2010 12:09pm by
filed under: classic hacks, multitouch hacks

Take a PIC 24HJ256GP206 processor and add a dash of knock-off touchscreen and a pinch of SD card compatibility for a DIY digital picture frame. [Daniel] wrote his own driver for the HX8347 controlled LCD that can achieve 15 FPS at 320×240 resolution with 16-bit color. As this was a gift for his wife, [Daniel] included a heart-shaped ring of LEDs that fade in and out like an electronic pulse. He notes that the JPEG decoder runs rather slow but that’s mostly because of the bottleneck caused when accessing data from the SD card. We’ve got more pictures and a link to the source code after the break.

Read the rest of this entry »




Nixie Sudoku: a look at the hardware

posted Jul 19th 2010 10:09am by
filed under: classic hacks, home entertainment hacks

We’re always happy to receive a tour of the guts that make things work. [John Sarik] posted several pictures and descriptions of the hardware that makes up his Nixie Sudoku build. The modular design uses professionally made circuit boards which greatly improve the durability of a large set of circuits such as this.

The design draws on good ideas from similar hardware. The Nixie Duo kit from Ogi Lumen allows tubes to be mounted on top of driver boards with cascading shift registers for control of up to 8 tubes. The ArduiNIX shield makes the high voltages needed for Nixies easy to control with an Arduino. No, [John] didn’t just order these kits and plug them into each other. He designed his own boards to suit his needs. Each driver board can control 9 tubes in a 3×3 grid, all on one PCB. His high voltage board can supply enough juice for the whole system which is tied together with a single Arduino board.

His writeup is quite interesting so do take a look. He also filmed a walk through video which we’ve embedded after the break. It clears up some questions, such as showing the use of a blinking decimal point to indicate the current cursor position.

Read the rest of this entry »

Android Development 101- Part 2:Graphical Elements

posted Jul 19th 2010 7:27am by
filed under: android hacks, Software Development

In this tutorial, we will be continuing from where we left off with the “hello world” application.  This time adding a graphical user interface (GUI) and a “toast”. The GUI will consist of a button, textbox and a label. The “toast” will be issued onto the screen when the button is pressed.

Some may wonder what a toast is.  Well, for non-programmers, a toast is a text notification that for the most part is used only to display an error on the screen (I am a big fan of using toasts instead of an alert on the screen as its less intrusive).  For this article we will use a toast to display a message on the screen that will take the text in the textbox and issue a “Hello Greg” onto the bottom of the screen.  After this article completed you will be able to successfully make toast commands, design the layout of the hello world program, and pull text from a textbox.

Read the rest of this entry »

Xbox 360 hard drive adapter (redux)

posted Jul 19th 2010 5:56am by
filed under: xbox hacks

[Chlazza] let us know about their Xbox hard drive to SATA adapter, allowing the use of an Xbox 360 (original) hard drive on a PC without voiding the drive’s warranty. Looking for a fun and enriching experience read: really bored and inspired by a previous adapter we featured, [Chlazza] set out to make their own and ended up succeeding with a board that costs less than $1 in parts. Of course the drive uses its own Fat32 based file system so there is still some hacking to do if you intended to read the data, but this is a step in the right direction.




My what a large capacitor bank you have

posted Jul 18th 2010 1:18pm by
filed under: news

[Daniel Eindhoven] put together this 11,344 Joule capacitor bank that he says would be perfect for weapons such as a rail gun, coil gun, or electrothermal-chemical gun. He machined a couple of aluminum plates to act as a positive and negative bus. The two are separated by a denuded sheet of PCB (making us wonder how he got the copper to peel off like that). Once charged there’s the little problem of how to discharge the system without getting bit, which [Daniel] solved by building a pneumatic switch. We didn’t find the test-fire footage very interesting but we did embed the demonstration of his switch after the break.

Read the rest of this entry »

Building a remote control

posted Jul 18th 2010 12:18pm by
filed under: wireless hacks

Here’s a homebrew remote control that [Jad Berro] is developing. He’s using a tank robot to test it out but eventually he plans to use it to control an RC plane thanks the 434 MHz wireless module inside. There’s no shortage of input, with two analog sticks from a PlayStation controller, several momentary push buttons, and some toggle switches. Although it’s not shown in the picture above there is also a 16×2 character display that serves as part of the interface. With a navigable menu the only limit to what you can do is the programming space available on the ATmega168 that inhabits the homemade Arduino board at the heart of the system. It certainly would give the robot remote from Friday a run for its money.

Arm mounted light cannon; villains beware

posted Jul 18th 2010 11:18am by
filed under: wearable hacks

In a hack worthy of the flick Kick Ass, [Chein] built this arm-mounted light weapon. The lamp in the palm of your hand has a ring of LEDs for a nice glowing effect, but the real story is the xenon bulb at its center. The flash capacitor and charge circuit from a disposable camera are used to step up the battery voltage to 330V for an intense and slightly blinding discharge. The charging is started when you press a button on the back of the hand harness, with the flash coming when one of your fingers touches a conveniently positioned trigger. Check it out after the break.

This non-lethal weapon makes for a nice alternative to the dangers involve in playing with fire.

Read the rest of this entry »




Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

Send us your hacks










     




Hacks

Resources