posted Jul 6th 2009 10:05am by
Ian Lesnet
filed under:
misc hacks,
parts

Ferrite beads (L1 in the photo) filter high frequency power supply noise by converting it into a tiny amount of heat. Power supply noise can cause various problems for many parts, especially in analog audio and display circuits.
Ferrite beads are simple, but choosing one can be confusing because they’re not commonly used by hobbyists. Most designs will still work if you omit the ferrite bead(s), but beads are so cheap there’s no reason to sacrifice the added reliability they provide. We describe how we pick ferrite beads for our projects after the break.
Read the rest of this entry »
posted Jul 3rd 2009 11:13am by
Ian Lesnet
filed under:
news

Update, Saturday July 4th, 2009: All preorders are closed.
Today is the last day to pre-order a Bus Pirate. Get your own Bus Pirate, fully assembled and shipped worldwide, for only $30. We don’t plan to make more soon, this could be your last chance.
A special shout out to our partner, Seeed Studio, who handled the rush of orders like pros. The first pre-order is already being manufactured, and will ship as soon as possible. Seeed still has a few V2a PCBs if you’d like to roll your own Bus Pirate.
You’ve made this pre-order a huge success, and we’d like to make more projects available in the future. Were you just interested in the Bus Pirate? Should we arrange pre-orders of future Hack a Day hardware? Are there any past projects that we should revisit?
Read the rest of this entry »
posted Jul 2nd 2009 12:08pm by
Ian Lesnet
filed under:
how-to,
misc hacks,
tool hacks

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 »
posted Jul 1st 2009 11:23am by
Ian Lesnet
filed under:
misc hacks,
tool hacks

Most of the parts we use operate at 3.3volts, but we still run into a lot of old 5volt stuff, and an occasional 2.5volt or 1.8volt part. This post explains how to use the Bus Pirate’s open collector pin mode to interface with parts at different voltages.
We’ve got more details and some example scenarios below the break. Yup, this is another Bus Pirate post. It’ll all be over soon though, because there’s a few days left to get your own Bus Pirate for $30, fully assembled and shipped worldwide.
Read the rest of this entry »
posted Jun 30th 2009 11:14am by
Ian Lesnet
filed under:
misc hacks,
parts,
tool hacks

Microchip’s 25AA/25LC EEPROMs are data storage chips with a simple 3-wire interface. The 25AA/LC is an SPI version of the common 24AA/LC I2C EEPROM. It comes in capacities of 128bytes to 128kilobytes. We looked at the smallest, the 128byte 25AA010A.
There are Bus Pirate demonstrations for most types of serial EEPROMs. Check out our previous 1-wire (DS2431) and I2C (24LC1025) EEPROM posts.
Continue below to see our test circuit and a demonstration of the 25AA010 EEPROM. We used the Bus Pirate to play with this chip from our PC. For a limited time you can get your own Bus Pirate, fully assembled and shipped worldwide, for only $30.
Read the rest of this entry »
posted Jun 30th 2009 1:07am by
Ian Lesnet
filed under:
hardware,
news,
tool hacks

We’re only four days into the Bus Pirate pre-order, and we’ve exhausted the supply of PIC24FJ64GA002s available in Shenzhen. Thank you for supporting Hack a Day’s first official hardware pre-order. You helped make it a huge success, and we definitely want to do it again in the future.
We weren’t kidding about the PIC shortage. Seeed sourced all they could from Shenzhen, and then tried Hong Kong. It’ll take 4 to 6 weeks to get more.
If you already ordered a Bus Pirate then nothing changes, your Bus Pirate will ship ASAP. In fact, PCB production should start a few days early. The first pre-order item name starts with “[Preorder]“.
New orders are now forwarded to a second pre-order. The new pre-order will take 4 to 6 weeks longer. It should ship about 6 to 8 weeks after July 3, 2009, but we’ll try our best to get it out sooner. The new pre-order item name starts with “[Preorder 2]“.
Read more about the Bus Pirate in our latest How-to. Thank you again for your support!
posted Jun 29th 2009 11:00am by
Ian Lesnet
filed under:
led hacks,
misc hacks,
parts
posted Jun 26th 2009 12:31pm by
Ian Lesnet
filed under:
misc hacks,
parts
posted Jun 25th 2009 5:15pm by
Ian Lesnet
filed under:
hardware,
how-to,
tool hacks

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 »
posted Jun 25th 2009 10:30am by
Ian Lesnet
filed under:
hardware,
news,
tool hacks

Firmware v0g for all Bus Pirate revisions is now available. Updates in this release include a bootloader, frequency generator/pulse-width modulator, SPI bus sniffer, MIDI library, configuration reports, improved user interface, and bug fixes. v0g is also the first firmware to fully support the v2 hardware branch.
We’re really proud of this release as it brings a much more consistent structure to the internal operation of the Bus Pirate. It lays the foundation for future CAN, LIN, and OBDII libraries, and it supports localization and translations. Install and upgrade instructions are included with the firmware. Report bugs on the project issue tracker.
We document the new features after the break.
Read the rest of this entry »
posted Mar 31st 2009 11:00am by
Ian Lesnet
filed under:
news,
tool hacks

Fundamental Logic is selling a Bus Pirate kit and bare PCB based on our universal serial interface tool. They started with our serial port-based v1a hardware, and modified it to use all through-hole parts. 8pin DIP LP2951ACN/-3.3 switchable voltage regulators replace the surface mount TPS79650/33 that we used. The PIC is pre-programmed with our latest firmware, version 0f, which includes a bootloader for easy firmware updates through the serial port. Documentation includes illustrated assembly instructions.
Speaking of Bus Pirate goodness, we’re busy working on hardware V2. As astute readers may have already noticed, the final version of the Bus Pirate incorporates an FTDI USB->serial chip, and draws its power from the USB port. We also tackled the software-controlled pull-up resistor feature, and reduced the overall part count and cost. Best of all, we’re working to make assembled PCBs available with world-wide shipping. The how-to should be ready in a few weeks.
posted Mar 30th 2009 10:00am by
Ian Lesnet
filed under:
digital audio hacks,
parts

Microchip’s MCP6S21/2/6/8 are programmable gain amplifiers that multiply an input voltage by a factor of 1, 2, 4, 5, 8, 10, 16, and 32. The MCP6S22/6/8 also have selectable input channels for working with different signal sources. The multiplication factor and input channel are configured through an SPI interface. This chip is useful for multiplying a small input signal, and selecting among several analog input sources. We demonstrate the six channel MCP6S26 below.
Read the rest of this entry »
posted Mar 25th 2009 12:01pm by
Ian Lesnet
filed under:
contests,
hardware,
news,
tool hacks

We’re putting a bounty on two high-priority Bus Pirate features. You can get a free PCB for the upcoming Bus Pirate V2 by writing a bit of code. Hack a Day has a varied and talented group of readers, and we know someone out there has the experience to make these changes with minimal difficulty.
- The latest code integrates the PIC24F bootloader for easy updates without a programmer. We’d like to add a protocol snooper, but that requires interrupts. With the bootloader, however, interrupts are relocated and we’ve yet to fully grasp how that works. We’ll send a PCB and PIC 24F to the first person who modifies the code to demonstrate UART, SPI, or change notification interrupts with the boot loader. Microchip’s 24F bootloader app note is available here. Complete.
- The current frequency measurement feature is a hack that uses a counter and a timer. Be the first to implement the input capture peripheral instead, and get a free PCB. See the function bpFreq(void) in base.c. Complete.
The latest Bus Pirate code and compiled firmware can be checked-out from Google Code SVN. Submit your code via the comments below or buspirate@hackaday.com.
UPDATE: Both issues were resolved. Thanks for your suggestions.
posted Mar 16th 2009 8:30am by
Ian Lesnet
filed under:
digital audio hacks,
parts

Dallas/Maxim’s DS1801 is an audio volume potentiometer with a simple SPI interface. This chip has two channels of volume control that might be useful in a DIY audio project. We previously looked at the DS1807, a similar part with an I2C interface. This week we’ll show you how to use the SPI version.
Read the rest of this entry »