CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

USB access using PIC and VB

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

USB access using PIC and VB
PostPosted: Wed Mar 26, 2003 7:57 am     Reply with quote

Hi,

Is it necessary to make a device driver for USB based applications, at present I am using the RS 232 port for communications. (PIC 16F628 and PIC 16F877 )

I understand I need to go in for another PIC that has a USB controller which is alright with me.

The software I am using is MPLAB/MPASM and Microsoft Visual Basic 6.0.

Do I need additional software to develop USB based applications.

Thank you
Arun
___________________________
This message was ported from CCS's old forum
Original Post ID: 13084
Lance Lascari
Guest







Re: USB access using PIC and VB
PostPosted: Wed Mar 26, 2003 8:07 am     Reply with quote

As others have recommended, ftdi has some neat USB products. I'm currently working on a project with one of the '245 parallel fifos. They provide drivers and some example programs using the drivers on the PC (they have VB, VC++, and many more examples).

You could use these chips with pretty much any micro. I elected to buy a module with the chip mounted on it (and the usb connector) for quick prototyping. 'twas only $40 from saelig. The chips themselves are only a few dollars and have some neat features. Check them out at the link provided.

<a href="http://www.ftdichip.com/" TARGET="_blank">http://www.ftdichip.com/</a>

Lance

:=Hi,
:=
:=Is it necessary to make a device driver for USB based applications, at present I am using the RS 232 port for communications. (PIC 16F628 and PIC 16F877 )
:=
:=I understand I need to go in for another PIC that has a USB controller which is alright with me.
:=
:=The software I am using is MPLAB/MPASM and Microsoft Visual Basic 6.0.
:=
:=Do I need additional software to develop USB based applications.
:=
:=Thank you
:=Arun
___________________________
This message was ported from CCS's old forum
Original Post ID: 13086
bean
Guest







Re: USB access using PIC and VB
PostPosted: Wed Mar 26, 2003 1:48 pm     Reply with quote

:=Hi,
:=
:=Is it necessary to make a device driver for USB based applications, at present I am using the RS 232 port for communications. (PIC 16F628 and PIC 16F877 )
:=
:=I understand I need to go in for another PIC that has a USB controller which is alright with me.
:=
:=The software I am using is MPLAB/MPASM and Microsoft Visual Basic 6.0.
:=
:=Do I need additional software to develop USB based applications.
:=
:=Thank you
:=Arun

Jan Axelson has a good book on USB called "USB Complete". She also has a good website with sample PIC code and sample VB code.
<a href="http://www.lvr.com/usbcode.htm" TARGET="_blank">http://www.lvr.com/usbcode.htm</a>
___________________________
This message was ported from CCS's old forum
Original Post ID: 13104
Hans Wedemeyer
Guest







Re: USB access using PIC and VB
PostPosted: Thu Mar 27, 2003 4:10 pm     Reply with quote

I second this.

FTDI will give you the fastest speed, whereas many other designs use a HID driver which typically do not have much data through put.

Currently I'm do a 4 channel USB 12 ADC and should approach the maximum of about 1 Mega BYTE /second . I doubt the other approach would allow me to get hat kind of speed.

Also the FTDI drivers are easy to use and free.
___________________________
This message was ported from CCS's old forum
Original Post ID: 13159
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

Re: USB access using PIC and VB
PostPosted: Sat Mar 29, 2003 8:50 am     Reply with quote

:=Hi,
:=
:=Is it necessary to make a device driver for USB based applications, at present I am using the RS 232 port for communications. (PIC 16F628 and PIC 16F877 )
:=
:=I understand I need to go in for another PIC that has a USB controller which is alright with me.
:=
:=The software I am using is MPLAB/MPASM and Microsoft Visual Basic 6.0.
:=
:=Do I need additional software to develop USB based applications.
:=
:=Thank you
:=Arun

Hi All,

Thanks a lot for the information.

Arun
___________________________
This message was ported from CCS's old forum
Original Post ID: 13228
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group