Photo Interrupters Explained

img_0147 (Custom)

[Eric] sent in this very informative writup on how to use Photo interrupters. These things can be used for many things, he lists pellet dispensing and limit switches. He found one in his junk box and realized he knew very little about it. After some exploring and research, he’s here to educate the rest of us. There’s a good breakdown of the circuit itself which is pretty simple as well as a test circuit and some sample code.

Hacking An IButton

breadboard1

Maxim’s iButtons, which are small ICs in button-sized disks, are starting to show up in more and more places. They have a range of uses, from temperature loggers to identification, and all use the 1-wire protocol to communicate. Over a furrtek, they hacked an iButton used for buying things from vending machines and created an infinite money cheat. They built a small rig based on the ATmega8 to read and write data to the chip. The data was encrypted, so it wasn’t feasible to put an arbitrary amount on the card. Instead, they used a similar technique to the Boston subway hack and restored a previous state to the iButton after something was bought. They also created a hand-held device to backup and restore the contents of a button for portable hacking.

[Thanks furrtek]

AVR Boost Converter

avrboost

Over at SpriteMods, [sprite_tm] realized that a microcontroller could be used as a boost converter to power itself. A boost converter steps up voltage from a battery by switching the output of a coil. First, it is tied to ground so a magnetic field can build up in the coil. It is then released as a higher voltage than the input. Normally dedicated chips do this at an incredibly high frequency, but the PWM signal from an AVR works well enough. This can be used in low-power situations where space is an issue.

[via EMSL]

Battery Desulfator

mini-d

Hack a Day favorite [Mikey Sklar] is back with a new project. Mini-D is a battery desulfator. If a 12V lead-acid battery sits with a voltage below 12.3V, sulfur crystals will begin to form on the lead plates. This crystal growth increases the internal resistance and eventually makes the battery unusable. A battery desulfator sends high frequency pulses through the battery to create a resonance that will break up the crystals. On a 60lb automotive battery, it will take approximately three weeks to completely desulfate. You can find schematics plus a dozen lines of code for the ATmega169 on his site. Embedded below is a video where he explains the device and other techniques like load testing.

Continue reading “Battery Desulfator”

Capacitive Discharge Spot Welder Update

welder

It seems one of our commenters took great umbrage with [PodeCoet] not documenting his capacitive discharge cutting properly. [PodeCoet] had been waiting till he got the full spot welder working before publishing, but he’s expedited the work after all our whining. Check out his full writeup of the device in its current state. It uses a 1Farad audio cap for storage. A dsPIC monitors all of the voltage sources and regulates charging. A nice touch is the tactile switch on the electrode.

Capacitive Discharge Cutting

capacitive discharge cutting

Capacitive discharge cutting provides more control than linear transformer versions. A very large capacitor is charged to a precise voltage and then discharged through the material to produce a controlled cut. The same device can also be used for spot and tab welding. A video of copper roof flashing being cut is embedded below. An example of a linear transformer can be found in our our How-to: build your own spot welder.

Continue reading “Capacitive Discharge Cutting”

How-to: Bus Pirate Probe Cable

cover

Update, Saturday July 4th, 2009: All preorders are closed.

A probe cable makes it easy to connect the Bus Pirate to a circuit and get hacking. Good test clips make quick connections on cramped PCBs without causing short circuits. We made two cables for the Bus Pirate v2, keep reading for an overview of our designs and list of part suppliers.

Friday, July 3, 2009 is the last day to pre-order a Bus Pirate. There’s only two days left to get your own Bus Pirate, fully assembled and shipped worldwide, for only $30.

Continue reading “How-to: Bus Pirate Probe Cable”