[go: up one dir, main page]

CN206740228U - Entertaining height and weight scale - Google Patents

Entertaining height and weight scale Download PDF

Info

Publication number
CN206740228U
CN206740228U CN201720427778.XU CN201720427778U CN206740228U CN 206740228 U CN206740228 U CN 206740228U CN 201720427778 U CN201720427778 U CN 201720427778U CN 206740228 U CN206740228 U CN 206740228U
Authority
CN
China
Prior art keywords
pins
chip microcomputer
minimum system
indicator lamp
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.)
Expired - Fee Related
Application number
CN201720427778.XU
Other languages
Chinese (zh)
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.)
Chifeng University
Original Assignee
Chifeng University
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 Chifeng University filed Critical Chifeng University
Priority to CN201720427778.XU priority Critical patent/CN206740228U/en
Application granted granted Critical
Publication of CN206740228U publication Critical patent/CN206740228U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Percussion Or Vibration Massage (AREA)

Abstract

本实用新型公开了一种趣味身高体重秤,由体重秤底座、压力传感器模块、体重秤立杆、超声波传感器模块、单片机最小系统、第一指示灯、第二指示灯、第三指示灯、第四指示灯、第五指示灯、电源、男女选择按钮组成,体重秤立杆垂直固定在体重秤底座上,压力传感器模块和电源安装在体重秤底座的内部,男女选择按钮安装在体重秤立杆的侧面,超声波传感器模块固定在体重秤立杆的顶端,压力传感器模块和超声波传感器模块输出的电压信号都送入单片机最小系统,单片机最小系统将处理结果送入第一指示灯、第二指示灯、第三指示灯、第四指示灯及第五指示灯,电源提供电能。本实用新型用LED灯对人体的胖瘦作出指示,增加了身高体重秤的趣味性和实用性。

The utility model discloses an interesting height and weight scale. Composed of four indicator lights, fifth indicator light, power supply, male and female selection buttons, the vertical pole of the scale is fixed vertically on the base of the scale, the pressure sensor module and power supply are installed inside the base of the scale, and the selection button for men and women is installed on the pole of the scale The side of the ultrasonic sensor module is fixed on the top of the vertical pole of the weight scale. The voltage signals output by the pressure sensor module and the ultrasonic sensor module are sent to the minimum system of the single chip microcomputer, and the minimum system of the single chip microcomputer sends the processing results to the first indicator light and the second indicator light. , the third indicator light, the fourth indicator light and the fifth indicator light, the power supply provides electric energy. The utility model uses the LED light to indicate the fatness and thinness of the human body, which increases the interest and practicability of the height and weight scale.

Description

趣味身高体重秤Fun height and weight scale

技术领域technical field

本实用新型属于物理测量领域,涉及一种趣味身高体重秤。The utility model belongs to the field of physical measurement and relates to an interesting height and weight scale.

背景技术Background technique

体重秤能够准确的称量人体的体重,并且通过每日的体重变化,反应某段时间的体重控制情况。身高体重秤采用超声波技术测量身高(无触碰式),精密传感器测量体重,能同时测得身高、体重。人体的胖瘦通常采用世界卫生组织的标准,男性:(身高cm-80)×70﹪=标准体重,女性:(身高cm-70)×60﹪=标准体重,标准体重正负10﹪为正常体重,标准体重正负10﹪~ 20﹪为体重过重或过轻,标准体重正负20﹪以上为肥胖或体重不足。The scale can accurately measure the body's weight, and through the daily weight change, it can reflect the weight control of a certain period of time. The height and weight scale uses ultrasonic technology to measure height (non-touch type), and precision sensors measure weight, which can measure height and weight at the same time. The fat and thin of the human body usually adopts the standard of the World Health Organization, male: (height cm-80)×70﹪=standard weight, female: (height cm-70)×60﹪=standard weight, standard weight plus or minus 10% is normal Weight, plus or minus 10% to 20% of the standard weight is considered overweight or underweight, and plus or minus 20% of the standard weight is considered obese or underweight.

超声波换能器是一种能量转换器件,它能完成高频电能与机械能之间的转化,由材料的压电效应将电信号转换为机械振动或把机械振动转换为电信号。Ultrasonic transducer is an energy conversion device, which can complete the conversion between high-frequency electrical energy and mechanical energy, and convert electrical signals into mechanical vibrations or convert mechanical vibrations into electrical signals by the piezoelectric effect of materials.

压电式超声波探头是利用压电晶体的谐振来工作的。超声波探头当它的两极外加脉冲信号,其频率等于压电晶片的固有振荡频率时,压电晶片会发生共振,并带动共振板振动产生超声波,这时它就是一个超声波发生器。反之,如果两电极问未外加电压,当共振板接收到超声波时,将压迫压电晶片作振动,将机械能转换为电信号,这时它就成为超声波接收器。Piezoelectric ultrasonic probes use the resonance of piezoelectric crystals to work. When an ultrasonic probe is applied with a pulse signal at its two poles, and its frequency is equal to the natural oscillation frequency of the piezoelectric wafer, the piezoelectric wafer will resonate and drive the resonant plate to vibrate to generate ultrasonic waves. At this time, it is an ultrasonic generator. Conversely, if no voltage is applied between the two electrodes, when the resonant plate receives ultrasonic waves, it will press the piezoelectric chip to vibrate, converting mechanical energy into electrical signals, and then it becomes an ultrasonic receiver.

压力传感器是能感受压力并转换成可用输出信号的传感器。压力传感器是工业实践中最为常用的一种传感器。一般普通压力传感器的输出为模拟信号,模拟信号是指信息参数在给定范围内表现为连续的信号。或在一段连续的时间间隔内,其代表信息的特征量可以在任意瞬间呈现为任意数值的信号。A pressure sensor is a sensor that senses pressure and converts it into a usable output signal. Pressure sensors are the most commonly used sensors in industrial practice. Generally, the output of ordinary pressure sensors is an analog signal, and an analog signal refers to a signal in which information parameters appear as continuous signals within a given range. Or within a continuous time interval, the characteristic quantity representing information can appear as a signal of any value at any instant.

压力传感器的种类繁多,主要有压阻式压力传感器、电感式压力传感器、电容式压力传感器、谐振式压力传感器等。但应用最为广泛的是压阻式压力传感器,它具有极低的价格和较高的精度以及较好的线性特性。电阻应变片是一种将被测件上的应变变化转换成为一种电信号的敏感器件。它是压阻式应变传感器的主要组成部分之一。电阻应变片应用最多的是金属电阻应变片和半导体应变片两种。应变片在受力时产生的阻值变化通常较小,一般这种应变片都组成应变电桥,并通过后续的仪表放大器进行放大,再传输给处理电路(通常是A/D转换和CPU)显示或执行机构。There are many types of pressure sensors, mainly piezoresistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, resonant pressure sensors, etc. But the most widely used is the piezoresistive pressure sensor, which has extremely low price, high precision and good linearity. The resistance strain gauge is a sensitive device that converts the strain change on the tested object into an electrical signal. It is one of the main components of piezoresistive strain sensors. The most widely used strain gauges are metal resistance strain gauges and semiconductor strain gauges. The resistance value change produced by the strain gauge when it is stressed is usually small. Generally, this strain gauge forms a strain bridge, which is amplified by the subsequent instrument amplifier and then transmitted to the processing circuit (usually A/D conversion and CPU) ) display or actuator.

单片微型计算机简称单片机,是典型的嵌入式微控制器(MicrocontrollerUnit),常用英文字母的缩写MCU表示单片机,它最早是被用在工业控制领域。目前单片机渗透到我们生活的各个领域,几乎很难找到哪个领域没有单片机的踪迹。单片机是靠程序运行的,并且可以修改。通过不同的程序实现不同的功能,通过程序,用单片机可以方便的控制LED灯、数码管点亮速度和电动机的转速,可以方便的产生各种随机数字并进行运算。通过程序可以实现产品的高智能,高效率,以及高可靠性。Single-chip microcomputer, referred to as single-chip microcomputer, is a typical embedded microcontroller (MicrocontrollerUnit). The abbreviation MCU is commonly used to represent single-chip microcomputer. It was first used in the field of industrial control. At present, single-chip microcomputers have penetrated into various fields of our lives, and it is almost difficult to find any field without traces of single-chip microcomputers. The single-chip microcomputer is run by the program and can be modified. Different functions can be realized through different programs. Through the programs, the single-chip microcomputer can conveniently control the lighting speed of LED lamps and digital tubes and the speed of the motor, and can easily generate various random numbers and perform calculations. The high intelligence, high efficiency, and high reliability of the product can be realized through the program.

发明内容Contents of the invention

本实用新型的目的在于设计一种结构简单、使用方便、性能可靠、造价低廉的趣味身高体重秤,可用LED灯指示人体的胖瘦程度。The purpose of the utility model is to design an interesting height and weight scale with simple structure, convenient use, reliable performance and low cost, which can indicate the fatness and thinness of the human body with LED lights.

为实现上述目的,本实用新型采用如下技术方案:In order to achieve the above object, the utility model adopts the following technical solutions:

趣味身高体重秤,由体重秤底座、压力传感器模块、体重秤立杆、超声波传感器模块、单片机最小系统、第一指示灯、第二指示灯、第三指示灯、第四指示灯、第五指示灯、电源、男女选择按钮组成,体重秤立杆垂直固定在体重秤底座上,压力传感器模块和电源安装在体重秤底座的内部,男女选择按钮安装在体重秤立杆的侧面,超声波传感器模块固定在体重秤立杆的顶端,压力传感器模块和超声波传感器模块输出的电压信号都送入单片机最小系统,单片机最小系统将处理结果送入第一指示灯、第二指示灯、第三指示灯、第四指示灯及第五指示灯,电源提供电能;Interesting height and weight scale, composed of scale base, pressure sensor module, scale pole, ultrasonic sensor module, single chip microcomputer minimum system, first indicator light, second indicator light, third indicator light, fourth indicator light, fifth indicator light Composed of light, power supply, male and female selection buttons, the vertical pole of the scale is fixed vertically on the base of the scale, the pressure sensor module and power supply are installed inside the base of the scale, the selection button for men and women is installed on the side of the pole of the scale, and the ultrasonic sensor module is fixed At the top of the vertical pole of the weight scale, the voltage signals output by the pressure sensor module and the ultrasonic sensor module are sent to the minimum system of the single chip microcomputer, and the minimum system of the single chip microcomputer sends the processing results to the first indicator light, the second indicator light, the third indicator light, the third indicator light, and the first indicator light. Four indicator lights and fifth indicator light, the power supply provides electric energy;

所述单片机最小系统包括单片机、P0口上拉电阻、时钟电路和复位电路,单片机最小系统中的单片机内部贮存男女身高与体重的关系式,单片机最小系统输出信号控制第一指示灯、第二指示灯、第三指示灯、第四指示灯或第五指示灯中的一个点亮;The minimum system of the single-chip microcomputer includes a single-chip microcomputer, a pull-up resistor at the P0 port, a clock circuit and a reset circuit. The single-chip microcomputer in the minimum system of the single-chip microcomputer stores the relational expression of the height and weight of men and women inside the single-chip microcomputer, and the minimum system output signal of the single-chip microcomputer controls the first indicator light and the second indicator light. , one of the third indicator light, the fourth indicator light or the fifth indicator light is on;

所述电源为5伏直流电源,其正极接接单片机最小系统中单片机的40管脚,负极接单片机最小系统中单片机的20管脚;The power supply is a 5 volt DC power supply, its positive pole is connected to 40 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer, and the negative pole is connected to 20 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer;

所述的男女选择按钮一端连接电源的负极,另一端连接单片机最小系统中单片机的25管脚;One end of the male and female selection button is connected to the negative pole of the power supply, and the other end is connected to the 25 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer;

所述压力传感器模块包括压力传感器、放大器和A/D转换器,压力传感器模块外接4个管脚,分别是电源Vcc,时钟SCK,数据输出DT,地GND,这4个管脚插在排针座上用引线引出,其中电源Vcc接单片机最小系统中单片机的40管脚,时钟SCK接单片机最小系统中单片机的26管脚,数据输出DT接单片机最小系统中单片机的27管脚,地GND接单片机最小系统中单片机的20管脚;The pressure sensor module includes a pressure sensor, an amplifier, and an A/D converter. The pressure sensor module is externally connected to 4 pins, which are power supply Vcc, clock SCK, data output DT, and ground GND. These 4 pins are inserted into the pin header The socket is led out with lead wires, in which the power supply Vcc is connected to pin 40 of the microcontroller in the minimum system of the microcontroller, the clock SCK is connected to pin 26 of the microcontroller in the minimum system of the microcontroller, the data output DT is connected to pin 27 of the microcontroller in the minimum system of the microcontroller, and the ground is connected to GND The 20 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer;

所述超声波传感器模块外接4个管脚,分别是电源VCC,地GND,数字信号DO,模拟信号AO,其电源VCC、地GND分别接电源的正负极,其输出的模拟信号AO送入单片机最小系统板中单片机的28管脚,其数字信号DO管脚不连接;The ultrasonic sensor module is externally connected to 4 pins, which are power supply VCC, ground GND, digital signal DO, and analog signal AO. The 28 pins of the microcontroller in the smallest system board, the digital signal DO pins are not connected;

所述第一指示灯的负极串联一个470欧的电阻后接单片机最小系统中单片机的20管脚,第一指示灯的正极接单片机最小系统中单片机的39管脚;The negative pole of the first indicator light is connected in series with a 470 ohm resistor to the 20 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer, and the positive pole of the first indicator light is connected to the 39 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer;

所述第二指示灯的负极串联一个470欧的电阻后接单片机最小系统中单片机的20管脚,第二指示灯的正极接单片机最小系统中单片机的38管脚;The negative pole of the second indicator light is connected in series with a 470 ohm resistor to the 20 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer, and the positive pole of the second indicator light is connected to the 38 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer;

所述第三指示灯的负极串联一个470欧的电阻后接单片机最小系统中单片机的20管脚,第三指示灯的正极接单片机最小系统中单片机的37管脚;The negative electrode of the third indicator light is connected in series with the 20 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer after a 470-ohm resistor is connected in series, and the positive pole of the third indicator light is connected with the 37 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer;

所述第四指示灯的负极串联一个470欧的电阻后接单片机最小系统中单片机的20管脚,第四指示灯的正极接单片机最小系统中单片机的36管脚;The negative pole of the fourth indicator light is connected to the 20 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer after a 470-ohm resistor is connected in series, and the positive pole of the fourth indicator light is connected to the 36 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer;

所述第五指示灯的负极串联一个470欧的电阻后接单片机最小系统中单片机的20管脚,第五指示灯的正极接单片机最小系统中单片机的35管脚。The negative electrode of the fifth indicator light is connected in series with a 470 ohm resistor to the 20 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer, and the positive pole of the fifth indicator light is connected to the 35 pins of the single-chip microcomputer in the minimum system of the single-chip microcomputer.

本实用新型的有益效果是:能用5个LED灯对人体的胖瘦作出指示,增加了身高体重秤的趣味性和实用性。The beneficial effect of the utility model is that five LED lights can be used to indicate the fatness and thinness of the human body, and the interest and practicality of the height and weight scale are increased.

附图说明Description of drawings

图1是本实用新型整体结构示意图;Fig. 1 is a schematic diagram of the overall structure of the utility model;

图2 本实用新型电路原理图;Fig. 2 schematic diagram of the circuit of the utility model;

图3 本实用新型整体工作流程图。Fig. 3 overall working flow diagram of the utility model.

具体实施方式detailed description

下面结合附图对本实用新型的具体实施方式作具体说明。Below in conjunction with accompanying drawing, the specific embodiment of the present utility model is described in detail.

参见图1,趣味身高体重秤,由体重秤底座1、压力传感器模块2、体重秤立杆3、超声波传感器模块4、单片机最小系统5、第一指示灯6、第二指示灯7、第三指示灯8、第四指示灯9、第五指示灯10、电源11、男女选择按钮12组成,体重秤立杆3垂直固定在体重秤底座1上,压力传感器模块2和电源11安装在体重秤底座1的内部,男女选择按钮12安装在体重秤立杆3的侧面,超声波传感器模块4固定在体重秤立杆3的顶端,压力传感器模块2和超声波传感器模块4输出的电压信号都送入单片机最小系统5,单片机最小系统5将处理结果送入第一指示灯6、第二指示灯7、第三指示灯8、第四指示灯9及第五指示灯10,电源11提供电能;Referring to Figure 1, the fun height and weight scale consists of a scale base 1, a pressure sensor module 2, a scale pole 3, an ultrasonic sensor module 4, a minimum single-chip microcomputer system 5, a first indicator light 6, a second indicator light 7, and a third indicator light. Composed of indicator light 8, fourth indicator light 9, fifth indicator light 10, power supply 11, male and female selection button 12, weight scale pole 3 is vertically fixed on the weight scale base 1, pressure sensor module 2 and power supply 11 are installed on the weight scale Inside the base 1, the male and female selection button 12 is installed on the side of the vertical pole 3 of the weighing scale, the ultrasonic sensor module 4 is fixed on the top of the vertical pole 3 of the weighing scale, and the voltage signals output by the pressure sensor module 2 and the ultrasonic sensor module 4 are all sent to the single-chip microcomputer The minimum system 5, the minimum system 5 of the single-chip microcomputer sends the processing result to the first indicator light 6, the second indicator light 7, the third indicator light 8, the fourth indicator light 9 and the fifth indicator light 10, and the power supply 11 provides electric energy;

参见图2,所述的单片机最小系统5包括单片机、P0口上拉电阻、时钟电路和复位电路,P0口上拉电阻的1管脚接单片机的40管脚,P0口上拉电阻的2管脚接单片机的39管脚,P0口上拉电阻的3管脚接单片机的38管脚,P0口上拉电阻的4管脚接单片机的37管脚,P0口上拉电阻的5管脚接单片机的36管脚,P0口上拉电阻的6管脚接单片机的35管脚,P0口上拉电阻7管脚接单片机的34管脚,P0口上拉电阻的8管脚接单片机的33管脚,P0口上拉电阻的9管脚接单片机的32管脚,时钟电路中X1接单片机的19管脚,X2接单片机的18管脚,复位电路中MCURST接单片机的9管脚,单片机最小系统5中的单片机内部贮存男女身高与体重的关系式,单片机最小系统5输出信号控制第一指示灯6、第二指示灯7、第三指示灯8、第四指示灯9或第五指示灯10中的一个点亮;Referring to Fig. 2, the minimum system 5 of the single-chip microcomputer includes a single-chip microcomputer, a pull-up resistor of the P0 port, a clock circuit and a reset circuit, the 1 pin of the pull-up resistor of the P0 port is connected to the 40 pin of the single-chip computer, and the 2 pins of the pull-up resistor of the P0 port are connected to the single-chip computer The 39 pins of the pull-up resistor on the P0 port are connected to the 38 pins of the MCU, the 4 pins of the P0 port pull-up resistor are connected to the 37 pins of the MCU, and the 5 pins of the P0 port pull-up resistor are connected to the 36 pins of the MCU. Pin 6 of the pull-up resistor on P0 is connected to pin 35 of the MCU, pin 7 of the pull-up resistor on P0 is connected to pin 34 of the MCU, pin 8 of the pull-up resistor on P0 is connected to pin 33 of the MCU, and pin 9 of the pull-up resistor on P0 is connected to pin 34 of the MCU. The pins are connected to pin 32 of the single-chip microcomputer, X1 in the clock circuit is connected to pin 19 of the single-chip microcomputer, X2 is connected to pin 18 of the single-chip microcomputer, MCURST is connected to pin 9 of the single-chip microcomputer in the reset circuit, and the height of men and women is stored inside the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer Relational formula with body weight, one of the first indicator light 6, the second indicator light 7, the third indicator light 8, the fourth indicator light 9 or the fifth indicator light 10 is lighted by the output signal of the minimum system 5 of the single-chip microcomputer;

所述的电源11为5伏直流电源,其正极接接单片机最小系统5中单片机的40管脚,负极接单片机最小系统5中单片机的20管脚;Described power supply 11 is a 5 volt DC power supply, and its positive pole connects the 40 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer, and the negative pole connects the 20 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer;

所述的男女选择按钮12一端连接电源11的负极,另一端连接单片机最小系统5中单片机的25管脚;One end of the male and female selection button 12 is connected to the negative pole of the power supply 11, and the other end is connected to the 25 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer;

所述的压力传感器模块2包括压力传感器、放大器和A/D转换器,压力传感器模块2外接4个管脚,分别是电源Vcc,时钟SCK,数据输出DT,地GND,这4个管脚插在排针座上用引线引出,其中电源Vcc接单片机最小系统5中单片机的40管脚,时钟SCK接单片机最小系统5中单片机的26管脚,数据输出DT接单片机最小系统5中单片机的27管脚,地GND接单片机最小系统5中单片机的20管脚;The pressure sensor module 2 includes a pressure sensor, an amplifier and an A/D converter. The pressure sensor module 2 is externally connected to 4 pins, which are power supply Vcc, clock SCK, data output DT, and ground GND. These 4 pins are connected to Use lead wires to lead out on the pin header, where the power supply Vcc is connected to pin 40 of the microcontroller in the minimum system 5 of the microcontroller, the clock SCK is connected to pin 26 of the microcontroller in the minimum system 5 of the microcontroller, and the data output DT is connected to pin 27 of the microcontroller in the minimum system 5 of the microcontroller Pin, the ground GND is connected to the 20 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer;

所述的超声波传感器模块4外接4个管脚,分别是电源VCC,地GND,数字信号DO,模拟信号AO,其电源VCC、地GND分别接电源11的正负极,其输出的模拟信号AO送入单片机最小系统板5中单片机的28管脚,其数字信号DO管脚不连接;The ultrasonic sensor module 4 is externally connected to 4 pins, which are respectively power supply VCC, ground GND, digital signal DO, and analog signal AO. The power supply VCC and ground GND are respectively connected to the positive and negative poles of the power supply 11, and the output analog signal AO Send to the 28 pins of the single-chip microcomputer in the minimum system board 5 of the single-chip microcomputer, and its digital signal DO pin is not connected;

所述的第一指示灯6的负极串联一个470欧的电阻后接单片机最小系统5中单片机的20管脚,第一指示灯6的正极接单片机最小系统5中单片机的39管脚,当第一指示灯6被点亮时发出红光,表示肥胖;The negative pole of the first indicator light 6 is connected in series with a 470 ohm resistor to the 20 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer, and the positive pole of the first indicator light 6 is connected to the 39 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer. A red light is emitted when an indicator light 6 is lit, indicating obesity;

所述的第二指示灯7的负极串联一个470欧的电阻后接单片机最小系统5中单片机的20管脚,第二指示灯7的正极接单片机最小系统5中单片机的39管脚,当第二指示灯7被点亮时发出黄光,表示体重过重;The negative pole of the second indicator light 7 is connected in series with the 20 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer after a 470-ohm resistor is connected in series, and the positive pole of the second indicator light 7 is connected to the 39 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer. Two indicator lamps 7 are sent yellow light when being lighted, and expression weight is too heavy;

所述的第三指示灯8的负极串联一个470欧的电阻后接单片机最小系统5中单片机的20管脚,第三指示灯8的正极接单片机最小系统5中单片机的39管脚,当第三指示灯8被点亮时发出绿光,表示体重正常;The negative pole of the third indicator light 8 is connected in series with the 20 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer after a 470-ohm resistor is connected in series, and the positive pole of the third indicator light 8 is connected to the 39 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer. When the three indicator lights 8 are lit, green light is emitted, indicating that the body weight is normal;

所述的第四指示灯9的负极串联一个470欧的电阻后接单片机最小系统5中单片机的20管脚,第四指示灯9的正极接单片机最小系统5中单片机的39管脚,当第四指示灯9被点亮时发出蓝光,表示体重过轻;The negative electrode of the fourth indicator light 9 is connected in series with a 470 ohm resistor to the 20 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer, and the positive pole of the fourth indicator light 9 is connected to the 39 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer. When four indicator lamps 9 are lighted, blue light is emitted, indicating that the body weight is too light;

所述的第五指示灯10的负极串联一个470欧的电阻后接单片机最小系统5中单片机的20管脚,第五指示灯10的正极接单片机最小系统5中单片机的39管脚,当第五指示灯10被点亮时发出白光,表示体重不足。The negative electrode of the fifth indicator light 10 is connected in series with the 20 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer after a 470 ohm resistor is connected in series, and the positive pole of the fifth indicator light 10 is connected to the 39 pins of the single-chip microcomputer in the minimum system 5 of the single-chip microcomputer. Five indicator lamps 10 emit white light when lighted, indicating underweight.

参见图3,单片机最小系统5开始工作后首先读取压力传感器模块2和超声波传感器模块4的数值,根据传感器的数值判断是否有人站上了趣味身高体重秤,当有人站上了趣味身高体重秤后,根据性别选取是否按下男女选择按钮12,根据世界卫生组织的人体的胖瘦标准,男性:(身高cm-80)×70﹪=标准体重,女性:(身高cm-70)×60﹪=标准体重,标准体重正负10﹪为正常体重,标准体重正负10﹪~ 20﹪为体重过重或过轻,标准体重正负20﹪以上为肥胖或体重不足,单片机最小系统5按照世界卫生组织的标准判断人体的胖瘦,输出结果控制指示灯作出指示。使用时,5个LED灯只有一个被点亮,第一指示灯6发出红光时,表示肥胖,第二指示灯7发出黄光时,表示体重过重,第三指示灯8发出绿光时,表示体重正常,第四指示灯9发出蓝光时,表示体重过轻,第五指示灯10发出白光时,表示体重不足。当单片机最小系统5判断人已经走下趣味身高体重秤后,熄灭全部指示灯并重新读取压力传感器模块2和超声波传感器模块4的数值。Referring to Fig. 3, after the minimum system 5 of the single-chip microcomputer starts working, first read the values of the pressure sensor module 2 and the ultrasonic sensor module 4, and judge whether someone has stood on the fun height and weight scale according to the sensor values. Finally, choose whether to press the male or female selection button 12 according to gender, according to the body fat or thin standard of the World Health Organization, male: (height cm-80)×70﹪=standard weight, female: (height cm-70)×60﹪ =Standard weight, plus or minus 10% of the standard weight is normal weight, plus or minus 10% to 20% of the standard weight is overweight or underweight, plus or minus 20% of the standard weight is obesity or underweight, the minimum system of the single chip microcomputer is 5 according to the world The standard of the health organization judges the fatness and thinness of the human body, and the output result is controlled by the indicator light to give instructions. During use, only one of the 5 LED lamps is lit. When the first indicator light 6 emits red light, it means obesity; when the second indicator light 7 emits yellow light, it means that the weight is too heavy; The body weight is normal, when the fourth indicator light 9 emits blue light, it means that the weight is underweight, and when the fifth indicator light 10 emits white light, it means that the weight is underweight. After the minimum system 5 of the single-chip microcomputer judges that the person has stepped off the interesting height and weight scale, all indicator lights are extinguished and the values of the pressure sensor module 2 and the ultrasonic sensor module 4 are read again.

Claims (1)

1. entertaining height and weight scale, it is characterised in that:By scale base(1), pressure sensor module(2), scale vertical rod (3), ultrasonic sensor modules(4), single-chip minimum system(5), the first indicator lamp(6), the second indicator lamp(7), the 3rd refer to Show lamp(8), the 4th indicator lamp(9), the 5th indicator lamp(10), power supply(11), men and women's select button(12)Composition, scale vertical rod (3)It is vertically fixed on scale base(1)On, pressure sensor module(2)And power supply(11)Installed in scale base(1)'s Inside, men and women's select button(12)Installed in scale vertical rod(3)Side, ultrasonic sensor modules(4)It is fixed on body weight Scale vertical rod(3)Top, pressure sensor module(2)And ultrasonic sensor modules(4)The voltage signal of output is all sent into list Piece machine minimum system(5), single-chip minimum system(5)Result is sent into the first indicator lamp(6), the second indicator lamp(7), Three indicator lamps(8), the 4th indicator lamp(9)And the 5th indicator lamp(10), power supply(11)Electric energy is provided;
Described single-chip minimum system(5)Including single-chip microcomputer, P0 mouths pull-up resistor, clock circuit and reset circuit, on P0 mouths 1 pin of pull-up resistor connects 40 pins of single-chip microcomputer, and 2 pins of P0 mouth pull-up resistors connect 39 pins of single-chip microcomputer, P0 mouths pull-up electricity 3 pins of resistance connect 38 pins of single-chip microcomputer, and 4 pins of P0 mouth pull-up resistors connect 37 pins of single-chip microcomputer, and the 5 of P0 mouth pull-up resistors Pin connects 36 pins of single-chip microcomputer, and 6 pins of P0 mouth pull-up resistors connect 35 pins of single-chip microcomputer, and the pin of P0 mouths pull-up resistor 7 connects 34 pins of single-chip microcomputer, 8 pins of P0 mouth pull-up resistors connect 33 pins of single-chip microcomputer, 9 pin order pieces of P0 mouth pull-up resistors 32 pins of machine, X1 connects 19 pins of single-chip microcomputer in clock circuit, and X2 connects 18 pins of single-chip microcomputer, and MCURST connects in reset circuit 9 pins of single-chip microcomputer, single-chip minimum system(5)In single-chip microcomputer internal storage men and women height and body weight relational expression, monolithic Machine minimum system(5)Output signal controls the first indicator lamp(6), the second indicator lamp(7), the 3rd indicator lamp(8), the 4th indicator lamp (9)Or the 5th indicator lamp(10)In one light;
Described power supply(11)For 5 volts of dc sources, its positive pole connects single-chip minimum system(5)40 pins of middle single-chip microcomputer, bear Pole connects single-chip minimum system(5)20 pins of middle single-chip microcomputer;
Described men and women's select button(12)One end connects power supply(11)Negative pole, the other end connection single-chip minimum system(5) 25 pins of middle single-chip microcomputer;
Described pressure sensor module(2)Including pressure sensor, amplifier and A/D converter, pressure sensor module(2) External 4 pins, are power Vcc respectively, clock SCK, data output DT, ground GND, and this 4 pins are inserted on row-needle receptacle with drawing Line is drawn, and wherein power Vcc connects single-chip minimum system(5)40 pins of middle single-chip microcomputer, clock SCK connect single-chip minimum system (5)26 pins of middle single-chip microcomputer, data output DT connect single-chip minimum system(5)27 pins of middle single-chip microcomputer, ground GND order pieces Machine minimum system(5)20 pins of middle single-chip microcomputer;
Described ultrasonic sensor modules(4)External 4 pins, it is power supply VCC, ground GND, data signal DO respectively, simulates Signal AO, its power supply VCC, GND connect power supply respectively(11)Both positive and negative polarity, it is minimum that its analog signal AO exported is sent into single-chip microcomputer System(5)28 pins of middle single-chip microcomputer, its data signal DO pins are not connected to;
The first described indicator lamp(6)Negative pole connect 470 Europe resistance be followed by single-chip minimum system(5)Middle single-chip microcomputer 20 pins, the first indicator lamp(6)Positive pole connect single-chip minimum system(5)39 pins of middle single-chip microcomputer;
The second described indicator lamp(7)Negative pole connect 470 Europe resistance be followed by single-chip minimum system(5)Middle single-chip microcomputer 20 pins, the second indicator lamp(7)Positive pole connect single-chip minimum system(5)39 pins of middle single-chip microcomputer;
The 3rd described indicator lamp(8)Negative pole connect 470 Europe resistance be followed by single-chip minimum system(5)Middle single-chip microcomputer 20 pins, the 3rd indicator lamp(8)Positive pole connect single-chip minimum system(5)39 pins of middle single-chip microcomputer;
The 4th described indicator lamp(9)Negative pole connect 470 Europe resistance be followed by single-chip minimum system(5)Middle single-chip microcomputer 20 pins, the 4th indicator lamp(9)Positive pole connect single-chip minimum system(5)39 pins of middle single-chip microcomputer;
The 5th described indicator lamp(10)Negative pole connect 470 Europe resistance be followed by single-chip minimum system(5)Middle monolithic 20 pins of machine, the 5th indicator lamp(10)Positive pole connect single-chip minimum system(5)39 pins of middle single-chip microcomputer.
CN201720427778.XU 2017-04-22 2017-04-22 Entertaining height and weight scale Expired - Fee Related CN206740228U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720427778.XU CN206740228U (en) 2017-04-22 2017-04-22 Entertaining height and weight scale

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720427778.XU CN206740228U (en) 2017-04-22 2017-04-22 Entertaining height and weight scale

Publications (1)

Publication Number Publication Date
CN206740228U true CN206740228U (en) 2017-12-12

Family

ID=60561551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720427778.XU Expired - Fee Related CN206740228U (en) 2017-04-22 2017-04-22 Entertaining height and weight scale

Country Status (1)

Country Link
CN (1) CN206740228U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106932073A (en) * 2017-04-22 2017-07-07 赤峰学院 The fat or thin height and weight scale of human body

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106932073A (en) * 2017-04-22 2017-07-07 赤峰学院 The fat or thin height and weight scale of human body

Similar Documents

Publication Publication Date Title
CN202974544U (en) Portable digital barometer
CN201210243Y (en) Socket
CN206979476U (en) Body temperature measuring equipment
CN206740228U (en) Entertaining height and weight scale
CN203100841U (en) Electronic weighing apparatus
CN103932685A (en) Sensor for detecting rhythmical vibration of human body
CN106932073A (en) The fat or thin height and weight scale of human body
CN204596285U (en) A kind of sensor experiment case
CN202821314U (en) Intelligent human health manager
CN202209993U (en) Warehouse humiture monitoring alarm device
CN201464117U (en) Electronic oil pressure sensor
CN203815439U (en) Sensor used for detecting rhythm vibration of human body
CN201096553Y (en) Ultrasonic heat meter
CN102435326A (en) Temperature meter
CN201522356U (en) Aircraft engine alternating current supply pressure sensor calibrating device
CN200953018Y (en) Humanbody local clothes pressure testing device
CN102980848A (en) Electronic tooth type rapid measuring method of frozen grain moisture
CN203642997U (en) Ultrasonic liquid level measurement device for liquefied gas steel cylinder
CN210775318U (en) Flexible three-electrode sodium ion detection device
CN102847287B (en) Basketball training device
CN202854215U (en) Inductive test pencil based on six-inverter integrated circuit
CN206804120U (en) A kind of accurate electronic scale device of intelligent portable
CN203163890U (en) Intelligent thermometer
CN204439268U (en) A kind of Micro Energy Lose digital pressure gauge
CN104655353A (en) Micro power digital pressure gauge and pressure measuring method

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171212

Termination date: 20180422