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.

send data or char 4m hyperterminal to lcd using 89c51

Status
Not open for further replies.
I see in your code that in displayValue() function LCD data port is referred as DATA and you are assigning value of value to DATA, So, you should use #define DATA P2
can u edit that changes for my code?
and u see my crtk that is correct or need some modification?
 

You code is working fine. See attached file and image.
 

Attachments

  • ronkpatell.rar
    201.5 KB · Views: 50
  • ss.jpg
    ss.jpg
    268 KB · Views: 66
  • ronkpatell v2.rar
    201.7 KB · Views: 50
Last edited:
Are you simulating in real hardware? In the code you have set baudrate 9600 bps and you have to use the same baudrate in hyperterminal. Is you MAX232 Ok? Are you getting garbage data on LCD? Try with the v2 file I have posted in my last post. Can you post your MAX232 circuit?
 
Are you simulating in real hardware? In the code you have set baudrate 9600 bps and you have to use the same baudrate in hyperterminal. Is you MAX232 Ok? Are you getting garbage data on LCD? Try with the v2 file I have posted in my last post. Can you post your MAX232 circuit?
yes jay .i was set baudrate in hyperterminal 9600/databit 8bit/parity none/flow control none .
yes i have max 232 .
i didn't get any data on lcd only getting my name ronakpatell .
and i have some ttl/232 board that also i m using.and
another that nsk board have circuit rs232.gif.

- - - Updated - - -

Are you simulating in real hardware? In the code you have set baudrate 9600 bps and you have to use the same baudrate in hyperterminal. Is you MAX232 Ok? Are you getting garbage data on LCD? Try with the v2 file I have posted in my last post. Can you post your MAX232 circuit?

still not working i can't able to show hypereterminal data on lcd.
 

Post the screenshot of hyperterminal. I don't have hyperterminal. There should be a invert check box. Are you sending ASCII data to MCU?
yes i just opne the hyperterminal and then select the port and set all baudrates,parity,bit,flow .
after that go in properties >ASCII Setup>Echo typed char. locally
 

There should be a invert check box.
There isn't an invert option with Hyperterminal or other standard terminal programs, e.g. Putty. What should be it's meaning?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top