CN110779602A - 一种带地址码称重模块的实现方法 - Google Patents

一种带地址码称重模块的实现方法 Download PDF

Info

Publication number
CN110779602A
CN110779602A CN201810851752.7A CN201810851752A CN110779602A CN 110779602 A CN110779602 A CN 110779602A CN 201810851752 A CN201810851752 A CN 201810851752A CN 110779602 A CN110779602 A CN 110779602A
Authority
CN
China
Prior art keywords
weighing
weighing module
address code
address
single chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810851752.7A
Other languages
English (en)
Inventor
崔峨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Traceability Information Technology Co Ltd
Original Assignee
Nanjing Traceability Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Traceability Information Technology Co Ltd filed Critical Nanjing Traceability Information Technology Co Ltd
Priority to CN201810851752.7A priority Critical patent/CN110779602A/zh
Publication of CN110779602A publication Critical patent/CN110779602A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G3/00Weighing apparatus characterised by the use of elastically-deformable members, e.g. spring balances
    • G01G3/12Weighing apparatus characterised by the use of elastically-deformable members, e.g. spring balances wherein the weighing element is in the form of a solid body stressed by pressure or tension during weighing
    • G01G3/14Weighing apparatus characterised by the use of elastically-deformable members, e.g. spring balances wherein the weighing element is in the form of a solid body stressed by pressure or tension during weighing measuring variations of electrical resistance
    • G01G3/142Circuits specially adapted therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/40Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight
    • G01G19/413Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight using electromechanical or electronic computing means
    • G01G19/414Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight using electromechanical or electronic computing means using electronic computing means only
    • G01G19/4144Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups with provisions for indicating, recording, or computing price or other quantities dependent on the weight using electromechanical or electronic computing means using electronic computing means only for controlling weight of goods in commercial establishments, e.g. supermarket, P.O.S. systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

本发明是一种带地址码称重模块的实现方法,属于智能称重领域。一种带地址码称重模块的实现方法是以单片机为核心。当物品放在秤盘上时,压力施给电阻应变式称重传感器,传感器应变片发生形变,使变式片阻抗发生变化,随之输出激励电压发生改变。激励电压经信号放大及A/D转换后输入给单片机,单片机经过数据运算、处理后,通过通讯接口UART称重数据回传上位机使用。一种带地址码称重模块的实现方法采用modbus RTU协议,通过一个轻触开关,对称重模块进行地址设置,地址范围为1‑128,地址保存在单片机ROM内,由于带了地址码,可以使得多个称重模块进行组网,上位机通过命令对各称重模块进行重量数据读取及控制亮灯操作(在存取物品时,有亮灯提示非常实用),极大的拓展了称重模块的功能和应用场合。

Description

一种带地址码称重模块的实现方法
技术领域
本发明是一种带地址码称重模块的实现方法,属于智能称重领域。
背景技术
电子秤是日常生活中常用的称重器材,广泛应用于超市、大中型商场、物流
配送中心等。电子秤在结构和原理上取代了以杠杆平衡为原理的传统机械式称量工具。相比传统的机械式称量工具,电子秤具有称量精度高、装机体积小、应用范围广、易于操作使用等优点,在外形布局、工作原理、结构和材料上都是全新的计量衡器。一种带地址码称重模块的实现方法可广泛用于仓储、物联网领域。
发明内容
一种带地址码称重模块的实现方法是以单片机为核心。当物品放在秤盘上时,压力施给电阻应变式称重传感器,传感器应变片发生形变,使变式片阻抗发生变化,随之输出激励电压发生改变。激励电压经信号放大及A/D转换后输入给单片机,单片机经过数据运算、处理后,通过通讯接口UART将称重数据回传给上位机使用。
一种带地址码称重模块的实现方法采用modbus RTU协议,通过一个轻触开关,对称重模块进行地址设置,地址范围为1-128,地址保存在单片机ROM内,由于带了地址码,可以使得多个称重模块进行组网,上位机通过命令对各称重模块进行称重数据读取及控制亮灯操作(在存取物品时,有亮灯提示非常实用),极大的拓展了称重模块的功能和应用场合。
一种带地址码称重模块的实现方法测量范围为0~3Kg,测量精度≤1g。
附图说明
下面结合附图对本发明作进一步说明:
附图1是一种带地址码称重模块的实现方法的原理图。
具体实施方式
对照附图1
其结构是包括:图中1是A/D转换器芯片HX711,2是单片机控制芯片STC15W204S,3是称重传感器连接接口,4是UART通讯接口,5是调码轻触开关,6是提示LED灯。
称重模块工作准备:烧录程序并用调码轻触开关5调整地址码。
A/D转换器芯片1对来自称重传感器接口3的传感器激励电压进行信号放大及A/D转换;上位机发送命令通过UART通讯接口4给控制芯片2,控制芯片2读取A/D转换器芯片1的数据并进行处理,将提示LED灯6点亮和关闭,再通过UART通讯接口4回传称重数据给上位机使用。
上位机指令有三个部分,1)发送地址码:准备和符合地址码的称重模块进行数据通讯;2)读取称重命令:读取指定地址码称重模块的称重数据,为24位3个字节数据,FF FFFF表示有故障,3)亮灯命令:指定地址码称重模块进行亮灯和灭灯操作。

Claims (3)

1.一种带地址码称重模块的实现方法是以单片机为核心,当物品放在秤盘上时,压力施给电阻应变式称重传感器,传感器应变片发生形变,使变式片阻抗发生变化,随之输出激励电压发生改变,激励电压经信号放大及A/D转换后输入给单片机,单片机经过数据运算、处理后,通过通讯接口UART将称重数据回传给上位机使用;称重模块采用modbus RTU协议,通过一个轻触开关,对称重模块进行地址设置,地址范围为1-128,地址保存在单片机ROM内,由于带了地址码,可以使得多个称重模块进行组网,上位机通过命令对各称重模块进行重量数据读取及控制亮灯操作(在存取物品时,有亮灯提示非常实用),极大的拓展了称重模块的功能和应用场合。
2.如权利要求1所述的一种带地址码称重模块的实现方法,其特征在于:以单片机为核心,上位机通过指令给单片机,单片机获取A/D转换器芯片其来自传感器激励电压进行信号放大及A/D转换后的数据进行处理,并将称重数据回传给上位机使用。
3.如权利要求1所述的一种带地址码称重模块的实现方法,其特征在于:每个称重模块通过一个按键和亮灯提示来设置一个地址并保存在单片机ROM内,可以将多个称重模块组网使用,通过协议、命令,可对单个、多个或全部称重模块进行读取、操作。
CN201810851752.7A 2018-07-30 2018-07-30 一种带地址码称重模块的实现方法 Pending CN110779602A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810851752.7A CN110779602A (zh) 2018-07-30 2018-07-30 一种带地址码称重模块的实现方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810851752.7A CN110779602A (zh) 2018-07-30 2018-07-30 一种带地址码称重模块的实现方法

Publications (1)

Publication Number Publication Date
CN110779602A true CN110779602A (zh) 2020-02-11

Family

ID=69377174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810851752.7A Pending CN110779602A (zh) 2018-07-30 2018-07-30 一种带地址码称重模块的实现方法

Country Status (1)

Country Link
CN (1) CN110779602A (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6356226B1 (en) * 2000-03-15 2002-03-12 Wu-Fu Lin All digital and adjustable scale device
CN101080616A (zh) * 2005-02-04 2007-11-28 株式会社岛津制作所 带有风挡的电子秤
CN204346555U (zh) * 2014-12-29 2015-05-20 山西力创自动化技术有限公司 一种全数字式电子皮带秤
CN204495440U (zh) * 2014-12-16 2015-07-22 承德市中瑞自动化工程有限公司 一种数字称重仪表
CN206804129U (zh) * 2017-06-14 2017-12-26 绍兴市金禾农业有限公司 一种电子秤
CN107643119A (zh) * 2017-10-17 2018-01-30 广东电网有限责任公司佛山供电局 一种电子计量装置及计量方法
CN207530843U (zh) * 2017-10-27 2018-06-22 笔笔发信息技术(上海)有限公司 按照地址表主动上报数据的通讯设备
CN108334006A (zh) * 2018-04-10 2018-07-27 南京溯源信息技术有限公司 一种智能药柜的自动控制方法

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6356226B1 (en) * 2000-03-15 2002-03-12 Wu-Fu Lin All digital and adjustable scale device
CN101080616A (zh) * 2005-02-04 2007-11-28 株式会社岛津制作所 带有风挡的电子秤
CN204495440U (zh) * 2014-12-16 2015-07-22 承德市中瑞自动化工程有限公司 一种数字称重仪表
CN204346555U (zh) * 2014-12-29 2015-05-20 山西力创自动化技术有限公司 一种全数字式电子皮带秤
CN206804129U (zh) * 2017-06-14 2017-12-26 绍兴市金禾农业有限公司 一种电子秤
CN107643119A (zh) * 2017-10-17 2018-01-30 广东电网有限责任公司佛山供电局 一种电子计量装置及计量方法
CN207530843U (zh) * 2017-10-27 2018-06-22 笔笔发信息技术(上海)有限公司 按照地址表主动上报数据的通讯设备
CN108334006A (zh) * 2018-04-10 2018-07-27 南京溯源信息技术有限公司 一种智能药柜的自动控制方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑文: ""基于Modbus协议的触摸屏与多个称重仪表通信的研究与实现", 《衡器》 *

Similar Documents

Publication Publication Date Title
CN102682166A (zh) Smt设备快速制程系统及方法
CN107966197A (zh) 一种智能电子称重系统和方法
CN102801818A (zh) 基于ZigBee技术的传感器通用接口采集系统
CN101562600A (zh) 基于特征码的电力自动化通讯规约自适应方法
CN201600174U (zh) 一种多量程的多秤台系统
CN106598895A (zh) 一种功能小板识别系统和方法
CN110779602A (zh) 一种带地址码称重模块的实现方法
CN103278196A (zh) 一种集成传感器
CN105973445A (zh) 一种基于云服务的智能电子秤系统
CN110260967A (zh) 一种提供开源数据接口的大批量称量电子秤
CN101923798B (zh) 机械电子信号检测处理eda综合实验箱
CN203219328U (zh) 一种多路通讯协议转换器
EP2751629A1 (en) Stage equipment system
CN202854927U (zh) 食品安全监管终端
CN203837804U (zh) 一种可追溯的电子称重系统
CN110488698A (zh) 一种开放式驱控一体化二次开发平台与系统
CN201769456U (zh) 一种激光打标机控制卡
US11281174B2 (en) Module for industrial process automation and method for operation and configuration
CN114879634A (zh) 一种plc模拟量自动校准方法及系统
CN207689884U (zh) 一种智能型物联网生物培养测量系统
SE470541B (sv) Förfarande för omkoppling av funktionsmod i en displayenhet och displayenhet för utförande av förfarandet
CN201359529Y (zh) 可编程称重控制器
CN208752446U (zh) 可编程的称重专用混合型plc
CN103279435A (zh) 一种控制系统、控制设备及其输入输出控制方法
Borlea et al. Intelligent lighting system platform architecture and linear process models

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200211