USB to parallel using FT245r

Discussion in 'The Projects Forum' started by ksp1717, Mar 21, 2010.

  1. ksp1717

    Thread Starter Member

    Oct 30, 2008
    13
    0
    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?
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    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.
     
  3. ksp1717

    Thread Starter Member

    Oct 30, 2008
    13
    0
    Thank u... I will try that and will be back in case i hav any more questions.
     
Loading...