As traditional gravity tester mostly be measured by electronic scale, which measures the number of multi-step tedious and inaccurate. In this paper, the design method of specific gravity tester based on micro-controller, the hardware circuit controlled by the micro-controller as a core member, the peripheral circuit is composed of a pressure sensor HX711, display circuit, keyboard circuit and alarm circuit and other components, do not use software algorithms to achieve a dual regular objects simultaneously weighed. By recording and analyze experimental data,we can get the weighing conclusion that maximum error does not exceed 1%, the results show that the object proportion tester can achieve accurate measurement data and the measurement step can be completed, greatly reducing the number of operations,so that we can promote its use.%由于传统的比重测试仪大多是通过电子称来进行测量的,其测量次数多,步骤繁琐而且不准确。文中采用了一种基于单片机的比重测试仪的设计方法,其硬件电路由单片机作为核心控制部件,外围电路是由压力传感器HX711,显示电路,键盘电路和报警电路等组成,利用软件算法实现了不规则物体双通道同时称重。通过记录实验数据并对其进行分析,得出称重误差最大不会超过1%的结论,其结果表明该物体比重测试仪可以实现测量数据精确且一步即可完成测量,大大减少操作次数,可以推广使用。
展开▼