Chips: 24AA02E48 I2C EEPROM with MAC address


See the latest version in the documentation wiki.

The 24AA02E48 is an I2C EEPROM with 256bytes of data storage. It’s similar to other EEPROMs we’ve looked at in the past, but this chip has a 48bit EUI-48 ethernet MAC address permanently burned into the upper-most six bytes. This is an easy and cheap way to buy a legit, totally unique MAC address for your ethernet projects.

Keep reading for a complete 24AA02E48 demo using the Bus Pirate universal serial interface. If you’re not using a Bus Pirate, that’s OK, you can still follow along and get a better understanding of how to implement this chip in your own application.

You can preorder assembled Bus Pirate hardware at Seeed Studio for $30, including worldwide shipping. This preorder will end October 15, 2009.

Continue reading “Chips: 24AA02E48 I2C EEPROM with MAC address”

Free PCBs: Bus Pirate v3


To celebrate the completion of Bus Pirate v3, we’re giving away two BPv3a PCBs. V3a is the second and final revision of the Bus Pirate v3 family, the same PCB that will go into production. If you’re up for the challenge of building your own BPv3, just ask for one of these PCBs.

Get assembled red Bus Pirate v3 hardware for $30 at Seeed Studio, including worldwide shipping.

Continue reading “Free PCBs: Bus Pirate v3”

Prototype: Bus Pirate BPv3


UPDATE: v3b is the latest Bus Pirate revision, read about the changes here.

BPv3 is the latest hacking multi-tool from the Bus Pirate project. It connects to a USB port and interacts with electronics through a simple terminal interface.

stack-exampleUse it to see how much of your private information is stored on smartcard SIM chipsExplore the Wii Nunchuck over the I2C bus like Johnny Lee. Read and write EEPROM chips in consumer electronics at any voltage. Check out all the existing chip demonstrations.

BPv3 has features an intrepid hardware hacker might need to prototype their next great creation:

  • Talk to 1-wire, I2C, UART (async serial), SPI, JTAG, MIDI, LCDs, PC keyboards, and a ton of generic serial devices from a terminal.
  • Scriptable from Python, Perl, etc.
  • 0-40MHz frequency counter, 0-4MHz pulse-width modulator.
  • 0-6volt measurement probe.
  • 3.3volt and 5volt power supplies with reset.
  • On-board pull-up resistors for multi-voltage interfacing.
  • Address scanners, chip dumpers, and other helpful macros.
  • USB interface, power. USB firmware updates.
  • Translations (currently Spanish and Italian, add your own).

Get an assembled red BPv3 for $30, including worldwide shipping, thanks to Seeed Studio. You can also grab the plans from the Bus Pirate project page and build your own.

This article introduces BPv3, the latest hardware from the Bus Pirate project. We’ll look at the history of the design, share our experience organizing the production of Bus Pirate v2go, and talk about issues that influenced hardware version 3.

Continue reading “Prototype: Bus Pirate BPv3”

Free PCBs: The last Bus Pirate v2a PCBs


BPv3 is ready, so we’re getting rid of any extra Bus Pirate v2 PCBs. If you want a Bus Pirate v2a PCB, just ask for it in the comments. We have at least two, possibly three or more. PCBs by Seeed Studio and one by BatchPCB.

The Bus Pirate v2a was really handy for developing the Bus Pirate v2 series, but the Bus Pirate v2go is really the final revision of the v2 design. The nicest feature of v2a is the power switch, which allows developers to reset the Bus Pirate without messing with the USB cable.

Continue reading “Free PCBs: The last Bus Pirate v2a PCBs”

Bus Pirate: Easter egg submissions


There’s an Easter egg in the Bus Pirate firmware. Type ‘+’ in the Bus Pirate terminal to see the current configuration bits for your PIC and some ASCII art. Now that we’ve announced it, we’ll change the key and message in the next firmware update.

Send us your ASCII art, it might be included in Bus Pirate firmware v2.3. An ASCII art generator might be helpful.

Bus Pirate: BPv3 is here


***Read about BPv3 here***

BPv3 circuit boards arrived today. By popular vote, the final PCBs will be RED. Tests look great, we’ll be ready ASAP. It’s National Day in China, so it might be a few days before Seeed is available to start the preorder.

Sorry about the lame posting the last few days, we’re busy stuffing boards and testing firmware. In the mean time, tell us what you thing of spoilers: do you want to know about our upcoming projects, or is it best to ‘drop’ them as a surprise?

Continue readingBus Pirate: BPv3 is here”

Bus Pirate: BPv3 final update



Nearly 1000 Bus Pirate v2gos were sold during Hack a Day’s preorder. It raised a ton of money, with all proceeds going to Mahalo, the company that owns Hack a Day.

Bus Pirate v3 is a complete redesign of the Bus Pirate v2go PCB, with improvements based on our experience running the preorder for Hack a Day. We optimized the PCB layout for production, and used a more widley available version of the PIC24FJ64GA002.

The top image shows the first revision of the v3 PCB. The stuffed, tested PCB is shown here. After working with the PCB we decided there were a few things we really didn’t like, so we made an ‘a’ revision.

The second version (below) has the LED resistors along the top edge of the PCB. This makes room for the 3.3volt power supply in the top corner, and eliminates some obscene routing.

The revised PCBs were submitted to our board house on Sept 9, and were mailed Sept 14. Normally they would arrive in 4-5days, but extra security surrounding a national holiday delayed the package in China until Sept 21. We would probably have the boards by now, but the tracking shows the package going to the wrong country. The address is definitely correct, it was just a random mail problem.

Today Seeed dispatched an additional shipment of BPv3 PCBs by DHL, which should arrive much faster. It’s a bit of a contest, which get here first: the DHL express packet, or the postal package forwarded from the Dutch Antilles?

BPv3 will be ready to go as soon as we test the final PCB, the article is already written and ready to publish. It’s a bit different that our usual design overview. We recount the development process that led to the current design, and dug up some very early ‘in house’ Bus Pirate prototypes. We’ll also talk about our experience running Hack a Day’s Bus Pirate preorder, and discuss how it influenced the v3 design.

Open source logic analyzer clients


Today we played with a few open source logic analyzer clients in preparation for an upcoming prototype. The best we found is SUMP, written in Java. There’s also compatible host software for several FPGA development boards, we found even more ports floating around the web.

SUMP has a SourceForge page, but it doesn’t look very active. Jack Gassett’s ButterFly Platform has a SUMP compile for Windows that doesn’t require you to install the complete Java framework. You’ll also need the rxtx Java library for your platform.

Do you know of any other clients or SUMP resources?

Free PCB Sunday: #twatch v1


We go through a lot of prototype PCBs, and end up with lots of extras that we’ll never use. Every Sunday we give away a few professionally-made PCBs from one of our past or future projects, or a related prototype.

This week we’re giving away two PCBs for the 24FJ64GA002-based v1 #twatch development board, PCBs by Seeed Studio.  We used this board to develop our new ethernet LCD backpack without the limited programming cycles of the 18F67J60-based v2 #twatch.

Ask for one of the PCBs in the comments. Be sure to use a real e-mail in the address field so we can contact you for shipping info.

You might still be able to buy an assembled #twatch at Seeed Studio.

Continue reading “Free PCB Sunday: #twatch v1”

Tracking orders from Seeed Studio


We’ve gotten a few questions about tracking packages from Seeed Studio, like the Bus Pirate and #twatch preorders.

Seeed uses Hongkong Post by default, in our experience these packages usually take 4-7 days to arrive. When your order ships, Seeed sends a status update with a tracking number like EE123456789HK.

Use the Hongkong Post tracking site to see when the package leaves China. HongKong Post only tracks to the Chinese boarder, but they provide links to local mail services that provide further information in some countries.

Artwork by Aaron, Creative Commons Attribution 3.0.

#twatch network LCD preorder update


The #twatch ethernet LCD backpack preorder is over, shipments will start around October 10, 2009. Our first project was a big success. Thank you for participating with comments and preorders!

If you missed out on the preorder, Seeed is making a few extra units you can buy for $45, worldwide shipping included. We don’t plan to make more, so these could be the last #twatches ever. We’ll post manufacturing progress updates as we get them.

Bus Pirate: New chip demonstrations


Have you used the Bus Pirate to interface an interesting chip? Send us a copy of the session output, if we use it on the site we’ll send you a free PCB.

Is there a part you’d like to see demonstrated with the Bus Pirate? Please make a request in the comments, if we use your chip suggestion we’ll send you a free PCB.

There’s a complete list of existing chip demonstrations in the Bus Pirate manual.

Continue reading “Bus Pirate: New chip demonstrations”

Bus Pirate: Python library


audiohacked has started a python library for the Bus Pirate. So far, it’s been tested as an EEPROM dumper:

I have started writing a python library for the bus pirate. It’s ugly and messy, but I was able to use it to dump the firmware from an SPI chip… You can contact me if you need more information.

The source code is available here.

Network LCD (#twatch) availablility update


**UPDATE*** Seeed is listing the #twatch again. They located additional PIC chips. The #twatch preorder has an estimated October 10 ship date.

#twatch production is limited by the number of PIC 18F67J60 ethernet microcontrollers Seeed can find for immediate delivery. Here’s some of the options at this point:

  • Seeed locates more PIC18F67J60s, they add more #twatches to the store for October 10 shipment.
  • If additional PICs are on back order, Seeed can start a second preorder with a later delivery date.
  • We’ve tested the #twatch with a smaller version of the 67J60, the 66J65. If Seeed locates these, an alternate #twatch version can be made.

Bus Pirate: Firmware v2.2 released


We didn’t make it in time for International Talk Like a Pirate Day, but Bus Pirate firmware v2.2 for all hardware versions is now available for download from the project Google Code page.

This release includes a few bug fixes for all hardware versions, updated Spanish translation, and a few new features like a transparent UART bridge.

Bus Pirate v3 is nearly ready, sign up for preorder notification here. More about this firmware release after the break.

Continue reading “Bus Pirate: Firmware v2.2 released”

Script to convert HTML (WordPress) to Instructables format


We’ve been cross posting our original creations here and at Instructables. Instructables is an awesome site where anyone can demonstrate how to do anything.

This is a WordPress blog, it uses HTML layout formatting. Instructables uses a kind of wiki-like markup. We whipped up a converter that replaces HTML elements with the Instructables equivalent. There’s a lot of formatting (tables) that doesn’t have an equivalent, that stuff gets stripped out. This is totally browser & JavaScript based, just save the web page and it should run from your computer.

Free PCB Sunday: Bus Pirate v2a


We go through a lot of prototype PCBs, and end up with lots of extras that we’ll never use. Every Sunday we give away a few professionally-made PCBs from one of our past or future projects, or a related prototype.

This week we’re giving away two Bus Pirate v2a PCBs, PCB by Seeed Studio. The Bus Pirate v2a was really handy for developing the Bus Pirate v2 series, but the Bus Pirate v2go is really the final revision of the v2 design. The nicest feature of v2a is the power switch, which allows developers to reset the Bus Pirate without messing with the USB cable.

We’re giving away two PCBs this week, just ask for one in the comments. Be sure to use a real e-mail in the address field so we can contact you for shipping info. Some rules after the break.

Continue reading “Free PCB Sunday: Bus Pirate v2a”

#twatch: backlight control


The #twatch backlight is controlled through a TCP server on port 1337. We use Herculese as our TCP client.

Connect to the #twatch TCP server at the IP address shown on the LCD screen. Send the command 0xFE 0x42 0x00 to turn on the backlight. Send the command 0xFE 0x46 to turn it off. Programs like LCD Smartie and LCDProc send these commands automatically when they start and exit.