PDA

View Full Version : Usb communication



jayalakshmi.h
- 27th March 2009, 11:58
I have a device that is connected to PC through USB cable.How to communicate between device and PC?

mister_e
- 28th March 2009, 10:26
Make a program, and make sure the power supply is turned-on, or teach'em to speak louder... this assume a Microphone and speaker are intalled on both side ;)

USBDemo
http://www.picbasic.co.uk/forum/showthread.php?t=5418

jayalakshmi.h
- 28th March 2009, 16:36
thank u for replying me........... but i did't get complet idea ............plz send if u have any code in VB or c# .............do u know about USB master to slave converter............

mister_e
- 28th March 2009, 18:53
The USBDemo link I gave should be more than enough to get started. It has VB6 code in. If you need .NET syntax, you may try to use the automatic Upgrade/converter tool.

There's also a VB.NET template available at the following link
http://www.picbasic.co.uk/forum/showpost.php?p=70027&postcount=9

If you know VB & C#, it shouldn't be that hard to convert that VB template to C#.

Another alternative is to use Jan Axelson's codes
http://www.lvr.com/hidpage.htm


do u know about USB master to slave converter
Not sure to understand what you mean, but I feel you might talk about USB OTG. If so, there's no USB OTG available for PIC16, PIC18, just for PIC24 & PIC32 family, and they're not supported by PBP.

Squibcakes
- 30th March 2009, 05:18
I have a device that is connected to PC through USB cable.How to communicate between device and PC?

Turn on the scanner and install the sound card drivers so that the mouse can burn the dvd via the usb cable. Well at least that may help if we had more info.

What is the device?!!!! What are we mind readers?