Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to test the RS232 is working or not?

Status
Not open for further replies.

McMurry

Member level 3
Joined
Feb 16, 2008
Messages
56
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,746
I have a microcontroller PIC16F877
connected to MAX232
and to serial port.

Is there any short codes I can use to check if the RS232 circuit is working?
I just started learning PIC programming. :cry:
 

Try interfacing with Hyperterminal.
 

McMurry said:
I have a microcontroller PIC16F877
connected to MAX232
and to serial port.

Is there any short codes I can use to check if the RS232 circuit is working?
I just started learning PIC programming. :cry:

simply remove the MCU from the circuit.
then using hyperterminal check the communication.
you will be able to know whether your IC is working or not.
i ma gussing you must be know how to use hyperterminal for serial communication..:|
 

simply remove the MCU from the circuit.
then using hyperterminal check the communication.
you will be able to know whether your IC is working or not.

This would only work if your bridge the 2 pins where the MCU transmit and Receive were.
A simple test is leave the MCU in. Disconnect from the PC. Bridge the Max 232 TX out an RX in pins. If you make the TX pin of the MCU a 1 you should see a 1 on the RX pin, and if you make TX a 0 the RX should also go to 0. If this works it is most likely a MCU setup or coding error.
 

Thank you for all the advices.
Finally I had managed to make the RS232 serial conn. working!
 

McMurry said:
Thank you for all the advices.
Finally I had managed to make the RS232 serial conn. working!

congrets...

cheers...:D :D
 

Hi,

See the attachment, and install the Docklight software in your PC and you can check the serial port connection.

If you need more information, contact me.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top