Computer Repair

CRMC
 
Other Hardware Hardware issues that do not fit in our other categories go here

Reply
  #1  
Old 06-20-2012, 11:01 AM
nateli nateli is offline
Banned
 
Join Date: Nov 2011
Posts: 2
Default C++ Builder and USB<->RS232

I am trying to make an application with C++Builder which communicates with a PIC16F877A which has a RS232 interface. Unfortunately my computer only has USB ports so I have bought a USB to RS232 converter cable.
Well I am a complete beginner to C++ Builder so really at this point I don't even know it will be possible to do this... Any help and advice would be really appreciated. ies


Reply With Quote
  #2  
Old 06-20-2012, 12:07 PM
daisymae70's Avatar
daisymae70 daisymae70 is offline
Moderator
 
Join Date: Jan 2010
Location: IOWA
Posts: 2,249
Default

I question whether you thread is a legitimate question.
Your thread is almost word for word in the link I have posted below. Either this is a far reaching coincidence or you are playing at something. An answer was provided in the link below.


Thread C++ Builder and USBRS232 | Android Forums | BoardReader


__________________
The Truth is the Truth whether you believe it or not.


READ YOUR COMPUTER'S WARRANTY BEFORE ATTEMPTING TO DO ANY OF THE REPAIRS YOURSELF.

Last edited by daisymae70; 06-20-2012 at 12:24 PM.
Reply With Quote
  #3  
Old 06-20-2012, 02:54 PM
popeye67's Avatar
popeye67 popeye67 is offline
Moderator
 
Join Date: Apr 2009
Location: North west England, just follow the smell of curry.
Posts: 6,043
Default

assuming you posted it you have your answer, and i'm just as curious what is it your trying to build, might be better trying to build something with current hardware than using an older obsolete technology if its a project but without knowing what it is your building its hard to suggest anything


__________________
Q6600-P5K Premium+Alphacool w/blocks
EVGA 8800gt+Koolance w/block
Samsung f1 raid0 +f2 hard drives
Enermax infinity 650w

Popeye67's Blog
Reply With Quote
  #4  
Old 06-23-2012, 01:04 PM
Drifter Drifter is offline
Banned
 
Join Date: Nov 2011
Posts: 2
Default

I see no problem you have to face in your setup. The PC SW will know nothing about nature of RS232 port it will use. It can be a real RS232 or Virtual one via USB adapter unless you are using real time bit banging with pins of RS232 port. If you are just sending data bytes there should be no difference between UART based or Virtual COM port.
I still do not get what is the task and what is the final goal of your project?
Is it communicating with PIC from PC via RS232?
In this case why should it be C++ Builder and why should you write any SoftWare at all? Here is the easier way:
XXXX Removed as Spam - Popeye XXXXX
This board is USB to RS232 (and SPI,I2C,...) adapter.
You connect it to the PC USB port and take it's RS232 output and connect it to PIC.
SUB-20 software has a GUI utility to send and receive data via RS232
BTW there is a chance you will not need PIC at all. Look over SUB-20 interfaces and perhaps it will totally suite your needs.
All of the interfaces are controlled via GUI application.



Last edited by popeye67; 06-23-2012 at 05:15 PM.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search



All times are GMT. The time now is 12:47 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
CRMC - 5 Day Trial
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.