My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Links

NEW Bus Pirate v3. Buy a BPv3 for $30, including worldwide shipping. Read about the v3 hardware.

NEW Upgrade to the v4 bootloader to use firmware v4+.

NEW Did you know: the Bus Pirate is also an STK500 v2 compatible AVR programmer?

Bus Pirate manual and chip demonstrations

3-EEPROM explorer board and demo HD44780 LCD adapter board and demo

Download the latest nightly builds from SVN.


Interfacing a new microchip can be a hassle. Breadboarding a circuit, writing code, hauling out the programmer, or maybe even prototyping a PCB. We never seem to get it right on the first try.

The ‘Bus Pirate’ is a universal bus interface that talks to most chips from a PC serial terminal, eliminating a ton of early prototyping effort when working with new or unknown chips. Many serial protocols are supported at 0-5.5volts, more can be added.

  • 1-Wire
  • I2C
  • SPI
  • JTAG
  • Asynchronous serial
  • MIDI
  • PC keyboard
  • HD44780 LCD
  • 2- and 3-wire libraries with bitwise pin control
  • Scriptable binary bitbang, 1-Wire, I2C, SPI, and UART modes

We added other stuff we need, like,

  • 0-6volt measurement probe
  • 1Hz-40MHz frequency measurement
  • 1kHz - 4MHz pulse-width modulator, frequency generator
  • On-board multi-voltage pull-up resistors
  • On-board 3.3volt and 5volt power supplies with software reset
  • Macros for common operations
  • Bus traffic sniffers (SPI, I2C)
  • A bootloader for easy firmware updates
  • Transparent USB->serial mode
  • 10Hz-1MHz SUMP compatible low-speed logic analyzer
  • AVR STK500 v2 programmer clone
  • Supported in AVRDude programmer
  • Scriptable from Perl, Python, etc.
  • Translations (currently Spanish and Italian)

Since this has been such a useful tool for us, we cleaned up the code, documented the design, and released it here with specs, schematic, and source code.

Bus Pirate manual and chip demonstrations


We compiled the feedback we've gotten into the issues tracker.

We used to say no programmers, but thanks to a new binary interface mode and a patch to AVRDude, the Bus Pirate now programs AVRs, EEPROMs, and more.

Do you have anything to add to the list?


License explanation We changed the license that Google displays to "Artistic License/GPL", this better reflects the mixed (but open) licensing on the project code. All our work is public domain, but we used some other open code that isn't.

NOTE: not all files are public domain. Code, code modifications, and hardware created by the project are released into the public domain under the Creative Commons '0' license, as noted in each source file.

This source may also include files from other authors which have other licenses, for example GPL, or other open but restrictive licenses. These licenses may or may not be included in the source files.

  • 1wire, I2C library. GPL, (c) 2000 Michael Pearce. (I2C deprecated)
  • Python PIC24F programmer script. GPL, (c) 2009 Joseph Jezak.
  • 1wire search functions, CRC. Public domain, Maxim 1Wire Public Domain Kit.

The AVRSTKv2 programmer firmware is a port of Guido Socher’s GPL'd source for the AvrUSB500v2 programmer. The original AvrUSB500v2 hardware is available here.


This program and hardware is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Powered by Google Project Hosting