|Other Hardware Hardware issues that do not fit in our other categories go here|
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
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.
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
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.
|Thread Tools||Search this Thread|