Introduction To FTDI Bitbang Mode

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.

Continue reading “Introduction To FTDI Bitbang Mode”

Through-hole Bus Pirate Kit From Fundamental Logic

bpv1ath

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.

Meggy Serial Cable

meggy

We thought the Meggy had some serious potential. The open serial port is ripe for the plucking, but has thus far been fairly unused. Here’s directions on how to make your own serial cable capable of connecting two Meggies. Basically, it is just modifying an audio cable, used to connect CDROMs to the motherboard. The cool thing about this is that the resulting crossover cable should work on any Arduino that is programmed via an FTDI cable.

CUIduino, Arduino With True USB Support

cuiduinotop

The CREATE USB Interface (CUI) was a project that came out of UC Santa Barbara around the same time the Arduino was being developed. It has a USB port, a PIC18F4550, and a prototyping area. It was designed to enable easy interfacing with the real would through many A/D inputs and general I/O ports. It supports both OSC and MIDI-over-USB natively. The biggest difference between the CUI and the Arduino is its USB support. The Arduino uses an FTDI chip to create a serial interface to its onboard AVR. The CUI’s PIC has native support for USB. That means you can have the CUI appear to be any USB HID device you want: keyboard, mouse, game controller, etc.

The Arduino has a friendly development environment and a large following though. CUI create [Dan Overholt] decided to add an ATmega168 to his board to get the best of both worlds, the CUIduino (scroll down). It can be programmed just like any other Arduino compatible device, but the having the CUI parent means your Arduino project can behave like a native USB HID gadget.

[Thanks Peter]

SparkFun Arduino Pro


SparkFun’s new Arduino Pro is an updated version of their Skinny. The board comes populated with the running gear of an Arduino, but without all of the connectors in place. It’s targeted at people building integrated systems around the Arduino and not just prototyping. The board is 3.3V with an 8MHz bootloader just like the LilyPads and is fully certified by Arduino. It has a small side mounted power switch, but you have to supply your own DC jack (if you need it). There is no USB hardware on board and you’re expected to program it via an FTDI breakout board or cable. We definitely like the stripped down approach, but it would have been nice if the price had dropped more.

[via Make]