Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: neo01124 on November 01, 2007, 07:23:21 AM
-
We r trying to do serial programming.But somehow its not working.
We r taking signals from DB9 pin and r giving it to RxD pin of 8051 through MAX232.
It's not working. Don't know why??
Can't figure it out.
I've tried it a lot
Pls help as urgently as u can.
I'm attatching d circuit diagram.
Visit d circuit diag on:
http://img461.imageshack.us/img461/359/circuitkx2.jpg
(http://img461.imageshack.us/img461/359/circuitkx2.th.jpg) (http://img461.imageshack.us/my.php?image=circuitkx2.jpg)
-
Tell us more about your setup.
Make sure your baud rates are correct.
A good way to debug is connect the tx and rx lines and see if a device can talk to itself. For example, connect the tx and rx lines on your db9, use hyperterminal (http://www.societyofrobots.com/programming_data_logging.shtml), and see if you receive what you send.
-
i would think you also need to connect the txd pin to the max232 aswell otherwise theres no 2 way communication?
The 8051 cant say its ready to transfer data if it cant transmit it