 |
Search Sci.Electronics.Basics |
|
 |
 |
|
|
|
 |
|
|
Sci.Electronics.Basics -> microcontroller
There are 2 messages in this thread.
You are currently looking at messages 1 to 2.
|
|
|
is anybody know interfacing micro controller usig vc++ with PC.
|
|
|
|
Author: BobGDate: 09:46 29-12-06
|
|
akhilpatel2001@gmail.com wrote:
> [does] anybody know [how to] interface[ing] [a] micro controller usi[n]g vc++ with PC.
==========================================================
Plug RS232 cable from DB9 on microcontroller to DB9 on back of PC. Use
windows functions 'createfile, readfile, and writefile' to open the com
port and read and write characters to microcontroller. Use the UART on
the microcontroller to send and receive characters to the PC. Make sure
the baud rate is the same on both. Make sure microcontroller has RS232
interface chip like max232 to convert 0-5v signal from microcontroller
to +-12V RS232 level.
|
|
|
|
1 | |
|
|
|
Contact | Electronic Portal
|
|
|