Pinterest icon

Interfacing 7 Segment LED Display with FT232

lt543 7 segment LED Display  interfaced with FT232 usb to serial converter using D2XX library

In this tutorial we will interface a 7 Segment LED display serially using FT232 USB to serial converter chip and D2XX library from FTDI.D2XX is a library released by FTDI international,makers of FT232 and other FT series chip to access the advanced functions of the FT232 chip.The control program is written in standard C using D2XX library and is compiled using opensource GCC compiler on a windows 7 machine.Please note that this tutorial is specific to FT232 chip and will not work with USB to serial converter chips manufactured by other companies( like TUSB3410 from TI).

This article was featured on  link to article in hackaday,You can read the article on hackaday here.

RS485 Communication using D2XX library and USB2SERIAL

In this tutorial we will use the D2XX library from FTDI to program the USB2SERIAL board to communicate with a microcontroller board through RS485 protocol.D2XX library is a proprietary library from FTDI to access the additional features of FT232 USB to Serial converter chip.Please note that D2XX library will work only with chips manufactured by FTDI like FT232 or FT245.If you are interested in using other languages like C# or Python for

Serial Communication using D2XX library and FT232 chip

This is a short tutorial on how to use the D2XX library from FTDI to setup a serial connection with a microcontroller board. In this tutorial we will use a PC/Laptop running Windows OS to communicate with a MSP430 development board (Launchpad).

FT232 CBUS Bit Bang Mode

CBUS bit bang mode of FT232 using D2XX library


USB to 8 bit Parallel port Or Asynchronous Bit Bang mode of FT232

And finally ,after all those lecturing (for those who had the patience to go through all those previous articles ) about the IDE's,setting up a connection and so on, we have reached where the real action is.In this section we are going to convert the pins of the FT232 (TXD,RXD,RTS,DTS...RI) to an 8 bit parallel port using the good old D2XX library.One use of Asynchronous Bit bang mode is the replacement of legacy parallel port based devices using FT232 chip.

Setting up Eclipse CDT IDE to use the D2XX library

Setting up Code::Blocks IDE to use the D2XX library

CodeBlocks IDE tutorial start screen


Controlling the DTR and RTS pins of the FT232 using API's from D2XX Library

Welcome to the second installment of the tutorial on using D2XX library with FT232.In the previous article we managed to communicate with FT232 chip and establish a connection.In this article we are going to access the pins of FT232 using the API's provided by the library.More specifically we are going to SET and CLEAR the DTR and RTS pins of the FT232.


Opening a connection with FT232 using D2XX library and GCC

In this section we will learn to use GCC to compile D2XX library from FTDI to open  a connection with the FT232 chip.Opening a simple connection with FT232 will ensure that your tool chain is configured correctly and your hardware is working properly. 


FT232 USB to Serial Converter chip development using D2XX library

Photo showing FT232 chip development using D2XX library and USB2SERIAL board

In this article we will learn to use the D2XX library from FTDI to extend the functionalities of FT232 USB to Serial Converter chip.Most of the people in the embedded field are familiar about the easy to use USB to Serial converter chip FT232 which can easly add a USB Serial port to any microcontroller with an UART.With a  little bit of code and a library (D2XX) from FTDI (makers of FT232) you can easily convert the humble chip into a USB to Parallel converter (8 and 4 bit),USB to RS485 Converter and off course USB to Serial Converter.

Even though this article is written as a companion guide to the USB2SERIAL Converter sold at this website, you can use any FT232 based USB to serial converter board to test the examples present in this article. The only requirement for your hardware module is that you should be able to identify the required pins of FT232 from your board and use it.

Subscribe to RSS - D2XX