Introduction to FTDI bitbang mode

posted Sep 22nd 2009 7:53am by Phil Burgess
filed under: classic hacks, how-to, led hacks

officespace

It was an interface that launched a thousand hacks. Near trivial to program, enough I/O lines for useful work, and sufficiently fast for a multitude of applications: homebrew logic analyzers, chip programmers, LCD interfaces and LED light shows, to name a few.

Today the parallel printer port is on the brink of extinction (and good riddance, some would say). Largely rendered obsolete by USB, few (if any) new peripherals even include a parallel connector, and today’s shrinking computers — nettops, netbooks, media center PCs — wouldn’t have space for it anyway. That’s great for tidy desks, but not so good if you enjoyed the dirt-cheap hacks that the legacy parallel port made possible.

Fear not, for there’s a viable USB alternative that can resurrect many of these classic hacks! And if you’ve done much work with Arduino, there’s a good chance it’s already lurking in your parts drawer.

Read the rest of this entry »

How-to: Bus Pirate probe cable

posted Jul 2nd 2009 12:08pm by Ian
filed under: how-to, misc hacks, tool hacks

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.

Read the rest of this entry »




How-to: The Bus Pirate V2 with USB

posted Jun 25th 2009 5:15pm by Ian
filed under: hardware, how-to, tool hacks

buspiratev2goii450

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

The Bus Pirate is a universal serial interface tool, we use it to test new chips without writing any code. It currently supports most serial protocols, including 1-Wire, I2C, SPI, JTAG, asynchronous serial, MIDI, and more. We added some other features we frequently need, like pulse-width modulation, frequency measurement, voltage measurement, bus sniffers, pull-up resistors, and switchable 3.3volt and 5volt power supplies.

The new v2 family adds USB power and connectivity to the best Bus Pirate design yet. We also reduced the part count and cost wherever possible. If you want to get your hands on some Bus Pirate USB goodness, Seeed Studio has assembled hardware for $30 (including worldwide shipping).

Read about the new design after the break.

Read the rest of this entry »

How-to: Build your own spot welder

posted Jun 23rd 2009 8:30am by Steve Watkins
filed under: how-to, misc hacks, tool hacks

Welding stainless steel

Spot welders are used in the fabrication of automobiles, PC cases, power supplies, microwave ovens, electrical junction boxes, Faraday cages, and various electronics. A spot welder is used because it produces a highly defined point of contact weld. The materials are welded without excessive heating, so working pieces are handled easily. The weld is also highly controlled and repeatable. In this how-to we cover the basics of a spot welder, and then show you how to build one from a microwave oven transformer.

Read the rest of this entry »

How-to: Fix your stupid internet

posted Apr 1st 2009 12:41pm by Eliot Phillips
filed under: classic hacks, how-to, news

aprilfools-1

Dear Hack a Day,
Websites keep publishing poorly executed jokes today; how can I fix this?

We’ve been getting a lot of questions on the tip line like the one above, so we put together this one-step illustrated how-to. If you’re not the physical labor type, you can use [Steve Lambert]’s SelfControl.

[Related: Hack a Day goes autonomous, Craft a Day]




How-to: Bus Pirate v1, improved universal serial interface

posted Jan 22nd 2009 6:43pm by Ian
filed under: hardware, how-to, tool hacks

front450a

We use the Bus Pirate to interface a new chip without writing code or designing a PCB. Based on your feedback, and our experience using the original Bus Pirate to demonstrate various parts, we updated the design with new features and cheaper components.

There’s also a firmware update for both Bus Pirate hardware versions, with bug fixes, and a PC AT keyboard decoder. Check out the new Hack a Day Bus Pirate page, and browse the Bus Pirate source code in our Google code SVN repository.

We cover the design updates and interface a digital to analog converter below.

Read the rest of this entry »

How-to: Prepare your Eagle designs for manufacture

posted Jan 15th 2009 4:11pm by Ian
filed under: how-to, parts

back

Cadsoft Eagle is a multi-platform freeware circuit layout program. Lots of open source hardware is designed in Eagle, and it’s become a hobbyist favorite. We use it for all of our hardware designs.

There are several ways to turn an Eagle design into an actual printed circuit board (PCB). We’ll show you how to save Eagle designs as industry-standard gerber files that are accepted by any PCB manufacturer. You can use the gerbers to order a single prototype, or a full panel.

Read the rest of this entry »

How-to: Digital picture frame, 100% DIY

posted Jan 8th 2009 4:07pm by Ian
filed under: home hacks, how-to

frontii

There are a ton of digital picture frame tutorials out there. Most are old laptops with crafty case reconfigurations that fit a photo frame profile.

We set out to build a 100% DIY, scratch-built digital picture frame. Our frame has a 12bit color LCD, gigabytes of storage on common, FAT-formatted microSD cards, and you can build it at home. We’ve got the details below.

Read the rest of this entry »




How-to: Programmable logic devices (CPLD)

posted Dec 11th 2008 6:41pm by Ian
filed under: how-to, misc hacks, tool hacks

cover-450

Complex programmable logic devices (CPLDs) contain the building blocks for hundreds of 7400-serries logic ICs. Complete circuits can be designed on a PC and then uploaded to a CPLD for instant implementation. A microcontroller connected to a CPLD is like a microcontroller paired with a reprogrammable circuit board and a fully stocked electronics store.

At first we weren’t sure of the wide appeal and application of CPLDs in hobbyist projects, but we’ve been convinced. A custom logic device can eliminate days of reading datasheets, finding the ideal logic IC combination, and then waiting for chips to arrive. Circuit boards are simpler with CPLDs because a single chip with programmable pin placement can replace 100s of individual logic ICs. Circuit mistakes can be corrected by uploading a new design, rather than etching and stuffing a new circuit board. CPLDs are fast, with reaction times starting at 100MHz. Despite their extreme versatility, CPLDs are a mature technology with chips starting at $1.

We’ve got a home-etchable, self programming development board to get you started. Don’t worry, this board has a serial port interface for working with the CPLD, and doesn’t require a separate (usually parallel port) JTAG programmer.

Read the rest of this entry »

How-to: Read a FedEx Kinko’s smart card (SLE4442)

posted Nov 25th 2008 5:29pm by Ian
filed under: how-to, misc hacks, tool hacks

overview

Our wallets are filling up with SIM and RFID cards that contain hidden information. Using our latest project, the Bus Pirate universal serial interface, we can dump the memory from many common smart cards. In today’s How-to, we show you how to interface common smart cards, and walk you through the data stored on a FedEx Kinko’s prepaid value card.

Read the rest of this entry »

Hack a Day serves up fresh hacks each day, every day from around the web and a special How-To hack each week.

Send us your hacks