技术领域technical field
本发明涉及了一种基于蓝牙的新型无线水平测量仪,属于无线测量领域。The invention relates to a novel wireless level measuring instrument based on bluetooth, which belongs to the field of wireless measurement.
背景技术Background technique
随着科技的日益发展,在设备安装,道路桥梁建设,机器人控制,飞机姿势控制等领域都需要使用高精度的水平测量仪,对于一些大型桥梁和高层建筑的建设安全问题,无线水平测量仪的研制显得更加的迫切。With the increasing development of science and technology, high-precision level measuring instruments are required in the fields of equipment installation, road and bridge construction, robot control, aircraft attitude control, etc. For the construction safety of some large bridges and high-rise buildings, wireless level measuring instruments The development becomes more urgent.
在科研和工程施工场合中,需要对设备进行水平调节,当要求精度较高或者整个平台体积庞大,仅靠肉眼和一般普通测量方法难以实现。In scientific research and engineering construction occasions, it is necessary to adjust the level of the equipment. When high precision is required or the entire platform is bulky, it is difficult to achieve it with the naked eye and ordinary measurement methods.
市面上的高精度水平测量设备大多体积较大,成本较高,而且测量方式都是有线方式,需要在被测物的各个不同部位安装线路,这种有线测量系统会在实施时加大工程的复杂性;目前国内常见的水平仪有气泡水平仪,电感式和电容式水平仪;这三种仪器测量精度较低,实时性差,抗冲击性差,仅适合低端场合;高端场合有激光水平仪,其造价非常高昂。Most of the high-precision level measuring equipment on the market is large in size and high in cost, and the measurement methods are all wired. It is necessary to install lines in different parts of the measured object. This wired measurement system will increase the engineering effort during implementation. Complexity; at present, the common levels in China include bubble levels, inductive and capacitive levels; these three instruments have low measurement accuracy, poor real-time performance, and poor impact resistance, and are only suitable for low-end occasions; there are laser levels for high-end occasions, and their cost is very high. high.
发明内容Contents of the invention
针对现有水平测量仪精度不高,高精度测量仪价格又较高,有线水平测量仪维护困难的缺陷,申请人经过研究改进,提供一种基于蓝牙的新型无线水平测量仪,解决目前技术中存在的上述缺陷。Aiming at the defects of low precision of existing level measuring instruments, high price of high-precision measuring instruments, and difficult maintenance of wired level measuring instruments, the applicant provides a new type of wireless level measuring instrument based on Bluetooth to solve the problems in the current technology through research and improvement. The above-mentioned defects that exist.
本发明的技术方案如下:Technical scheme of the present invention is as follows:
本发明所设计的一种基于蓝牙的新型无线水平测量仪,由测量单元和接收单元组成,测量单元作为数据采集单元,通过固定在被测物体上,可以测出当前的被测物体的水平倾角;本发明所涉及的一种基于蓝牙的新型无线水平测量仪,测量单元将采集到的数据通过无线蓝牙的方式发送到接收单元中,接收单元接收到数据,处理后在LCD显示模块上显示;本发明所涉及的一种基于蓝牙的新型无线水平测量仪,测量单元和接收单元中的蓝牙通信模块与单片机控制模块通过SPI接口连接。A new bluetooth-based wireless level measuring instrument designed by the present invention is composed of a measuring unit and a receiving unit. The measuring unit is used as a data acquisition unit, and can measure the current horizontal inclination of the measured object by fixing it on the measured object. ; The present invention relates to a novel wireless level measuring instrument based on bluetooth, the measuring unit sends the collected data to the receiving unit through wireless bluetooth, the receiving unit receives the data, and displays it on the LCD display module after processing; In the novel wireless level measuring instrument based on bluetooth involved in the present invention, the bluetooth communication module in the measuring unit and the receiving unit is connected with the single-chip microcomputer control module through the SPI interface.
本发明所设计的一种基于蓝牙的新型无线水平测量仪,包括测量单元和接收单元,所述的测量单元包括太阳能电池模块,控制器,小型蓄电池,SCA100T倾角传感器,单片机控制模块,LCD显示模块,蓝牙通信模块;所述的接收单元包括蓝牙通信模块,单片机控制模块,按键模块,LCD显示模块,电源模块和串口通信模块;测量单元和接收单元通过无线的方式通信。A new bluetooth-based wireless level measuring instrument designed by the present invention includes a measuring unit and a receiving unit, and the measuring unit includes a solar cell module, a controller, a small battery, an SCA100T inclination sensor, a single-chip microcomputer control module, and an LCD display module , a bluetooth communication module; the receiving unit includes a bluetooth communication module, a single-chip microcomputer control module, a key module, an LCD display module, a power supply module and a serial communication module; the measuring unit communicates with the receiving unit in a wireless manner.
所述的测量单元中的太阳能电池模块,控制器,小型蓄电池构成测量单元的电源管理模块,内部采用ASM1117芯片将小型蓄电池的输出电压转换为3.3V电源,为测量单元中的SCA100T倾角传感器,单片机控制模块,LCD显示模块,蓝牙通信模块供电。The solar cell module in the measuring unit, the controller, and the small battery form the power management module of the measuring unit, and the ASM1117 chip is used inside to convert the output voltage of the small battery into a 3.3V power supply, which is the SCA100T inclination sensor in the measuring unit, and a single-chip microcomputer Control module, LCD display module, Bluetooth communication module power supply.
所述的接收单元中的电源管理模块是由3节普通干电池串联而成的4.5V的电源,再经过ASM1117芯片将4.5V的电压转换为3.3V,为接收单元中的单片机控制模块,LCD显示模块,蓝牙通信模块供电。The power management module in the receiving unit is a 4.5V power supply formed by 3 ordinary dry batteries in series, and then the ASM1117 chip converts the 4.5V voltage to 3.3V, which is the single-chip microcomputer control module in the receiving unit, and the LCD display Module, Bluetooth communication module power supply.
所述的接收单元中的LCD显示模块采用深圳市上线科技有限公司生产的2.4寸TFT显示屏,能够方便实时显示当前被测物体的水平倾角值The LCD display module in the receiving unit adopts a 2.4-inch TFT display screen produced by Shenzhen Shangxian Technology Co., Ltd., which can conveniently display the horizontal inclination value of the current measured object in real time
所述的测量单元中的SCA100T倾角传感器采用芬兰VTI Technologies公司的SCA100T系列中的SCA100T-D01,具有测量范围广,测量精度高,集成度高,响应速度快,抗干扰性强的特点。The SCA100T inclination sensor in the measurement unit adopts SCA100T-D01 in the SCA100T series of VTI Technologies of Finland, which has the characteristics of wide measurement range, high measurement accuracy, high integration, fast response speed and strong anti-interference.
所述的测量单元和接收单元中的蓝牙通信模块选用的是意法半导体(ST)公司的BlueNRG通信芯片,这是一款拥有业界最高能效的4.0低功耗单模芯片,其功耗只有传统Bluetooth的十分之一。The Bluetooth communication module in the measurement unit and the receiving unit is the BlueNRG communication chip of STMicroelectronics (ST), which is a chip with the highest energy efficiency in the industry. 4.0 low-power single-mode chip, its power consumption is only one-tenth of traditional Bluetooth.
本发明的有益技术效果是:The beneficial technical effect of the present invention is:
(1)所述一种基于蓝牙的新型无线水平测量仪,测量单元通过无线方式将被测数据传输到接收单元,避免了传统有线测量布线不便的问题。(1) In the new Bluetooth-based wireless level measuring instrument, the measuring unit transmits the measured data to the receiving unit wirelessly, which avoids the problem of inconvenient wiring for traditional wired measurement.
(2)所述一种基于蓝牙的新型无线水平测量仪,水平倾角测量采用SCA100T-D01双轴倾角传感器,可以输出数字量,与单片机控制模块直接匹配,采集速度快,实时性高。(2) The new Bluetooth-based wireless level measuring instrument adopts the SCA100T-D01 dual-axis inclination sensor for horizontal inclination measurement, which can output digital quantities, directly matches with the single-chip microcomputer control module, and has fast acquisition speed and high real-time performance.
(3)所述一种基于蓝牙的新型无线水平测量仪,测量单元具有LCD显示模块,可以实时显示被测物体的水平倾角度数,方便快捷。(3) In the novel wireless level measuring instrument based on bluetooth, the measurement unit has an LCD display module, which can display the horizontal inclination angle of the measured object in real time, which is convenient and quick.
(4)所述一种基于蓝牙的新型无线水平测量仪,结构简单,可以将各个模块集成在一块PCB板上,功耗小,操作方便。(4) The novel wireless level measuring instrument based on bluetooth has a simple structure, can integrate each module on a PCB board, has low power consumption, and is easy to operate.
附图说明Description of drawings
图1是本发明功能模块示意图。Fig. 1 is a schematic diagram of the functional modules of the present invention.
图2是本发明蓝牙通信模块电路图。Fig. 2 is a circuit diagram of the Bluetooth communication module of the present invention.
图3是本发明贴片式主控芯片STM32F411最小系统图。Fig. 3 is a minimum system diagram of the STM32F411 SMD main control chip of the present invention.
图4是本发明双轴倾角传感器SCA100T电路图。Fig. 4 is a circuit diagram of the dual-axis inclination sensor SCA100T of the present invention.
图5是本发明测量单元中的电源模块电路图Fig. 5 is the circuit diagram of the power supply module in the measuring unit of the present invention
图6是本发明LCD显示模块电路图。Fig. 6 is a circuit diagram of the LCD display module of the present invention.
图7是本发明接收单元按键模块电路图。Fig. 7 is a circuit diagram of the button module of the receiving unit of the present invention.
图8是本发明接收单元串口通信电路图。Fig. 8 is a circuit diagram of the serial port communication of the receiving unit of the present invention.
具体实施方式detailed description
下面结合附图对本发明的具体实施方式做进一步说明。The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
如图1所示,一种基于蓝牙的新型无线水平测量仪功能模块示意图,包括测量单元和接收单元。所述的接收单元包括了太阳能电池模块,控制器,小型蓄电池,SCA100T倾角传感器,LCD显示模块,单片机控制模块,蓝牙通信模块;所述的接收单元包括单片机控制模块,蓝牙通信模块,按键模块,LCD显示模块,串口通信模块和电源模块。在测量单元中,太阳能电池模块在光照下会产生光生电流,电流通过导线流入到控制器中,经过控制器的调整与控制,再经过导线流入到小型蓄电池中进行储存。单片机控制模块和LCD显示模块,SCA100T倾角传感器以及蓝牙通信模块之间是通过导线连接。As shown in Figure 1, a schematic diagram of the functional module of a new wireless level measuring instrument based on Bluetooth, including a measuring unit and a receiving unit. The receiving unit includes a solar cell module, a controller, a small battery, an SCA100T inclination sensor, an LCD display module, a single-chip microcomputer control module, and a Bluetooth communication module; the receiving unit includes a single-chip microcomputer control module, a Bluetooth communication module, and a button module, LCD display module, serial port communication module and power supply module. In the measurement unit, the solar cell module will generate photoelectric current under the light, and the current flows into the controller through the wire, and after the adjustment and control of the controller, it flows into the small battery through the wire for storage. The single-chip microcomputer control module and the LCD display module, the SCA100T inclination sensor and the Bluetooth communication module are connected by wires.
如图2所示,蓝牙芯片是通过SPI协议与单片机控制模块通信的,SPI接口即通过图中的1号脚(SPI_MOSI),2号脚(SPI_CLK),31号脚(SPI_CS),32号脚(SPI_MISO),图中的VDD是3.3V的供电电源,图中的C1,C2,C3,C4,C5,C6,C7,C8,C13,C14,C18,C19是滤波电容,滤除一些高频和低频干扰。图中的C9,C10是Y1晶振的匹配电容。图中的C11,C12是Y2晶振的匹配电容。图中的天线采用的是PCB印刷天线。As shown in Figure 2, the Bluetooth chip communicates with the MCU control module through the SPI protocol. The SPI interface passes through the pins 1 (SPI_MOSI), 2 (SPI_CLK), 31 (SPI_CS) and 32 in the figure. (SPI_MISO), VDD in the figure is a 3.3V power supply, and C1, C2, C3, C4, C5, C6, C7, C8, C13, C14, C18, and C19 in the figure are filter capacitors to filter out some high frequencies and low frequency interference. C9 and C10 in the figure are the matching capacitors of the Y1 crystal oscillator. C11 and C12 in the figure are the matching capacitors of the Y2 crystal oscillator. The antenna in the picture uses a PCB printed antenna.
如图3所示,贴片式主控芯片STM32F411最小系统图包括电源部分,晶振电路和复位电路,其中3.3V的电源由电源模块供给。复位电路3.3V的电源接到开关S3一端,S3另一端接R3的一段,R3的另一端接地。单片机的3,4号管脚分别接在晶振Y1的两端,同时Y1的另外两端分别接在C4和C5的一端。单片机的5,6号管脚分别接在晶振Y2的两端,同时Y2的另外两端分别接在C6,C7的一端。晶振电路Y1,C4,C5和地(DGND)构成低速时钟,晶振电路Y2,C6,C7和地(DGND)构成高速时钟。As shown in Figure 3, the minimum system diagram of STM32F411 SMD main control chip includes the power supply part, crystal oscillator circuit and reset circuit, and the 3.3V power supply is supplied by the power module. The 3.3V power supply of the reset circuit is connected to one end of switch S3, the other end of S3 is connected to a section of R3, and the other end of R3 is grounded. Pins 3 and 4 of the microcontroller are respectively connected to the two ends of the crystal oscillator Y1, while the other two ends of Y1 are respectively connected to one end of C4 and C5. Pins 5 and 6 of the microcontroller are respectively connected to the two ends of the crystal oscillator Y2, and the other two ends of Y2 are respectively connected to one end of C6 and C7. Crystal oscillator circuits Y1, C4, C5 and ground (DGND) form a low-speed clock, and crystal oscillator circuits Y2, C6, C7 and ground (DGND) form a high-speed clock.
如图4所示,双轴倾角传感器SCA100T是通过1号脚(SCK),3号脚(MISO),4号脚(MOSI),7号脚(CS)与单片机控制模块通信的,图中的R1和C2构成一个低通滤波器,滤除杂波干扰。图中的R2和C3构成一个低通滤波器,滤除杂波干扰。图中的VDD是3.3V的供电电源,C1是电源的滤波电容。As shown in Figure 4, the dual-axis inclination sensor SCA100T communicates with the MCU control module through pin 1 (SCK), pin 3 (MISO), pin 4 (MOSI), and pin 7 (CS). R1 and C2 form a low-pass filter to filter out clutter interference. R2 and C3 in the figure form a low-pass filter to filter out clutter interference. VDD in the figure is the power supply of 3.3V, and C1 is the filter capacitor of the power supply.
如图5所示,测量单元的电源模块,图中的C1是电源输入滤波电容,C2是电压输出滤波电容,小型蓄电池的电压一般在3V~4.5V左右,经过ASM1117芯片后转换为3.3V电源。As shown in Figure 5, the power supply module of the measurement unit, C1 in the figure is the power input filter capacitor, C2 is the voltage output filter capacitor, the voltage of the small battery is generally about 3V ~ 4.5V, after passing through the ASM1117 chip, it is converted into a 3.3V power supply .
如图6所示,测量单元和接收单元中的LCD显示模块采用的是TFT屏幕,TFT显示屏幕采用SPI接口与单片机控制模块连接,即通过图中的12脚(LCD_CS),9脚(LCD_SCK),8脚(LCD_MISO),图中的6号脚是TFT显示屏幕的复位脚,11号脚和10号脚是TFT显示屏幕的电源脚,图中的4号和3号脚是TFT显示屏幕的亮度调节管脚。As shown in Figure 6, the LCD display module in the measurement unit and the receiving unit uses a TFT screen, and the TFT display screen uses an SPI interface to connect with the microcontroller control module, that is, through the 12 pins (LCD_CS) and 9 pins (LCD_SCK) in the figure. , 8 pins (LCD_MISO), pin 6 in the figure is the reset pin of the TFT display screen, pin 11 and pin 10 are the power pins of the TFT display screen, pin 4 and pin 3 in the figure are the power pins of the TFT display screen Brightness adjustment pin.
如图7所示,接收单元的按键模块电路,图中的S1,S2,S3,S4是开关,当开关没有按下的时候,单片机控制模块检测到的是高电平,当开关按下的时候,单片机检测到的是低电平,图中的R1,R2,R3,R4是分压电阻,起到保护电路的作用,C1,C2,C3,C4是电容,可以起到开关防抖动作用。As shown in Figure 7, the key module circuit of the receiving unit, S1, S2, S3, and S4 in the figure are switches. When the switch is not pressed, the single-chip control module detects a high level. When the switch is pressed At this time, the microcontroller detects a low level. R1, R2, R3, and R4 in the figure are voltage divider resistors, which play the role of protecting the circuit, and C1, C2, C3, and C4 are capacitors, which can play a switch anti-shake action. use.
如图8所示,接收单元串口通信芯片采用MAX232芯片,将单片机控制模块输出的TTL电平转变成232电平,与电脑的串口通信。As shown in Figure 8, the serial port communication chip of the receiving unit adopts MAX232 chip, which converts the TTL level output by the single-chip control module to 232 level, and communicates with the serial port of the computer.
以上所述的仅是本发明的优选实施方式,本发明不限于以上实施例。可以理解,本领域技术人员在不脱离本发明的基本构思的前提下直接导出或联想到的其他改进和变化,均应认为包含在本发明的保护范围之内。What is described above is only a preferred embodiment of the present invention, and the present invention is not limited to the above examples. It can be understood that other improvements and changes directly derived or conceived by those skilled in the art without departing from the basic idea of the present invention shall be considered to be included in the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610563491.XACN106052642A (en) | 2016-07-16 | 2016-07-16 | Novel Bluetooth-based wireless level gauge |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610563491.XACN106052642A (en) | 2016-07-16 | 2016-07-16 | Novel Bluetooth-based wireless level gauge |
| Publication Number | Publication Date |
|---|---|
| CN106052642Atrue CN106052642A (en) | 2016-10-26 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610563491.XAPendingCN106052642A (en) | 2016-07-16 | 2016-07-16 | Novel Bluetooth-based wireless level gauge |
| Country | Link |
|---|---|
| CN (1) | CN106052642A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201413141Y (en)* | 2009-06-10 | 2010-02-24 | 中国矿业大学 | On-line monitoring and early warning system for tower inclination of high-voltage transmission lines |
| CN202956104U (en)* | 2012-08-23 | 2013-05-29 | 北京国网富达科技发展有限责任公司 | A transmission line tower tilt monitoring system |
| US20130315038A1 (en)* | 2010-08-27 | 2013-11-28 | Bran Ferren | Techniques for acoustic management of entertainment devices and systems |
| CN203479299U (en)* | 2013-09-27 | 2014-03-12 | 陕西理工学院 | Novel wireless dip angle measurement device |
| CN203704915U (en)* | 2014-01-28 | 2014-07-09 | 南京信息工程大学 | Digital wireless inclination angle measuring instrument |
| CN205177126U (en)* | 2014-10-08 | 2016-04-20 | 上海科斗电子科技有限公司 | Sensor data centralized management device and its application |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201413141Y (en)* | 2009-06-10 | 2010-02-24 | 中国矿业大学 | On-line monitoring and early warning system for tower inclination of high-voltage transmission lines |
| US20130315038A1 (en)* | 2010-08-27 | 2013-11-28 | Bran Ferren | Techniques for acoustic management of entertainment devices and systems |
| CN202956104U (en)* | 2012-08-23 | 2013-05-29 | 北京国网富达科技发展有限责任公司 | A transmission line tower tilt monitoring system |
| CN203479299U (en)* | 2013-09-27 | 2014-03-12 | 陕西理工学院 | Novel wireless dip angle measurement device |
| CN203704915U (en)* | 2014-01-28 | 2014-07-09 | 南京信息工程大学 | Digital wireless inclination angle measuring instrument |
| CN205177126U (en)* | 2014-10-08 | 2016-04-20 | 上海科斗电子科技有限公司 | Sensor data centralized management device and its application |
| Publication | Publication Date | Title |
|---|---|---|
| CN102645293A (en) | Intelligent pressure transmitter | |
| CN103383410A (en) | Multifunctional power meter | |
| CN113238081A (en) | Intelligent electric meter terminal | |
| CN208754558U (en) | A monitoring system for the preservation of cultural relics based on the Internet of Things | |
| CN204177861U (en) | A kind of precisely numerical monitor ac millivoltmeter | |
| CN206321240U (en) | A kind of wireless horizontal measuring instrument of Novel portable | |
| CN202676932U (en) | Multi-channel meteorological observation device | |
| CN204666140U (en) | A kind of laser digital display type horizontal checkout instrument | |
| CN106052642A (en) | Novel Bluetooth-based wireless level gauge | |
| CN204142241U (en) | New Image spirit-leveling instrument | |
| CN207231496U (en) | A kind of outdoor mobile robot combined navigation device | |
| CN202836816U (en) | Multipoint temperature measurement circuit | |
| CN202255275U (en) | Portable strain measuring instrument | |
| CN202648657U (en) | House clinometer based on ZigBee technology | |
| CN206524981U (en) | A kind of indoor positioning monitoring system based on Zigbee | |
| CN205718833U (en) | A kind of Structural Engineering safety automation monitoring system | |
| CN206019666U (en) | A kind of Multifunction code table system | |
| CN206132800U (en) | Regional interior multiple spot wind speed measurement system of high accuracy | |
| CN214309122U (en) | Multi-direction illuminance measuring device and detection circuit thereof | |
| CN219532132U (en) | Wireless temperature and humidity measurement and transmission module | |
| CN204027554U (en) | For measuring the device of the height of tree | |
| CN206470553U (en) | Boiler feed controller in a kind of Thermal Power Station | |
| CN206787604U (en) | A kind of environmental information detection system based on radio communication | |
| CN219871829U (en) | Portable meteorological data monitoring system | |
| CN206490875U (en) | A kind of photoelectric detection system |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | Application publication date:20161026 | |
| WD01 | Invention patent application deemed withdrawn after publication |