electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How can start up my project with USB port?


Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> How can start up my project with USB port?
Author Message
benri22



Joined: 08 Apr 2004
Posts: 24


Post03 Jan 2005 5:09   

How can start up my project with USB port?


Dear all,

Currently, my projects work at the devices have I/O port such as RS232 with PC. Now, I am thinking my future project will work at USB port. Can anyone give me advices include how write drivers for PC, and how setup the port for device (MCU)?

Basically, how can I start up with USB?

Thanks,

benri22
Back to top
ieee



Joined: 08 Apr 2002
Posts: 75


Post03 Jan 2005 7:41   

How can start up my project with USB port?


Start from reading "USB complete" + USB specs

ed2k://|file|USB.Complete.PDF|3759564|080C1AB39F451FC6C6D460CE4E43E4DC|/
Back to top
mandrei



Joined: 10 Jan 2004
Posts: 67
Helped: 2


Post03 Jan 2005 11:43   

Re: How can start up my project with USB port?


Hi benri22,

First of all you must choose a programming language for the PC software.
VB is not recomanded!!
Recomanded are C/C++/C# for Window$ OS.

Therefore i highly recomend you the book "USB design by example" by John Hide


Second if you have experience with RS232 you can use FTDI devices without knowing the USB device drivers!!
(FTDI devices are in fact peripherials that has theyr own drivers and programming from PCs is verry similar to RS232 programming in Window$)


If you really want to dig deep into USB stuff (read USB drivers, Window$ dll's) you can choose a uC (8/16 bit avaiable from many vendors, example: 8051 like from Cypress) wich has an embedeed USB interface.
Back to top
vale



Joined: 07 Jan 2004
Posts: 112
Helped: 8


Post04 Jan 2005 6:22   

How can start up my project with USB port?


Hi benri22,
Actually, you need not write usb driver, which is a boring and difficult job. Normally, your board should use bulk transfer type to communicated with usb host. And windows DDK provides a sample named 'bulkusb' which you can use directly. And sample code of user mode application in C is also available.
Chose a mcu with usb interface or a seperate usb chip such as philips' D12 and find the source code. Don't dive into usb develpment if you have no interesting in it, for it will take your much time.
Back to top
Ace-X



Joined: 25 Jan 2002
Posts: 590
Helped: 26


Post04 Jan 2005 10:34   

How can start up my project with USB port?


Depends on required performance. If something in range 1-2 Mbits/sec is enough for your application, then just get FT232BM from FTDI or CP2101 from SiLabs and forget about all these drivers.
Back to top
muko



Joined: 03 Mar 2004
Posts: 37
Helped: 1


Post04 Jan 2005 13:42   

How can start up my project with USB port?


use FTDI's chips such as FT232BU.it is very suitable for mcu based applications.
Back to top
Google
AdSense
Google Adsense




Post04 Jan 2005 13:42   

Ads




Back to top
tgq



Joined: 15 Jul 2002
Posts: 305
Helped: 2


Post11 Jan 2005 13:04   

How can start up my project with USB port?


have a look at my easy USB solution
http://www.edaboard.com/viewtopic.php?t=103899&highlight=
Back to top
yogi



Joined: 08 Jan 2005
Posts: 345
Helped: 17


Post13 Jan 2005 13:27   

How can start up my project with USB port?


see usb e-book on

www.bibinjohn.tk

the name of the books is

USB COMPLETE
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing -> How can start up my project with USB port?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How can I start a simple 8051 project? (26)
How can i start my project(High-power amplifier) (1)
How can I communicate to the USB port? (3)
How can I drive 5v,2A from USB port (8)
How can I get my PC to see a device on the USB port? (1)
How Can I send and receive data to USB Port (9)
how can i send data from a avr to pc via usb port? (5)
How can I start with the matrix LEDs ? (2)
how to burn .hex to microcontroller with usb port (8)
How to interface with USB port using Visual Basic 6? (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS