Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

USB Inerface desgin project

Status
Not open for further replies.

Gsalah

Newbie level 5
Newbie level 5
Joined
Mar 19, 2006
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,347
jelectronique usb

Dear all,
Please , I need help in interfacing a USB port for simple project , to do the following : the interface should be connected to PC USB port and receive an order to switch a relay.

what basic component should I have ?
How the XP OS should treat this driver ,and how to build a driver ?

thank you so much
 

Hi Salah
Have look here:
**broken link removed**
I tried the last item, and it worked at once (almost).

Or, closer to home, see tgg's circuit & fw here:

Rec
 

    Gsalah

    Points: 2
    Helpful Answer Positive Rating
thank you recursos , I can substite the led into a rely with suitable current, but I think that the subject still not clear . do you have more resources especially in building the driver...


thank you again
 

With FTDI :
**broken link removed**
 

As pat_fr said you can use ftdi chips or modules.
It has a builtin driver that comes with a virtual com port that you can simply write a program to work with virtual comport.
On the other hand you will need to use a micro with that module.
For furture info reffer to ftdi site!
 

Gsalah said:
the subject still not clear . do you have more resources especially in building the driver...
Hi Salah,
You can do without building a driver, instead using the native XP's drivers.
USB's CDC drivers are already an integral part of XP/W2K. To help bind them with a new device (in this case, the programmed PIC), and create a port-specific "property page" in the Windows Hardware Manager, a small plain-text file (with extension ".inf") is required.
In Tqq's project, that file is "mchpcdc.inf".

**broken link removed**

Rec
 

Hi Salah
This people here:
**broken link removed**
have very good documentation covering USB drivers etc.
Have a look at wdpci_man.pdf, perhaps it will help.
Rec
 

If you need a simple device acting as USB slave device you can use some RS232 to USB bridge like the Silicon Labs CP2102 chip.

for more information refer to the following link:

h**p://
 

CY7C68013 from Cypress is a good solution for USB interface. It has 8051 uC built in whic makes it easy to control any external devices like relay in your case.
 

Hi Salah

You just need to use the HID kibrary supported with Windows OS.

hid.dll , hid.sys

Just search internet for HID == Human interface device.

It's easy to use library for controlling devices hrough USB and collecting data

Salam
Hossam Alzomor
www.i-g.org
 

Use this IC FT232 for USB to serial interface.
They provide software driver too.

reference:
**broken link removed**
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top