CN104360744A - Wireless Bluetooth virtual instrument knob based on color discrimination and control method - Google Patents

Wireless Bluetooth virtual instrument knob based on color discrimination and control method Download PDF

Info

Publication number
CN104360744A
CN104360744A CN201410693711.1A CN201410693711A CN104360744A CN 104360744 A CN104360744 A CN 104360744A CN 201410693711 A CN201410693711 A CN 201410693711A CN 104360744 A CN104360744 A CN 104360744A
Authority
CN
China
Prior art keywords
knob
virtual instrument
color
blue tooth
circuit board
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
CN201410693711.1A
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.)
South China Normal University
Original Assignee
South China Normal 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 South China Normal University filed Critical South China Normal University
Priority to CN201410693711.1A priority Critical patent/CN104360744A/en
Publication of CN104360744A publication Critical patent/CN104360744A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Abstract

The invention discloses a wireless Bluetooth virtual instrument knob based on color discrimination and a control method. The wireless Bluetooth virtual instrument knob comprises a main circuit board, wherein a single-chip microcomputer, a color senor and a transparent sucking disc used for fixing the knob are arranged on the lower surface of the main circuit board; a rotary encoder and a Bluetooth communication module used for transmitting a color RGB (Red Green Blue) value and knob rotation encoding information are arranged on the upper surface of the main circuit board; a rechargeable battery used for supplying power to the main circuit board is also arranged on the main circuit board. According to the wireless Bluetooth virtual instrument knob, the color of a virtual instrument interface in a display area, in which the knob is positioned, is discriminated through the color sensor, after the color is processed through the single-chip microcomputer, the Bluetooth communication module transmits the color and a knob rotation code to the computer, virtual instrument software determines a position and functions of the knob through combining the corresponding relation between the colors of different areas of the virtual instrument interface displayed by the display and the received color code, and completes adjustment of virtual instrument parameters of the corresponding functions according to the knob rotation information.

Description

A kind of wireless blue tooth virtual instrument knob based on colour recognition and control method
Technical field
The present invention relates to the research field of virtual instrument knob, particularly a kind of wireless blue tooth virtual instrument knob based on colour recognition and control method.
Background technology
Virtual instrument, be exactly with multi-purpose computer be core hardware platform on, design defining virtual panel by user, realized a kind of computer apparatus system of digital signal processing and test function by testing software.User's mouse-keyboard or touch screen operation virtual panel, just as use special measurement instrument.Along with the raising of computer speed, software can realize more leaning on hard-wired function mainly with front.
Generally, in virtual instrument runs on the hardware platform of multi-purpose computer, our input equipment is exactly mouse, keyboard and touch-screen.Compared with real instrument, virtual instrument lacks real dedicated button, knob, and operating experience, flexibility of operation, performance accuracy have certain limitation.If the hardware controls panel knob of each virtual knob configure dedicated, not only dirigibility can decline, and the pressure of cost and construction cycle can be brought, so just greatly limit to the exploitation of virtual instrument, bury the advantage of " software is exactly instrument " of virtual instrument.
Summary of the invention
Fundamental purpose of the present invention is that the shortcoming overcoming prior art is with not enough, provides a kind of wireless blue tooth virtual instrument knob based on colour recognition.
Another object of the present invention is to, a kind of control method of the wireless blue tooth virtual instrument knob based on colour recognition is provided.
In order to achieve the above object, the present invention is by the following technical solutions:
A kind of wireless blue tooth virtual instrument knob based on colour recognition, comprise main circuit board, the lower surface of described main circuit board is provided with single-chip microcomputer for gathering color rgb value and rotary encoder turn coding, for the color sensor that identifies the virtual instrument display area color at knob place and the transparent sucker being fixed on display screen for knob; The upper surface of described main circuit board is provided with rotary encoder and the bluetooth communication for sending color rgb value and rotary encoder turn coded message; Described main circuit board is also provided with the rechargeable battery of powering for main circuit board.
Preferably, described color sensor is arranged between main circuit board and transparent sucker.
Preferably, described single-chip microcomputer be STC12C5A60S2, MCS-51 kernel single-chip microcomputer or, ARM kernel single-chip microcomputer.
Preferably, described color sensor is TCS230.
Preferably, described bluetooth communication is HC-05.
Preferably, described rotary encoder is the rotary encoder of belt switch.
Preferably, described rechargeable battery is small rechargeable lithium battery.
In order to reach above-mentioned second object, the present invention by the following technical solutions:
Based on a control method for the wireless blue tooth virtual instrument knob of colour recognition, comprise the steps:
The virtual instrument software interface display of S1, computer run over the display, shows different colours in difference in functionality region;
S2, by the functional area of wireless blue tooth virtual instrument knob by transparent sucker suction Interface of Virtual Instruments over the display;
S3, when wireless blue tooth virtual instrument knob produce turn time, single-chip microcomputer, to after turn information and the process of knob color sensor information, utilizes the transmission turn of wireless blue tooth transmitter module and colouring information to the computing machine Bluetooth receptions end running virtual instrument software;
After S4, computing machine receive the turn and colouring information that wireless knob come by Bluetooth transmission, the color of the Interface of Virtual Instruments zones of different that virtual instrument software shows in conjunction with display and the position of the knob corresponding to color-coded corresponding relation determination color-coded information received and function, and the parameter adjustment of corresponding function is completed according to knob turn information;
S5, when knob change absorption position time, the color of region is with also changing, and the function of knob also changes thereupon.
Preferably, when wireless blue tooth virtual instrument knob rotates action, colouring information and knob rotation information are passed through single-chip microcomputer UART Serial Port Transmission to bluetooth communication by single-chip microcomputer simultaneously, and then by Bluetooth transmission module transfer to host computer, be convenient to the judgement that host computer carries out knob position and spinning movement.
Preferably, in step S3, the step of single-chip microcomputer process information is:
S31, initialization;
S32, judge whether scrambler rotates, if so, judge the direction that rotates and size, perform next step;
S33, judge the color of color sensor;
S34, transmitting rotation and colouring information are to bluetooth communication.
Compared with prior art, tool has the following advantages and beneficial effect in the present invention:
1, the present invention is by the Interface of Virtual Instruments color of color sensor identification knob place display area, after single-chip microcomputer process by Bluetooth transmission color and knob rotary coding to computing machine, computer virtual instrument software combined with virtual instrument display interface difference in functionality field color and the Interface of Virtual Instruments position at the corresponding relation determination knob place of colouring information received and function, the direction regulated according to knob turn information determination parameter and size, complete the virtual instrument parameter adjustment of corresponding function.
2, knob of the present invention adopts transparent sucker to be fixed on indicator screen, does not stop the light path of color sensor identification display color, reaches the object that can move freely simultaneously.
3, knob of the present invention can automatically according to the color change parameter regulatory function of the functional area of place Interface of Virtual Instruments, knob can movement flexibly over the display, the Interface of Virtual Instruments difference in functionality region of display display shows different colours, by the difference in functionality of color settings knob; Therefore this virtual instrument knob can become a self-identifying, can the universal knob of software design patterns, reach the object according to knob place location of displays adaptively changing knob function.
4, knob of the present invention adopts real rotary encoder as parameter adjusting knob, be different from the knob of virtual display, the performance of true instrument is reached, the advantage that the software flexible simultaneously with virtual instrument is arranged in operating experience, flexibility of operation, performance accuracy.
Accompanying drawing explanation
Fig. 1 is the structural representation of virtual instrument knob of the present invention;
Fig. 2 is the side structure schematic diagram of virtual instrument knob of the present invention;
Fig. 3 is the bottom surface structure schematic diagram of virtual instrument knob of the present invention;
Fig. 4 is the circuit theory diagrams of main circuit board of the present invention;
Fig. 5 is the message processing flow figure of single-chip microcomputer of the present invention.
Drawing reference numeral illustrates: 1, knob cap; 2, rotary encoder; 3, bluetooth communication; 4, main circuit board; 5, single-chip microcomputer; 6, battery socket; 7, color sensor; 8, transparent sucker.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment
As shown in Figure 1, Figure 2, Figure 3 shows, a kind of wireless blue tooth virtual instrument knob based on colour recognition of the present embodiment, comprise main circuit board 4, the upper surface of described main circuit board is provided with rotary encoder 2 and bluetooth communication 3, and described rotary encoder is provided with knob cap 1, the lower surface of described main circuit board is provided with transparent sucker 8, single-chip microcomputer 5 and color sensor 7, described main circuit board is also provided with the rechargeable battery of powering for main circuit board, and described rechargeable battery is connected with main circuit board by battery socket 6, color sensor 7 is arranged between main circuit board 4 and transparent sucker 8, virtual instrument knob of the present invention is adsorbed on virtual instrument display surface by transparent sucker 8, identified by the color of the display area at color sensor 7 pairs of knob places, when turn-knob generation turn, color rgb value is sent and knob turn is encoded to computing machine Bluetooth receptions end by bluetooth communication 3, computer virtual instrument software combines position and the function of the corresponding relation determination knob of the color of color coding and the Interface of Virtual Instruments zones of different display received, and the virtual instrument parameter regulatory function of corresponding viewing area is completed according to rotary coding, reach a knob according to place screen area, complete the object of corresponding different parameters regulatory function.Regular display can change into and the virtual instrument of flexible configuration can regulate panel by wireless blue tooth virtual instrument knob of the present invention, have physical knob operation flexibly and intuitive, the software again with virtual instrument automatically identifies and arranges function flexibly.
As shown in Figure 4, in the present embodiment, described single-chip microcomputer 5 is STC12C5A60S2; Described color sensor 7 is TCS230, and described bluetooth communication 3 is HC-05, and described color sensor TCS230, bluetooth communication HC-05 are connected with single-chip microcomputer STC12C5A60S2 respectively; Described single-chip microcomputer 5 also can substitute with MCS-51 kernel or ARM kernel single-chip microcomputer; Described color sensor 7 also can substitute to frequency inverted sensor with other light; Described bluetooth communication 3 also can substitute with other simulative serial port data transmission bluetooth module, and the model namely meeting the present embodiment technical scheme is all applicable to the application.
In order to better embodiment technical scheme of the present invention, rotary encoder 2 described in the present embodiment is the mechanical type increment rotary encoder of belt switch; Described rechargeable battery is small rechargeable lithium battery.
As shown in Figure 5, the present embodiment, based on the control method of the virtual instrument knob of colour recognition, comprises the steps:
The virtual instrument software interface display of S1, computer run over the display, shows different colours in difference in functionality region.
S2, by the functional area of wireless blue tooth virtual instrument knob by transparent sucker suction Interface of Virtual Instruments over the display;
S3, when wireless blue tooth virtual instrument knob produce turn time, single-chip microcomputer, to after turn information and the process of knob color sensor information, utilizes the transmission knob turn of wireless blue tooth transmitter module and colouring information to the computing machine Bluetooth receptions end running virtual instrument software; Idiographic flow is:
S31, judge whether scrambler rotates, if so, single-chip microcomputer determines the direction that rotates and rotary pulsed quantity by impulse phase, thus determines the direction that parameter regulates and size; And then perform next step;
S32, judge the color of color sensor; The umber of pulse that TCS230 measured within the time reference time transmits is exactly the value of corresponding R, G and B;
S33, transmitting rotation and colouring information are to bluetooth communication;
After S4, computing machine receive the turn and colouring information that wireless knob come by Bluetooth transmission, the color of the Interface of Virtual Instruments zones of different that virtual instrument software shows in conjunction with display and the position of the knob corresponding to color-coded corresponding relation determination color-coded information received and function, and the parameter adjustment of corresponding function is completed according to knob turn information;
S5, when knob change absorption position time, the color of region is with also changing, and the function of knob also changes thereupon.
When knob rotates action, colouring information and knob rotation information are passed through UART Serial Port Transmission to bluetooth communication by single-chip microcomputer simultaneously, and then by Bluetooth transmission module transfer to host computer, are convenient to the judgement that host computer carries out knob position and spinning movement.
Above-described embodiment is the present invention's preferably embodiment; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (10)

1. the wireless blue tooth virtual instrument knob based on colour recognition, it is characterized in that, the color sensor comprise main circuit board, the lower surface of described main circuit board is provided with single-chip microcomputer for gathering color rgb value and rotary encoder turn coding, identifying for the color of the virtual instrument display area to knob place and for the fixing transparent sucker of knob; The upper surface of described main circuit board is provided with rotary encoder and the bluetooth communication for sending color rgb value and rotary encoder turn coded message; Described main circuit board is also provided with the rechargeable battery of powering for main circuit board.
2., according to claim 1 based on the wireless blue tooth virtual instrument knob of colour recognition, it is characterized in that, described color sensor is arranged between main circuit board and transparent sucker.
3. according to claim 1 based on the wireless blue tooth virtual instrument knob of colour recognition, it is characterized in that, described single-chip microcomputer is STC12C5A60S2, MCS-51 kernel single-chip microcomputer or ARM kernel single-chip microcomputer.
4., according to claim 1 based on the wireless blue tooth virtual instrument knob of colour recognition, it is characterized in that, described color sensor is TCS230.
5., according to claim 1 based on the wireless blue tooth virtual instrument knob of colour recognition, it is characterized in that, described bluetooth communication is HC-05.
6. according to claim 1 based on the wireless blue tooth virtual instrument knob of colour recognition, it is characterized in that, described rotary encoder is the mechanical type increment rotary encoder of belt switch.
7., according to claim 1 based on the wireless blue tooth virtual instrument knob of colour recognition, it is characterized in that, described rechargeable battery is small rechargeable lithium battery.
8. according to any one of claim 1-7 based on the control method of the wireless blue tooth virtual instrument knob of colour recognition, it is characterized in that, comprise the steps:
The virtual instrument software interface display of S1, computer run over the display, shows different colours in difference in functionality region;
S2, by the functional area of wireless blue tooth virtual instrument knob by transparent sucker suction Interface of Virtual Instruments over the display;
S3, when wireless blue tooth virtual instrument knob produce turn time, single-chip microcomputer, to after turn information and the process of knob color sensor information, utilizes the transmission turn of wireless blue tooth transmitter module and colouring information to the computing machine Bluetooth receptions end running virtual instrument software;
After S4, computing machine receive the turn and colouring information that wireless knob come by Bluetooth transmission, the color of the Interface of Virtual Instruments zones of different that virtual instrument software shows in conjunction with display and the position of the knob corresponding to color-coded corresponding relation determination color-coded information received and function, and the parameter adjustment of corresponding function is completed according to knob turn information;
S5, when knob change absorption position time, the color of region is with also changing, and the function of knob also changes thereupon.
9. according to claim 8 based on the control method of the wireless blue tooth virtual instrument knob of colour recognition, it is characterized in that, when wireless blue tooth virtual instrument knob rotates action, colouring information and knob rotation information are passed through UART Serial Port Transmission to bluetooth communication by single-chip microcomputer simultaneously, and then by Bluetooth transmission module transfer to host computer, be convenient to the judgement that host computer carries out knob position and spinning movement.
10. according to claim 8 based on the control method of the wireless blue tooth virtual instrument knob of colour recognition, it is characterized in that, in step S3, the step of single-chip microcomputer process information is:
S31, initialization;
S32, judge whether scrambler rotates, if so, judge the direction that rotates and size, perform next step;
S33, judge the color of color sensor;
S34, transmitting rotation and colouring information are to bluetooth communication.
CN201410693711.1A 2014-11-26 2014-11-26 Wireless Bluetooth virtual instrument knob based on color discrimination and control method Pending CN104360744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410693711.1A CN104360744A (en) 2014-11-26 2014-11-26 Wireless Bluetooth virtual instrument knob based on color discrimination and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410693711.1A CN104360744A (en) 2014-11-26 2014-11-26 Wireless Bluetooth virtual instrument knob based on color discrimination and control method

Publications (1)

Publication Number Publication Date
CN104360744A true CN104360744A (en) 2015-02-18

Family

ID=52528012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410693711.1A Pending CN104360744A (en) 2014-11-26 2014-11-26 Wireless Bluetooth virtual instrument knob based on color discrimination and control method

Country Status (1)

Country Link
CN (1) CN104360744A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107743609A (en) * 2015-06-15 2018-02-27 摩托罗拉解决方案公司 Static interface component and its application method
US10649581B1 (en) 2011-08-05 2020-05-12 P4tents1, LLC Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
CN111158557A (en) * 2019-12-19 2020-05-15 广东美的厨房电器制造有限公司 Linkage display method of virtual knob, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643489A (en) * 2002-03-22 2005-07-20 皇家飞利浦电子股份有限公司 Low cost interactive program control system and method
CN102193628A (en) * 2010-03-03 2011-09-21 三星电子株式会社 Method and apparatus for providing function of portable terminal using color sensor
CN102662565A (en) * 2012-01-16 2012-09-12 汪林川 Tangible digital-communication interactive method, system and device
CN103093737A (en) * 2011-11-08 2013-05-08 天津三星电子有限公司 Device and method for adjusting color white balance of display equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1643489A (en) * 2002-03-22 2005-07-20 皇家飞利浦电子股份有限公司 Low cost interactive program control system and method
CN102193628A (en) * 2010-03-03 2011-09-21 三星电子株式会社 Method and apparatus for providing function of portable terminal using color sensor
CN103093737A (en) * 2011-11-08 2013-05-08 天津三星电子有限公司 Device and method for adjusting color white balance of display equipment
CN102662565A (en) * 2012-01-16 2012-09-12 汪林川 Tangible digital-communication interactive method, system and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10649581B1 (en) 2011-08-05 2020-05-12 P4tents1, LLC Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
US10649580B1 (en) 2011-08-05 2020-05-12 P4tents1, LLC Devices, methods, and graphical use interfaces for manipulating user interface objects with visual and/or haptic feedback
US10656759B1 (en) 2011-08-05 2020-05-19 P4tents1, LLC Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
US10671213B1 (en) 2011-08-05 2020-06-02 P4tents1, LLC Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
US10788931B1 (en) 2011-08-05 2020-09-29 P4tents1, LLC Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
US10996787B1 (en) 2011-08-05 2021-05-04 P4tents1, LLC Gesture-equipped touch screen system, method, and computer program product
US11061503B1 (en) 2011-08-05 2021-07-13 P4tents1, LLC Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
US11740727B1 (en) 2011-08-05 2023-08-29 P4Tents1 Llc Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
CN107743609A (en) * 2015-06-15 2018-02-27 摩托罗拉解决方案公司 Static interface component and its application method
CN111158557A (en) * 2019-12-19 2020-05-15 广东美的厨房电器制造有限公司 Linkage display method of virtual knob, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN105045692B (en) Testing device for touch screens and system, testing touch screen control device
CN103677131B (en) A kind of wearable electronic equipment and its display methods
CN100538612C (en) Hand-written input system and method with vigour of style in writing effect
CN107260314A (en) Device, system in operating robot and operating robot
CN104360744A (en) Wireless Bluetooth virtual instrument knob based on color discrimination and control method
CN105302021A (en) Wearable gesture control device for controlling movement of robot in human-computer collaborative remanufacturing
CN106426206A (en) Wrestling robot, control equipment and game system
CN105975082B (en) A kind of handle controller applied to virtual reality helmet
CN109558061A (en) A kind of method of controlling operation thereof and terminal
CN104573653A (en) Recognition device and method for object motion state
CN204009751U (en) Gesture identifying device
CN104915023B (en) Use the input equipment of combined tracking
CN105183236A (en) Touch screen input device and method
CN110058711A (en) Electronics blackboard eraser and its control method
CN103870066A (en) Optical sensing device and method for detecting object around optical sensing device
CN106774889A (en) The gesture identification method and device of wearable device
CN106484117A (en) A kind of sub-controlling unit of VR equipment, control method and VR equipment
CN103543850B (en) computer input device capable of changing operation mode and operation mode adjusting method thereof
CN104345907B (en) Touch module and touch positioning method for positioning stylus on touch device
CN204203889U (en) A kind of wireless blue tooth virtual instrument knob based on colour recognition
CN106371612A (en) Virtual reality glasses and menu control method
CN100398056C (en) Computerized eyesight detection apparatus
CN106020468A (en) Glove controlled augmented reality system
CN100468301C (en) Mouse and method thereof
CN202003556U (en) Digital signal processor (DSP) application technology teaching equipment based on intelligent home control system project

Legal Events

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: 20150218

WD01 Invention patent application deemed withdrawn after publication