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 to create a I/O card which can be connected to the PC via USB?

Status
Not open for further replies.

rchathuranga

Newbie level 4
Joined
Mar 19, 2009
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,330
can some one tell me how can i create a i/o card wich can be connected to the pc via usb.
it should be able to work real time.
and the major problem is ,have to use a pic wich doesn't have usb protocols embedded in it.
I have to connect digital and analogue input via usb and display them in real time in a terminal

Added after 1 hours 29 minutes:

can any body help me to sort out this issue
 

pc data i/o card india

PIC 18F is the best choice.
if you are happy with 8051 then you can use EZusb from cyprus.

let me know if you need any help. we can develop it together.

hock
 
pc external i/o card

hock said:
PIC 18F is the best choice.
if you are happy with 8051 then you can use EZusb from cyprus.

let me know if you need any help. we can develop it together.
hai
hock,
thank you for your kind help.


this is the project i have to do

pc connectible External I/O card which uses usb to connect with pc

1.not allowed to use pics containing the usb protocol stack inbuilt
2.it should have 1 anlogue i/p & 1 analog o/p,2 digital i/p & 2 digital o/p
3.should operate with the power available in the usb
4.when plugin should detect automatically
5.implement a real time terminal (like hyperterminal for serial port) ,should have updating data rate at least 10 times per second
 

usb io chip

phylips has usb chips with SPI or iic interface. you can think of them.

hock
 
40 i/o card usb

hock said:
phylips has usb chips with SPI or iic interface. you can think of them.

hock,

Which chips do you mean? I've searched NXP (Phillips) web site, bus couldn't find USB transceiver chips with SPI or I2C. Do you know if PC drivers for these chips are available (similar to FTDI chips)?

Cheers,
- Nick
 

adc0808+interface+usb port

I'm not sure if these complies with your requierements:

1) Cypress USB Microcontroller, High-Speed USB: **broken link removed**.

2) Software implementation, of Low-Speed USB for AVR: obdev

3) Application Note from ATMEL: AVR309, Source Code. (It is a low-speed)

Regards,
 

8051 usb cy

usb protocol stack inbuilt

This is typically USB routines in flash, that can be bypassed with a boot bit or similar. Your code can then call the routines via an API or with calls.

Reading data from your embedded I/O can be simple by implementing an HID protocol with USB, where you can recieve your data into a text editor.

Your desire to have output on your I/O will complicate things, depending on where the output logic originates. If it originates from within your embedded, no problem, load your code. If it originates from the PC, you will need to create your own app along with a driver for the USB.

implement a real time terminal (like hyperterminal for serial port)

Jungo offers a USB port terminal for free evaluation.

I use Atmel 8051 core devices. Several are available with device capable USB functions. I will attach a Max3421 for hosting. I spend most time with the PTP protocol.
 

ptp protocol avr -1588

you can use FT245 USB to parallel interface and connect etrenal A/D chip like ADC0808 or ADC0804, or use any PIC with serial interface with FT232 USB to serial interface like "blueroomelectronics" mentioed previously, automatically detected, easy to interface using C/C++/C#/BASIC.

Good luck
 

pic i/o card project

Hello!

There is an application note here that seems to do exactly what you are looking
for. I implemenented it for a device that outputs about 5 kbytes per second,
so I guess if you want to update 10 times per second, it will be fine. Depends
how many bytes you send every time. Anyway it works fine with hyperterminal
which is also one of your conditions.

Look at the following document:
**broken link removed**
And download the related source code.
**broken link removed**

If you read carefully, if you use exactly the suggested code,
install the drivers and so on, it should work at once before you wrote
your own first line of code.
Now if you use another processor, you should use one with a USART and
rewrite the USART calls accordingly. But the minimal trouble solution would
be to use a MSP430 (you get analog inputs so you can implement all what
you want).

Dora

pc connectible External I/O card which uses usb to connect with pc

1.not allowed to use pics containing the usb protocol stack inbuilt
2.it should have 1 anlogue i/p & 1 analog o/p,2 digital i/p & 2 digital o/p
3.should operate with the power available in the usb
4.when plugin should detect automatically
5.implement a real time terminal (like hyperterminal for serial port) ,should have updating data rate at least 10 times per second
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top