Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

USB GPIO Interface - The Easy Way !

Status
Not open for further replies.

TiagoSilva

Member
Hi, i'm in need of an idea of how to make an USB GPIO Interface board, is there any ic with that function ? or does anyone knows an simple way of doing that ? It doesn't need to have many I/Os but it needs to be by USB...
Or where can i find an simple schematic to do that ?

The main ideia is to make an simple GPIO Board that is connected to the PC by USB Interface.

Well,
i hope anyone can help me...
thanks.
 
Hi,
As arhi suggests, I am already using the FTDI devices, I use the DLP-USB245M-G modules, details can be found at **broken link removed**
This device is already build onto a small PCB and you can use the VCP (Virtual Comm Port) drivers suplied by them to interface directly to a PC, and they are cheap and very easy to implement.
Roy
 
Aren't these a bit expensive? Wouldn't something like the Microchip PIC's with USB support be more cost effective? (Or have I missed something in the requirements that would rule these out?)
See 18F2550 for example (28 pin device)
 
LabRat said:
Aren't these a bit expensive?
DLP packages (board with FT chip + pic + some other things) maybe is but FT's are 2-4GBP price range (4-8US$) for 1 FT chip .. I do not see how is that expensive.

here is the price for FT2232D (I use that one mostly - it has 2 ports, can be configured as serial or parallel.. easy to use .. i love it)
**broken link removed**
 
The FTDI245R is preprogrammed as a USB to parallel device, although not as flexible as a microcontroller solution like the 18F2550. Because it's SOIC it won't be as easy to prototype as a DIP package like the 18F2550 either.
 
Ok.. I followed the link and found "DIP" boards priced (in UK) for 19 pounds. (Not sure how to make that funky UK money sign). Which is circa $40.00 over here. Quite a large difference in price. :eek:
 
It is absolutely true that soic is not that easy to experiment with, that is why I personally use one dip module (bought it together with CCC C compiler for ~100EUR) for testing, and I order only chips for the final product .. it is less flexible then pic but it is definetely the "easiest" way to interface your board to PC via usb .. not to mention that driver works great..

anyhow, lot of 18Fwxyz work nice with USB .. the FT**** is the easy way - not necessary the best way
 
TiagoSilva said:
Hi, i'm in need of an idea of how to make an USB GPIO Interface board, is there any ic with that function ? or does anyone knows an simple way of doing that ?

Look up a little project called the USB bitwacker.
**broken link removed**

Also
for linux/C info.

Sparkfun sells it as a kit but can wire it up point to point if needed.
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top