fences
Junior Member level 3
- Joined
- Feb 7, 2011
- Messages
- 25
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,453
I read some data from serial port(RS232). this data about LoadCell Information. in other hand i have loadcell that connect to PC by Serial port. I test this load cell with 3 deferent weight; 0kg , 3.5kg and 5.5kg. this load cell send data in every 20ms to PC. ( there is a send loop on loadcell).
for 0.0 kg ( with 0.1 telorance -> 0.0-0.1kg) i have :
2A 78 B6 2A 78 AE 2A 78 88 2A 78 6F 2A 78 6E 2A 78 99 2A 78 B9 2A 78 AF 2A 78 88 2A 78 71 2A 78 6F 2A 78 9C 2A 78 B9 2A 78 AE 2A 78 89 2A 78 71 2A 78 6E 2A 78 99 2A 78 B7 2A 78 AF 2A 78 89 2A 78 70 2A 78 6F 2A 78 9A 2A 78 B7 2A 78 AC 2A 78 88 2A 78 71 2A 78 6F 2A 78 9A 2A 78 B7 2A 78 AE 2A 78 89 2A 78 70 2A 78 6F 2A 78 9B 2A 78 B7 2A 78 AD 2A 78 88 2A 78 70
for 3.5 kg ( with 0.1 telorance -> 3.5-3.6kg) i have :
2A 78 37 2A 78 30 2A 78 0D 0A 2A 77 F3 2A 77 EE 2A 78 2E 2A 78 37 2A 78 33 2A 78 2E 2A 77 F4 2A 77 F0 2A 78 2E 2A 78 38 2A 78 32 2A 78 2E 2A 77 F4 2A 77 EF 2A 78 2E 2A 78 37 2A 78 31 2A 78 2E 2A 77 F5 2A 77 EC 2A 78 2E 2A 78 38 2A 78 33 2A 78 2E 2A 77 F3 2A 77 EE 2A 78
and for 5.5kg ( with 0.1 telorance -> 5.5-5.6kg) i have :
2A 77 BA 2A 77 EA 2A 77 F9 2A 77 E2 2A 77 BC 2A 77 AD 2A 77 BD 2A 77 ED 2A 77 FA 2A 77 E2 2A 77 BD 2A 77 AD 2A 77 BB 2A 77 EB 2A 77 F8 2A 77 E0 2A 77 BC 2A 77 AD 2A 77 BE 2A 77 EC 2A 77 F9 2A 77 E1 2A 77 BC 2A 77 AC 2A 77 BC 2A 77 EB 2A 77 F9 2A 77 E0 2A 77 BC 2A 77 AE
these data had achived in about 2 second.
weight data send to PC each 20ms like this :
2A 78 B6 Read at 13:10:20:100
2A 78 AE Read at 13:10:20:125
2A 78 88 Read at 13:10:20:145
2A 78 6F Read at 13:10:20:165
2A 78 6E Read at 13:10:20:185 . . .
Now i want to know how can i convert this data to real weight?
like 2A 78 B6 to 0.1kg
is there any idea?
for 0.0 kg ( with 0.1 telorance -> 0.0-0.1kg) i have :
2A 78 B6 2A 78 AE 2A 78 88 2A 78 6F 2A 78 6E 2A 78 99 2A 78 B9 2A 78 AF 2A 78 88 2A 78 71 2A 78 6F 2A 78 9C 2A 78 B9 2A 78 AE 2A 78 89 2A 78 71 2A 78 6E 2A 78 99 2A 78 B7 2A 78 AF 2A 78 89 2A 78 70 2A 78 6F 2A 78 9A 2A 78 B7 2A 78 AC 2A 78 88 2A 78 71 2A 78 6F 2A 78 9A 2A 78 B7 2A 78 AE 2A 78 89 2A 78 70 2A 78 6F 2A 78 9B 2A 78 B7 2A 78 AD 2A 78 88 2A 78 70
for 3.5 kg ( with 0.1 telorance -> 3.5-3.6kg) i have :
2A 78 37 2A 78 30 2A 78 0D 0A 2A 77 F3 2A 77 EE 2A 78 2E 2A 78 37 2A 78 33 2A 78 2E 2A 77 F4 2A 77 F0 2A 78 2E 2A 78 38 2A 78 32 2A 78 2E 2A 77 F4 2A 77 EF 2A 78 2E 2A 78 37 2A 78 31 2A 78 2E 2A 77 F5 2A 77 EC 2A 78 2E 2A 78 38 2A 78 33 2A 78 2E 2A 77 F3 2A 77 EE 2A 78
and for 5.5kg ( with 0.1 telorance -> 5.5-5.6kg) i have :
2A 77 BA 2A 77 EA 2A 77 F9 2A 77 E2 2A 77 BC 2A 77 AD 2A 77 BD 2A 77 ED 2A 77 FA 2A 77 E2 2A 77 BD 2A 77 AD 2A 77 BB 2A 77 EB 2A 77 F8 2A 77 E0 2A 77 BC 2A 77 AD 2A 77 BE 2A 77 EC 2A 77 F9 2A 77 E1 2A 77 BC 2A 77 AC 2A 77 BC 2A 77 EB 2A 77 F9 2A 77 E0 2A 77 BC 2A 77 AE
these data had achived in about 2 second.
weight data send to PC each 20ms like this :
2A 78 B6 Read at 13:10:20:100
2A 78 AE Read at 13:10:20:125
2A 78 88 Read at 13:10:20:145
2A 78 6F Read at 13:10:20:165
2A 78 6E Read at 13:10:20:185 . . .
Now i want to know how can i convert this data to real weight?
like 2A 78 B6 to 0.1kg
is there any idea?