Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 7th October 2007, 01:17 AM   (permalink)
Default Making Windows programs talk over USB port?

Hey,

I have Visual Studio 6.0 and frequently use Visual Basic 6 to interface with my PIC projects via RS-232. Do newer versions of visual studio enable communication over the USB port easily like you can do with the normal serial port? I would like to start some projects using the 18F4550 but the main use I have for the USB port is data transmission to/from a PC program. Thanks!

Also I didn't know where else to post this, but since programming is talked about here I figured why not.
speakerguy79 is online now  
Old 7th October 2007, 01:47 AM   (permalink)
Default

If you google for visual HID, you should find examples etc. There is a HID control available that works similar to the MSComm control. I used it a couple of years ago for a project.

Edit, the HID control is called vbhidcomm.ocx and was a free download from Microchips site - unfortunately no longer available. I still have the install file on an old HD. What is the situation regarding posting file that were free downloads here. I have seen many microchip pdf files as attachments, what about setup files.

Mike.

Last edited by Pommie; 7th October 2007 at 02:42 AM.
Pommie is offline  
Old 7th October 2007, 02:59 AM   (permalink)
Default

The PIC18F4550 is capable of emulating a standard CDC USB serial port - this makes programming on the PC side easy, but can also allow you to do things that the HID option won't.

Please see the following for some boards and firmware to help you:

http://greta.dhs.org/UBW/index.html

And this forum which covers this range of USB-capable PICs:

http://forum.sparkfun.com/viewforum.php?f=19

Note also that you can buy pre-built boards from www.sparkfun.com

Regards,
Paul
aussiepoof is offline  
Old 7th October 2007, 08:48 AM   (permalink)
Default

I reviewed an excellent book called Visual Basic for Electronic Engineering Applications, it's in the book section of this forum. I think it would interest you.

Brian
__________________

---------------------------------
Electronics Test Development Engineer
---------------------------------
ThermalRunaway is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
What current is outgoing from PC USB port? Lin3R General Electronics Chat 1 26th September 2007 12:03 AM
Need help badly on Inchworm and MPLAB thushy Micro Controllers 14 11th March 2007 07:05 PM
Chip talk dreamproject Electronic Projects Design/Ideas/Reviews 8 2nd April 2005 08:24 PM
Networking Harddrives crazymonkey General Electronics Chat 3 9th March 2004 05:55 PM
Serial/Parallel port under Windows patroclus Micro Controllers 8 14th February 2004 09:39 PM



All times are GMT. The time now is 08:48 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker