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.

How Can I send and receive data to USB Port

Status
Not open for further replies.

jalzaaal

Newbie level 2
Joined
Apr 29, 2005
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,307
receive data from usb port

I want to know the function for sending and receiving data to and from The USB port.

Actually I want to attach a scanner (rather sensor) to the printer port and want to send and receive data from scanner to printer port and vice versa.

Can anyone Help Me?
 

Hi

If your transfer rate is low you can use FTDI chip for transfering data

use the FT245 easy and simple www.ftdichip.com

For high speed transfer you will need to design your product using more complex methode cypress,Ti,philips and other have chips who can handle high speed data transfer using the USB port

All the best

Bobi
 

actually i dont know at which speed the device (which i want to connect) transfers data.

is there any another way to do this. any in built functions or anything else?

Added after 4 minutes:

And u have told me to do this using complex methods like cypress and others ..

But I dont know about these methods. Can U Help ME?
 

Delcom makes a chip for USB I/O for about $8 US. I bought one and it works well. My only complaint is that you can't draw a lot of current off it. It comes with drivers for C and BASIC, I wrote a JNI for it myself.

https://www.delcom-eng.com/
 

I Use PDIUSBD12 to design a U disk.
I just want to do a experiment with it, not too much other thought.
but I don't know much about the usb protocol.
could anyone help me?
I use At89c52 PDIUSBD12 and Samsung K89**560 flash disk.
 

You will need an USB controller. Many has suggested what microcontroller to use. However my favourate is Microchip PIC18F2550 family.
 

Check out http://www.cesko.host.sk/IgorPlugUSB_RS232/IgorPlug-USB%20(AVR)%20RS232_eng.htm
 

The first thing you need to know is if the snaccer and the printer are capable of comunicating alone.

An USB scanner mainly transfer data to a PC. This process has a protocol defined by the scanner's manufacturer. This protocol is in an higher level than USB.

A printer mainly receive data from a PC, using another manufacturer protocol.

Theese protocols are near always differet; if they weren't, the same PC driver would work for all printers and scanners.

So, if your printer and scanner are not prepared to that connection, you will not be able to connect them whithout a PC.
 

I think Cypress series can help you about it. also you can use S12 motorola microcontroller that support USB easy to initilaize and use.
 

There are 3 articles on interfacing with the USB in this month's Circuit Cellar (May). You can download them from www.circuitcellar.com for a small fee.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top