USB to parallel using FT245r

Thread Starter

ksp1717

Joined Oct 30, 2008
13
Hi
Here is my problem
For my project, I have to power up some LEDs whenever I get a signal from the PC. For this, I am using a DLP USB245r from here.
My idea is to send a signal via the USB port of my PC which is converted to a parallel signal by using the above dongle. I have directly connected, the data pins to LEDs. I am able to connect to the device, after instaling the required drivers and programming via VB.net.
My problem is I am unable to figure out the exact data to be sent through the USB to receive a voltage from the pins I require. i.e. I am unable to figure out how to set a pin high say D5 of the dongle.

Can someone please help me with this?
 

beenthere

Joined Apr 20, 2004
15,819
You need to get the data sheet and the correct driver for your OS. That will let you control individual pins. Then you will need an additional DC power source for the LED's and the driver IC. A ULN2803 is possibly a good choice for driving the LED's. You also need to figure the current limiting resistor for each LED depending on the supply voltage.
 
Top