In my project , I am intend to see the voltage value on shunt resistor by sending the data to the pc by usb connection. I am using hyperterminal to see it , but the value that hyperterminal shows is not equal to the voltage value on the shunt resistor. Can anyone tell me why this is happening ? How can I fix it ? All data values such as bps , data bit are suitable for uart .
I assume you convert the value to a char string, using sprintf(), then on PC
side display as a char string ? What do you see on hyperterminal, what should
it be ?
Consider posting a project -
“Create Workspace Bundle”
Yes , I used sprintf() . Hyperterminal shows the voltage value 70mV when I am actually measuring 690-700mV and hyperterminal value stays same after 101mV but I am giving 1V and higher.
Did you check your buffer on PSOC side to see if the string is
correct in the cases it fails on Hyperterminal view ? Of course
all the settings for Hyperterminal correct, baud rate, etc....