View previous topic :: View next topic |
Author |
Message |
Guest
|
PIC communication through computer programs |
Posted: Sun Jul 08, 2007 8:58 pm |
|
|
Hi,
Is there a way of any sort to utilize the PIC and output a serial signal that the computer can receive to open programs and/or applications? |
|
![](templates/subSilver/images/spacer.gif) |
Steve H Guest
|
|
Posted: Mon Jul 09, 2007 8:55 am |
|
|
Yes - but - you will need an application layer program running on the PC that can decode the RS232 commands from the PIC and then run windows, etc. Visual Basic (for example) can be used for this application layer program. You can use "send keys" and the shell functions to run a PC from a Visual Basic application.
The RS232 port by itself cannot run the PC.
HTH - Steve H. |
|
![](templates/subSilver/images/spacer.gif) |
tomytum
Joined: 09 Jul 2007 Posts: 1
|
|
Posted: Mon Jul 09, 2007 1:27 pm |
|
|
you mentioned application layer program.... would a serial monitor be the same idea? |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah Guest
|
|
Posted: Tue Jul 10, 2007 2:39 am |
|
|
No.
A 'serial monitor', simply displays serial traffic.
What you would need, is a program running on the PC, which when it 'sees' particular patterns of data on the RS232, launches particular applications.
Some 'remote control' programs, do allow this to be done, and at a basic level, it is a fairly simple thing to program.
Best Wishes |
|
![](templates/subSilver/images/spacer.gif) |
|