I am using Keil uv2 to program my AT89C51 and although the UART is working just fine in Simulation but in real circuit its not working i donno why .... cuz there are just ASCII code in the Hyper term but it was suppose to be "Hello to MCU " so could any one plese help me ..... any help is appreciable well my id is sirfrajput@hotmail.com
I am using EXPRO-100 for program my AT89C51 and there is UART also in my MCU but the problem lies there cuz my AT89C51 is giving 3v for logical-1 and 0v for logical-0. but as far as my knowledge is working it might be 5v for 1 and 0v for 0. So could any one please tell me whats wrong (well UART is working fine and i am getting the required output from MCU via Hyper terminal)
"cuz"
Please, the word is "because".
"my AT89C51 is giving 3v for logical-1"
How are you measuring this?
Are you sure that the point you're measuring is at a constant, steady logic-1?
What is your power supply voltage?
Well sir i am measuring it with the Voltmeter and My power supply is of Steady 5v DC ....... and my desired output is of 5v because i am using external Digital Logic Circuit and My external Circuit is only capable to recoganize 1 as 5v DC............. may i know why?
Andy ask "Are you sure that the point you're measuring "
you answer "My power supply is"
Now, pleaase answer Andys question, my guess is that that will answer yours.
Erik
Hiya man well the answer of Erik's question is that i am measuring the voltage on the port .... IO port man well i know i am dumb but not that much that i cant measure the voltage