MyWeight - 8051模拟称重数


Windows
Delphi/Pascal

软件简介

Delphi/MCU 8051模拟称重数

用于单片机发送模拟称重数,格式为梅特勒托利多IND231/BBA231连续格式

其中: 016.hex为称重 0.16Kg 而1401.hex为 14.01Kg, 可下载到单片机中

我所用到的MCU为:STC89C52RC, Fosc: 11.0592

格式为梅特勒托利多IND231/BBA231连续格式为:

实验第1组数据 [STX,0 016
000]也即0.16kg--------------------------------------------------------------------
STX , 0 SP SP SP SP 0 1 6 sp sp sp 0 0 0 CR 00 unsigned char idata
trdata[18]={0x02,0x2C,0x30,0x20,0x20,0x20,0x20,0x30,0x31,0x36,0x20,0x20,0x20,0x30,0x30,0x30,0x0D,0x00};

实验第2组数据 [STX,0 1401
000]也即14.01kg----------------------------------------------------------------
STX , 0 SP SP SP 1 4 0 1 sp sp sp 0 0 0 CR 00 unsigned char idata
trdata[18]={0x02,0x2C,0x30,0x20,0x20,0x20,0x31,0x34,0x30,0x31,0x20,0x20,0x20,0x30,0x30,0x30,0x0D,0x00};