Go up one level.

Linux FT232R Projects and Stuff!

June 16, 2015 Improved portability by using inttypes.h (courtesy of David Pello).
February 19, 2013 Added --self-powered flag, and fixed exit code to be zero on success (both changes courtesy of Nils Eilers).
October 29, 2012 Updated to preserve USB version info (libftdi fails to do it for us).
March 8, 2012 Updated to build on latest Ubuntu.
January 25, 2012 Updated to build against newer versions of libftdi. Also now resets the device after any changes, so that changes become visible immediately.
July 14, 2010 I gave a talk about this stuff at Linux Symposium 2010 called World Domination and Control (over USB),and have released the slides and code for download.

November 10, 2010

This collection of Linux programs and utilities is for use with the versatile FT232R chip.

The FTDI FT232R is a USB/serial converter chip, compatible with both 3.3V and 5.0V TTL logic, but can also be used as General Purpose I/O (GPIO) device. The code hosted here is primarily in support of the latter: a simple way to control real-world stuff from a Linux box, using the CBUS GPIO capabilities of the chip.

All of this stuff requires the libftdi library, which provides basic interfaces for programming FTDI chips.
It also requires the libusb library, for driver-free installation and use of USB devices on Linux.

Once those two prerequisites are in place, the rest of the code here becomes usable.

First off, there is my ft232r_prog (v1.25) program, which provides a Linux command-line interface for reconfiguring the FT232R chip, eliminating the need for FTDI's MProg/FTProg (MS-Windows) packages.

Then, there is my AR1010 FM Radio controller project, which can be used to implement a "PVR" for FM Radio broadcasts (most useful for CBC, BBC, and/or PBS broadcasts).

Other programs and projects may be posted here in the future, as soon as I package and document them. These include simple relay, solenoid, and LED control applications.