How to Control FT232H with Processing GUI

Status
Not open for further replies.

nikhilsigma

Full Member level 2
Joined
Jun 19, 2010
Messages
142
Helped
17
Reputation
34
Reaction score
16
Trophy points
1,298
Location
Delhi, India
Activity points
2,584
Hello Everyone,

I want to control FT232H IC (USB to I2C) using Processing GUI (on windows PC).
I can make GUI with processing. But I don't know how to control FT232H as I2C master.
Is there any library of FT232H for processing? (I couldn't find)
Or is there any way to use FTDI driver from processing GUI ?

FT232H Board - https://learn.adafruit.com/adafruit-ft232h-breakout
FTDI Driver - https://ftdichip.com/drivers/d2xx-drivers/
Processing Website - https://processing.org/

Any information/direction will be a great help.
 

Hi,

The FTDI d2xx drivers come with documentation. They include all functions to do what you want.
They also show examples for various systems. VB, C ...

Go to the FTDI homepage and look for those documents.

Klaus
 

    nikhilsigma

    Points: 2
    Helpful Answer Positive Rating
Thank you very much Klaus & FvM.

I can see that FTDI provides the example codes.

However I couldn't find FTDI library for Processing.
https://processing.org/reference/libraries/
Because from my understanding I need to install the FTDI library in Processing to access FTDI functions.

Is it possible to install FTDI general library "FTD2XX.DLL" in Processing.
If yes, kindly direct me to that direction.
 

Hi,

I don´t understand.
Install the DLL and use the functions (in cluded in the DLL) according the description / examples.

To get more detailed assistance you should provide the exact OS you are using.
And also the IDE, compiler, language you generate the GUI with.

Try writing code. Show us the code and the compiler errors if any.

Klaus
 

    nikhilsigma

    Points: 2
    Helpful Answer Positive Rating
I finally understood what "processing" is. The gui is java based and has apparently no features to access native Windows dlls. It might be possible to write your own FTDI library for processing based on ftd2xxj https://sourceforge.net/projects/ftd2xxj/. I fear it's over your head.
 

    nikhilsigma

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…