Dice with six display screens and intelligent control method thereof

文档序号:1441402 发布日期:2020-02-18 浏览:25次 中文

阅读说明:本技术 一种六面显示屏骰子及其智能控制方法 (Dice with six display screens and intelligent control method thereof ) 是由 李德文 陈明杰 于 2019-11-06 设计创作,主要内容包括:本发明公开了一种六面显示屏骰子,包括骰体,骰体内设置有电路板,骰体六个面设置有液晶触摸屏,电路板上设置有电源模块、电容式点动型触摸开关模块、陀螺仪、蓝牙模块和光照传感器模块,本发明还公开了一种智能控制方法;1)首先利用人体触摸电路接收人体触摸信号,经过数据处理放大后发送至控制模块;2)控制模块从低功耗状态进入正常工作状态,通过光亮模块确定显示亮度;3)通过蓝牙模块接收6面显示配置内容;4)通过陀螺仪模块确定当前骰子正面,从而实现针对不同的环境亮度,不同的使用场景,骰子可以配置不同显示内容,并高亮或闪烁显示骰子正面的目标;本发明可以根据不同的使用场景,提高骰子的使用性乐趣。(The invention discloses a six-face display screen dice, which comprises a dice body, wherein a circuit board is arranged in the dice body, liquid crystal touch screens are arranged on six faces of the dice body, and a power supply module, a capacitive inching touch switch module, a gyroscope, a Bluetooth module and an illumination sensor module are arranged on the circuit board; 1) firstly, a human body touch circuit is used for receiving a human body touch signal, and the human body touch signal is sent to a control module after being processed and amplified by data; 2) the control module enters a normal working state from a low power consumption state, and the display brightness is determined through the brightness module; 3) receiving 6-side display configuration contents through a Bluetooth module; 4) the front of the current dice is determined through the gyroscope module, so that the dice can be configured with different display contents according to different ambient brightness and different use scenes, and the targets of the front of the dice are highlighted or twinkled; the invention can improve the usability pleasure of the dice according to different use scenes.)

1. A six-face display screen dice comprises a dice body and is characterized in that: the LED dice comprises a dice body and is characterized in that a circuit board is arranged in the dice body, liquid crystal touch screens connected with the circuit board are arranged on six faces of the dice body, and a power module, a capacitive touch switch module, a gyroscope, a Bluetooth module and an illumination sensor module are arranged on the circuit board.

2. A six-sided display die as recited in claim 1, wherein: the power module sets up to wireless power supply, capacitanc point-type touch switch module includes TTP223B touch chip, the gyroscope sets up to MPU-6050 module triaxial gyroscope, the bluetooth module includes NRF51822 bluetooth chip, the illumination sensor module sets up to BH1750FVI sensor.

3. A six-sided display die as claimed in claim 1 or 2, wherein: the die structure is characterized in that a cavity for accommodating the circuit board is formed in the die body, a support for fixing the circuit board is arranged on the side wall of the cavity, a die cover communicated with the cavity is detachably connected to the top of the die body, a clamping groove for fixing the die cover is formed in the inner wall of the upper portion of the cavity, openings are formed in the four sides, the bottom and the middle of the upper surface of the die cover around the die body, a mounting groove is formed in the inner wall of the bottom of each opening, the liquid crystal touch screen is mounted in the mounting groove, and a flat cable for electric connection is arranged between the liquid crystal touch.

4. A six-sided display die as recited in claim 3, wherein: the liquid crystal display device is characterized in that the upper ends of mounting grooves on the four sides around the dice body are communicated with the dice cover, the bottom surface of the dice body and a mounting groove I on the dice cover are communicated with a cavity, a mounting groove II is formed in the bottom surface of the dice body and the dice cover close to the mounting groove I, a pressing plate used for fixing a liquid crystal touch screen is arranged in the mounting groove II, and cable mounting holes are formed in the periphery of the cavity and the upper pressing plate and the lower pressing plate.

5. An intelligent control method using dice with six display screens according to any one of claims 1 to 4, characterized in that: the method comprises the following steps:

1) firstly, a human body touch circuit is used for receiving a human body touch signal, and the human body touch signal is sent to a control module after being processed and amplified by data;

2) the control module enters a normal working state from a low power consumption state, and the display brightness is determined through the brightness module;

3) receiving 6-side display configuration contents through a Bluetooth module;

4) the front of the current dice is determined through the gyroscope module, so that the dice can be configured with different display contents according to different ambient brightness and different use scenes, and the targets of the front of the dice are highlighted or twinkled.

6. A six-face display screen dice intelligent control method according to claim 5, characterized in that: in step 1), the control module receives a human touch signal received by the human touch circuit, and according to the sensitivity calculated by the human touch detection circuit, the calculation formula of the generated inductive capacitance is as follows:

Figure FDA0002261983830000011

wherein, A represents the size of the area of the touch key, d is the distance between the touch key and the ground plane and is the dielectric constant;

the induction capacitor is connected in parallel with the capacitor Cs in the power circuit, and after the finger touches or approaches the key, the change rate of the total capacitor is

C%=((Cs+Cf)-Cs)/Cs=Cf/Cs (2)

The resistor network connected with the comparator provides reference voltage for the comparator, and the reference voltage receives excitation fed back by the output of the comparator, and the value of the reference voltage repeatedly changes between 1/3Vcc and 2/3 Vcc; causing the relaxation oscillator to oscillate continuously, the oscillation frequency can be calculated by the following formula:

Figure FDA0002261983830000021

after the finger contacts or approaches the touch key, the value of Csensor is changed, and fosc is changed; the reciprocal of the frequency is the period, the value of the rising edge or the falling edge is calculated in a fixed time, the number has a large change at a certain moment, and the key is determined to be touched, wherein the Cs value range is 0-50 pF.

7. The intelligent control method for dice with six-sided display screens of claim 5, characterized in that: in the step 2), a human body touch signal is detected through a capacitive touch switch module of the touch detection IC; under a normal state, the module outputs a low level, and the mode is a low power consumption mode; when a finger touches a corresponding position, the module outputs a high level, and the mode is switched to a fast mode; when no touch lasts for 12 seconds, the mode is switched to a low power consumption mode; after detecting the high level, the main control chip enters a normal working mode; before no human touch signal is detected, the whole control circuit is in a low power consumption state.

8. The intelligent control method for dice with six-sided display screens of claim 5, characterized in that: in step 3), Bluetooth communication is established with the mobile phone through the Bluetooth module, after the communication is established, the mobile phone APP can set 6 characters and patterns which are respectively displayed, the contents are transmitted to the dice through a Bluetooth protocol, and the characters and patterns are respectively displayed on 6 sides of the dice.

9. The intelligent control method for dice with six-sided display screens of claim 5, characterized in that: in the step 4), the method automatically detects the acceleration and the gyroscope angle through the gyroscope module, when the acceleration is static, the upward surface can be automatically calculated according to an angle calculation formula, and the brightness of the liquid crystal of the surface is adjusted through the CPU to present a highlight or flickering state.

10. The intelligent control method for dice with six-sided display screens of claim 5, characterized in that: in the step 4), when the 6-side liquid crystal touch screen is not lighted, the illumination sensor module detects the ambient illumination brightness, the IIC communication protocol is utilized to transmit a brightness signal to the IO interface, and the CPU controls the liquid crystal display brightness of the 6 sides after calculation.

Technical Field

The invention belongs to the technical field of dice, and particularly relates to a dice with six-face display screens and an intelligent control method.

Background

Dice is a common tool for family, bar, KTV and friend party entertainment, and is a durable traditional entertainment game tool which can be seen anywhere in public entertainment occasions. However, the existing dice are all simple cubic structures, wherein 6 faces of the dice are respectively engraved with different numbers of color points which represent numbers from '1' to '6', and six faces of part of dice are engraved with or printed with fixed characters, and the existing dice have the disadvantages that:

the traditional dice display method is mainly an external light illumination method, and provides proper illumination intensity through external light such as electric lamps, electric torches, lighters, candles and other external illumination equipment so as to be convenient for a user to use under dark conditions, but the method is limited by external illumination conditions, and a fire disaster is easily caused by using candlelight;

and secondly, the dice display content is fixed, the dice content cannot be changed at will, and the use scene is limited. At present, the traditional method for controlling the content of the dice is mainly a fixed content control method. The principle of the method is to print different text patterns in advance and provide the different text patterns for the customer to choose. However, the method cannot overcome the defect of fixed text and pattern contents caused by the design of the dice, and cannot fundamentally solve the problem that the contents of the dice can be intelligently controlled and flexibly configured. In addition, because the blindness is high when the characters and patterns are selected, dices with different contents are generally required to be purchased in advance, so that the cost for purchasing the dices in an entertainment place is greatly increased, the equipment experience is poor, and the profit is greatly reduced;

thirdly, the selected surface (with the right side facing upwards) of the dice after rolling can not be intelligently highlighted or flashed, and can not form effective optical display contrast with other surfaces; the dice has single content and the traditional display means, so the dice has low entertainment and lacks of science and technology when in use.

Disclosure of Invention

In view of the above, the present invention provides a six-sided display dice and a classification method, where the six-sided display dice can flexibly configure 6 text patterns to be displayed in a mobile applet or APP according to different usage scenarios in a mobile phone bluetooth communication manner; when the dice is designed, the human body digital touch sensor is used for sensing a human body signal, the six liquid crystal display screens are automatically lightened according to the ambient illumination intensity, the gyroscope is used for automatically detecting the selected content, the character patterns are highlighted or flicked to be selected and displayed after the content is processed by the central control CPU, and the usability enjoyment of the dice is greatly improved.

In order to achieve the purpose, the dice with six display screens comprises a dice body, wherein a circuit board is arranged in the dice body, liquid crystal touch screens connected with the circuit board are arranged on six faces of the dice body, and a power supply module, a capacitive touch switch module, a gyroscope, a Bluetooth module and an illumination sensor module are arranged on the circuit board.

Further, the power module is set as a wireless power supply, the capacitive touch switch module comprises a TTP223B touch chip, the gyroscope is set as an MPU-6050 module triaxial gyroscope, the Bluetooth module comprises an NRF51822 Bluetooth chip, and the illumination sensor module is set as a BH1750FVI sensor.

Further, a cavity for accommodating the circuit board is formed in the dice body, a support for fixing the circuit board is arranged on the side wall of the cavity, a dice cover communicated with the cavity is detachably connected to the top of the dice body, a clamping groove for fixing the dice cover is formed in the inner wall of the upper portion of the cavity, openings are formed in the four sides, the bottom and the middle of the upper surface of the dice cover around the dice body, a mounting groove is formed in the inner wall of the bottom of each opening, the liquid crystal touch screen is mounted in the mounting groove, and flat cables for electric connection are arranged between the liquid crystal touch screen and the circuit board.

Further, the upper ends of mounting grooves on the four sides around the dice body are communicated with the dice cover, the bottom surface of the dice body and a mounting groove I on the dice cover are communicated with the cavity, a mounting groove II is formed in the bottom surface of the dice body and the dice cover close to the mounting groove I, a pressing plate used for fixing a liquid crystal touch screen is arranged in the mounting groove II, and wire arranging mounting holes are formed in the periphery of the cavity and the upper pressing plate and the lower pressing plate.

The invention also discloses a six-face display screen dice intelligent control method, which comprises the following steps:

1) firstly, a human body touch circuit is used for receiving a human body touch signal, the human body touch signal is sent to a control module after being processed and amplified by data,

2) the control module enters a normal working state from a low power consumption state, and the display brightness is determined through the brightness module;

3) receiving 6-sided display configuration contents through the bluetooth module,

4) the front of the current dice is determined through the gyroscope module, so that the dice can be configured with different display contents according to different ambient brightness and different use scenes, and the targets of the front of the dice are highlighted or twinkled.

Further, in step 1), the control module receives a human touch signal received by the human touch circuit, and according to the sensitivity calculated by the human touch detection circuit, the calculation formula of the generated sensing capacitance is as follows:

Figure BDA0002261983840000021

wherein, A represents the size of the area of the touch key, d is the distance between the touch key and the ground plane and is the dielectric constant;

the induction capacitor is connected in parallel with the capacitor Cs in the power circuit, and after the finger touches or approaches the key, the change rate of the total capacitor is

C%=((Cs+Cf)-Cs)/Cs=Cf/Cs 2)

The resistor network connected with the comparator provides reference voltage for the comparator, and the reference voltage receives excitation fed back by the output of the comparator, and the value of the reference voltage repeatedly changes between 1/3Vcc and 2/3 Vcc; causing the relaxation oscillator to oscillate continuously, the oscillation frequency can be calculated by the following formula:

Figure BDA0002261983840000022

after the finger contacts or approaches the touch key, the value of Csensor is changed, and fosc is changed; the reciprocal of the frequency is the period, the value of the rising edge or the falling edge is calculated in a fixed time, the number has a large change at a certain moment, and the key is determined to be touched, wherein the Cs value range is 0-50 pF.

Further, a human body touch signal is detected through a capacitive touch switch module of the touch detection IC; under a normal state, the module outputs a low level, and the mode is a low power consumption mode; when a finger touches a corresponding position, the module outputs a high level, and the mode is switched to a fast mode; when no touch lasts for 12 seconds, the mode is switched to a low power consumption mode; after detecting the high level, the main control chip enters a normal working mode; before no human touch signal is detected, the whole control circuit is in a low power consumption state.

Further, establish bluetooth communication through bluetooth module and cell-phone, after establishing the communication, cell-phone APP can set for 6 characters patterns that show respectively, through the bluetooth agreement, convey the content to the dice to show respectively in 6 faces of dice.

Further, the acceleration and the gyroscope angle are automatically detected through the gyroscope module, when the acceleration is static, the upward surface can be automatically calculated according to an angle calculation formula, the brightness of the liquid crystal of the surface is adjusted through the CPU, and the highlight or flickering state is presented.

Further, through the illumination sensor module, when the 6-side liquid crystal touch screen is not lighted, the ambient illumination brightness is detected, the brightness signal is transmitted to the IO interface by the IIC communication protocol, and the liquid crystal display brightness of the 6 sides is controlled after the calculation of the CPU.

The invention has the beneficial effects that:

1. according to the dice with six display screens, 6 character patterns to be displayed can be flexibly configured in a mobile phone applet or APP through a mobile phone Bluetooth communication mode according to different use scenes; during design, a human body digital touch sensor is used for sensing a human body signal, six liquid crystal display screens are automatically lightened according to the ambient illumination intensity, a gyroscope is used for automatically detecting selected contents, and character patterns are highlighted or flicked to be selected and displayed after being processed by a central control CPU (central processing unit), so that the usability enjoyment of the dice is greatly improved;

2. the dice with six display screens can provide the dice which can be used in environments with insufficient light and even completely dark;

3. when the dice with the six-face display screen is not used, the dice control circuit is in a low-power-consumption state, and enters a normal working state after a human body touch signal is detected;

4. the display content of the dice with six display screens can be changed in a mobile phone applet or APP through a mobile phone Bluetooth pairing communication mode;

5. the dice with six display screens can intelligently judge that the front side of a selected face of the dice after rolling faces upwards, control the highlight or flicker of the selected face and form effective optical display contrast with other faces;

6. the dice with six display screens can detect the ambient illumination brightness and automatically control the brightness of liquid crystal display of 6 faces.

Drawings

FIG. 1 is a schematic diagram of a dice with six display screens;

FIG. 2 is a schematic frame diagram of a dice with six display screens;

FIG. 3 is a diagram of a dice human body touch detection circuit with six display screens;

FIG. 4 is a schematic diagram of a circuit of a six-sided display screen dice based on relaxation oscillator capacitive touch sensing detection;

FIG. 5 is a flow chart of the operation of the six-sided display dice of the present invention.

Detailed Description

Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

As shown in fig. 1-5, the dice with six display screens of the invention comprises a dice body 1, a circuit board 7 is arranged in the dice body 1, liquid crystal touch screens 3 connected with the circuit board 7 are arranged on six faces of the dice body 1, and a power module, a capacitive touch switch module, a gyroscope, a bluetooth module and an illumination sensor module are arranged on the circuit board 7.

The dice with six display screens can flexibly configure 6 characters and patterns to be displayed in mobile phone applets or APPs in a mobile phone Bluetooth communication mode according to different use scenes; when the dice is designed, the human body digital touch sensor is used for sensing a human body signal, the six liquid crystal display screens are automatically lightened according to the ambient illumination intensity, the gyroscope is used for automatically detecting the selected content, the character patterns are highlighted or flicked to be selected and displayed after the content is processed by the central control CPU, and the usability enjoyment of the dice is greatly improved.

In a preferred embodiment, the power module is configured as a wireless power supply, the capacitive touch switch module includes a TTP223B touch chip, the gyroscope is configured as an MPU-6050 module triaxial gyroscope, the bluetooth module includes an NRF51822 bluetooth chip, and the illumination sensor module is configured as a BH1750FVI sensor.

In a preferable embodiment, a cavity for accommodating a circuit board 7 is arranged in the dice body 1, a bracket 6 for fixing the circuit board is arranged on the side wall of the cavity, a dice cover 4 communicated with the cavity is detachably connected to the top of the dice body 1, a clamping groove 5 for fixing the dice cover is arranged on the inner wall of the upper portion of the cavity, openings 2 are arranged on the four sides, the bottom and the middle of the upper surface of the dice cover around the dice body 1, a mounting groove is arranged on the inner wall of the bottom of the opening 2, the liquid crystal touch screen 3 is mounted in the mounting groove, a flat cable 10 for electrical connection is arranged between the liquid crystal touch screen 3 and the circuit board 7, in order to ensure the strength of the dice body 1, the dice cover 4 is clamped on the top of the dice body 1, the liquid crystal touch screen 3 is fixed in the mounting groove, a display screen is conveniently touched by hands through the openings 2 for starting a capacitive touch switch module, in the process of throwing the dice body 1, the liquid crystal touch screen 3 is fixedly clamped in the mounting groove and is not touched with a hard object, and collision and breakage of the liquid crystal touch screen 3 are avoided.

In a preferred embodiment, the upper end of a mounting groove on four sides around a dice body 1 is communicated with a dice cover 4, the bottom surface of the dice body 1 and a mounting groove I on the dice cover 4 are communicated with a cavity, a mounting groove II is arranged on the bottom surface of the dice body 1 and the dice cover 4 close to the mounting groove I, a pressing plate 8 for fixing a liquid crystal touch screen is arranged in the mounting groove II, flat cable mounting holes 9 are arranged on the periphery of the cavity and the upper and lower pressing plates 8, the liquid crystal touch screen 3 on the periphery of the dice body 1 is pre-mounted before the dice cover 4 is clamped, the liquid crystal touch screen 3 on the upper surface of the dice body 1 is mounted in the mounting groove through a gap communicated with the mounting groove, the liquid crystal touch screen 3 on the periphery of the dice body 1 is limited and fixed when the dice cover 4 is clamped on the dice body 1, the liquid crystal touch screen 3 on the bottom of the dice body 1 is mounted and fixed through the cavity, the liquid crystal touch screen 3 on, then the die bodies are clamped on the die body 1, and in order to improve the strength of the top and the bottom of the die body 1, the liquid crystal touch screen 3 is limited and fixed by the pressing plate 8.

The invention also discloses a six-face display screen dice intelligent control method, which comprises the following steps:

1) firstly, a human body touch circuit is used for receiving a human body touch signal, and the human body touch signal is sent to a control module after being processed and amplified by data;

2) the control module enters a normal working state from a low power consumption state, and the display brightness is determined through the brightness module;

3) receiving 6-side display configuration contents through a Bluetooth module;

4) the front of the current dice is determined through the gyroscope module, so that the dice can be configured with different display contents according to different ambient brightness and different use scenes, and the targets of the front of the dice are highlighted or twinkled.

In the embodiment, after a human body touches the dice, the human body touch detection circuit outputs a high level, and after detecting the signal, the CPU enters a normal working state from a low power consumption state; and extracting a brightness signal transmitted by the brightness detection circuit, and setting the liquid crystal display brightness value according to a pre-stored brightness configuration table.

The control module receives a human touch signal received by the human touch circuit, and according to the sensitivity calculated by the human touch detection circuit, the calculation formula of the generated induction capacitance is as follows:

Figure BDA0002261983840000051

wherein, A represents the size of the area of the touch key, d is the distance between the touch key and the ground plane and is the dielectric constant;

the induction capacitor is connected with a capacitor Cs in the power circuit in parallel, and after a finger touches or approaches a key, the change rate of the total capacitance is C% ((Cs + Cf) -Cs)/Cs ═ Cf/Cs (2)

The resistor network connected with the comparator provides reference voltage for the comparator, and the reference voltage receives excitation fed back by the output of the comparator, and the value of the reference voltage repeatedly changes between 1/3Vcc and 2/3 Vcc; causing the relaxation oscillator to oscillate continuously, the oscillation frequency can be calculated by the following formula:

Figure BDA0002261983840000052

after the finger contacts or approaches the touch key, the value of Csensor is changed, and fosc is changed; the reciprocal of the frequency is a period, the value of a rising edge or a falling edge is calculated in a fixed time, the number has larger change at a certain moment, and the key is determined to be touched, wherein the Cs value range is 0-50 pF; the capacitance Cs can be used to adjust the sensitivity; the smaller the Cs value, the better the sensitivity. The sensitivity adjustment must be based on the actual application on the PCB; the Cs value range is 0-50 pF;

the human touch sensitivity is influenced by the capacitance Cs, the dielectric material outside the touch area and the touch area, a sensitivity curve needs to be fitted according to experimental data, and after the touch area and the dielectric material outside the touch area are determined, the value of the capacitance Cs is comprehensively determined.

After the dice is touched by human body, the human body touch detection circuit outputs high level, and after the CPU detects the signal, the CPU enters a normal working state from a low power consumption state. And extracting a brightness signal transmitted by the brightness detection circuit, and setting the liquid crystal display brightness value according to a pre-stored brightness configuration table.

The Bluetooth module starts to detect whether a configuration instruction transmitted by the mobile phone APP exists or not, and if the configuration instruction exists, configuration of display content is carried out; if not, the last configured content is displayed.

The CPU receives the parameters transmitted by the gyroscope, calculates the pointing angle of the gyroscope according to a formula, senses the front liquid crystal which is upward at present according to the pointing angle of the gyroscope when the pointing angle is horizontal or vertical, and controls the front liquid crystal to be high-bright or twinkle.

In a preferred embodiment, a human touch signal is detected by a capacitive touch switch module of a touch detection IC; under a normal state, the module outputs a low level, and the mode is a low power consumption mode; when a finger touches a corresponding position, the module outputs a high level, and the mode is switched to a fast mode; when no touch lasts for 12 seconds, the mode is switched to a low power consumption mode; after detecting the high level, the main control chip enters a normal working mode; before no human touch signal is detected, the whole control circuit is in a low power consumption state.

In a preferred embodiment, Bluetooth communication is established between the Bluetooth module and the mobile phone, after the communication is established, the mobile phone APP can set 6 characters and patterns displayed on the sides respectively, and the contents are transmitted to the dice through a Bluetooth protocol and displayed on the 6 sides of the dice respectively.

In a preferred embodiment, the acceleration and the gyroscope angle are automatically detected by the gyroscope module, when the acceleration is static, the upward surface can be automatically calculated according to an angle calculation formula, and the brightness of the liquid crystal of the surface is adjusted by the CPU to present a highlight or flickering state.

In a preferred embodiment, when the 6-sided liquid crystal touch screen is not lighted, the illumination sensor module detects the ambient illumination brightness, transmits a brightness signal to the IO interface by using the IIC communication protocol, and controls the liquid crystal display brightness of the 6 sides after the calculation by the CPU.

Finally, it is noted that the above-mentioned preferred embodiments illustrate rather than limit the invention, and that, although the invention has been described in detail with reference to the above-mentioned preferred embodiments, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the scope of the invention as defined by the appended claims.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:麻将机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!