CN208985431U - A kind of intelligence piano learning machine - Google Patents
A kind of intelligence piano learning machine Download PDFInfo
- Publication number
- CN208985431U CN208985431U CN201720759596.2U CN201720759596U CN208985431U CN 208985431 U CN208985431 U CN 208985431U CN 201720759596 U CN201720759596 U CN 201720759596U CN 208985431 U CN208985431 U CN 208985431U
- Authority
- CN
- China
- Prior art keywords
- piano
- mainboard
- key
- piano key
- daughter 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.)
- Active
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
The utility model provides a kind of intelligent piano learning machine, including mainboard (1), several daughter boards (2~5), mobile terminal APP (6), the reflective photoelectric sensor (7) being correspondingly arranged with piano key and correlation type photoelectric sensor (11), and the lamp bar LED (9) being correspondingly arranged with piano key;Control decision is carried out by mobile terminal APP (6), decision signal is sent to mainboard (1);Mainboard (1) is set as 1 piece, daughter board (2~5) is arranged several pieces according to piano key quantity, mainboard (1) and daughter board (2~5) respectively correspond a certain number of piano keys of distribution, for acquiring the status information of corresponding piano key, and the lamp bar LED (9) of the corresponding piano key setting of driving.The computer learning machine can greatly improve the speed of data acquisition and Response Decision, and in conjunction with high-performance mobile end equipment, precisely, flexibility and reliability solves the problems, such as wrong report for control.
Description
Technical field
The utility model relates to instrument device technical fields, and in particular to a kind of intelligence piano learning machine.
Background technique
Intelligent Piano Teaching and facility for study based on acousto-optic-electric are widely used in musical instrument technical field.Existing piano intelligence
It can learn exerciser, one is insertion piano and piano integrated setting and dispatch from the factory;Another kind is independently of piano equipment sheet
Except body, belong to the attachment of piano.With the piano intelligence learning equipment of piano integrated setting, it is exclusively used in specific piano and carries out
Mating, matching and test, it is all preferable with the conformability of specific piano and the accuracy of control, but may not apply to other Brand Types
Number piano equipment;As the piano intelligence learning equipment of separate accessories, versatility is preferable, can install suitable for a variety of product
The piano of board model, flexible in application, save the cost, although however, the piano of most of model brands has general size mark
Standard, but its key mapping setting, pattern, structure are constantly present little bit different, and intelligent piano learning machine is caused to be installed and used as attachment
When, human eye, manpower will lead to response accuracy decline, to influence intelligent piano study due to optical signal prompt position deviation
The accuracy of machine control.How to mitigate intelligent piano learning machine versatility and control the contradiction of accuracy, becomes and be not easy to be noticeable,
And influence one of the urgent problem to be solved of learning machine technical effect.
Meanwhile existing intelligent Piano Teaching and facility for study, during the work time using sensor to position of piano key shape
State is monitored, and is judged whether key is correctly played for monitoring, is then sent key status information to control unit
Host computer carries out decision.However, existing piano intelligent instructional device is easy to happen the feelings of prompt wrong report in operating practice
Condition.Reason is analysed in depth, is found in the performance of piano, fingering speed sometimes requires that very fast, and the gap of music score is sometimes very
Short, multiple key mapping information will form the changing trend of high speed.In this way, the piano key mapping information of multiple tandems just needs to be adopted simultaneously
Collection transmission, and need while being judged, decision-making treatment, driving LED is lighted or is extinguished.In this way, control unit host computer pair
The decoupling and analysis of transducing signal are sometimes prone to generate hysteresis delay, even result in main control unit and generate mistake driving, decision letter
Breath forms the wrong report of LED prompt information.Therefore, drawbacks described above will will affect the operation control effect of intelligent piano learning machine,
One of be a problem to be solved.
Utility model content
The technical issues of the utility model solves is: overcoming the above-mentioned deficiency of the prior art, provides a kind of general, control
Precisely, the rapid reliable intelligent piano learning machine of response.
The utility model sends the information that piano key is needed shown by the music score of Chinese operas, root using host computer to lamp bar LED
It is believed that breath lights LED light corresponding to lamp bar LED, corresponding piano key is pressed, is caught by the infrared sensor of lamp bar LED
It catches piano key motion state and information is uploaded to host computer to complete to play with lamp.
The collection analysis of the key status information of piano high speed variation is reported by mistake in order to prevent, and the utility model is adopted first
Use multiple control chips as distributed parallel acquisition and drive control subelement, more with the high-speed response characteristics of multiple hardware
It mends, overcome single hardware, only pass through slow-paced defect when software realization collection analysis, drive control.Meanwhile using mobile terminal
APP replaces conventional one-piece machine control unit as Decision Control unit, makes full use of the software and hardware processing that mobile end equipment is powerful
Performance, furthermore mobile terminal APP has significant advantage in melody music score of Chinese operas management, human-computer interaction and equipment interoperability.In this way, logical
The acquisition drive control function of distributed mainboard and daughter board and the combination setting of mobile terminal APP are crossed, intelligent piano is improved
The control accuracy of learning machine, solves the problems, such as wrong report.
The utility model provides a kind of intelligent piano learning machine, comprising: mainboard (1), corresponding part piano key, Duo Gezi
Plate (2~5), corresponding another part piano key;Lamp bar LED (9), is correspondingly arranged with piano key;Reflection-type photoelectric sensing
Device (7) and correlation type photoelectric sensor (8), acquire respectively and to send piano key transducing signal corresponding to the piano key
Mainboard (1) or daughter board (2~5) are communicated between daughter board (2~5) and mainboard (1) if daughter board obtains sensing letter signal, will be from
The piano key status information that corresponding piano key transducing signal obtains is sent to mainboard (1);Mobile terminal APP (6), with mainboard
(1) each piano key status information communication is obtained;Wherein, the corresponding lamp bar LED (9) being arranged of mainboard (1) driving piano key,
Mainboard (1) is communicated with daughter board (2~5) simultaneously, by the corresponding lamp bar LED being arranged of daughter board (2~5) driving piano key
(9);Mainboard (1) and daughter board (2~5) respectively correspond a certain number of piano keys of distribution, for acquiring corresponding piano key
Status information, and drive the lamp bar LED (9) of corresponding piano key setting.
Preferably, the daughter board is set as 4 pieces;The mainboard (1) distributes 3 piano keys, (2~4) block daughter board distribution 24
A piano key, (5) daughter board distribute 13 piano keys;The mobile terminal APP is PAD or Phone, by USB and mainboard into
Row communication.
Preferably, mainboard carries out signal by two kinds of infrared photoelectric sensors and adopts by STM32F301C8 as main control chip
Collection will also be communicated with daughter board by UART to have discriminated whether that piano key is pressed, all piano key states
It is sent to mobile terminal APP, the data sent according to the mobile terminal APP light corresponding steel by GPIO mouthfuls of output low and high levels
The lamp bar LED of qin key;Daughter board, as control chip, carries out signal by two kinds of infrared photoelectric sensors by STM32F030C8
Acquisition will also be communicated with mainboard by UART to have discriminated whether that piano key is pressed, all piano key-like
State is sent to mainboard by UART, makes GPIO mouthfuls of output low and high levels by the order of mainboard to light the lamp of corresponding piano key
LED.
Preferably, the detection of piano key black key mainly passes through correlation type photoelectric sensor and realizes, correlation type photoelectric transfer
Sensor is the combination of IR908-7 and PT908-7C;The detection of white key mainly passes through reflective photoelectric sensor realization, reflection-type
Photoelectric sensor is infrared scattered reflection type photoelectric sensor ITR20001/T.
The intelligence piano learning machine prompts the steel played corresponding to users' mobile end APP qin spectrum by round LED indicator light
Qin key crosses whole lamp bar LED using one long metal oxygen aspect bracket, and metal oxide bracket is arranged to have rigid
Property, by rigid metal oxide scaffold, adjust position of the lamp bar LED on piano.In addition, the utility model also provides one kind
Based on the control method of the intelligence piano learning machine, include the following steps:
(1) mobile terminal APP sends LED light to mainboard and lights sequence signal according to music-book information;
(2) mainboard lights sequence signal according to LED light, drives mainboard to correspond to LED lamp by GPIO interface, at the same with son
Plate is communicated, and the sequence signal is transmitted to daughter board;
(3) LED light lights sequence signal to daughter board based on the received, drives the corresponding LED of daughter board by GPIO interface;
(4) key is pressed, the transducing signal that infrared photoelectric sensor captures piano key black key or white key is pressed will
The transducing signal captured is sent to corresponding mainboard or daughter board;
(5) mainboard judges corresponding piano key status information according to transducing signal;Daughter board judges to correspond to according to transducing signal
Piano key status information is transmitted to mainboard by UART by piano key status information;
(6) mainboard judges whether user plays correct according to each piano key status information;If incorrect, LED continues
It is remain on;If correct, correspond to piano key LED light and extinguishes,
(7) judging result of step (6) is sent to mobile terminal APP by mainboard, and mobile terminal APP carries out decision, if user's bullet
Play it is incorrect, keep the melody music score of Chinese operas it is motionless;If user plays correctly, (1) is thened follow the steps, next group of LED light is sent and lights sequence
Column signal, to light the piano key played corresponding to the next group of music score of Chinese operas of display by LED.
The technical effect of the utility model is as follows:
1, the intelligent piano learning machine of the utility model, the parallel control structure that mainboard and multiple daughter boards are set, Neng Gou great
The big speed for improving system data acquisition and Response Decision, in conjunction with high-performance mobile end equipment, control is accurate, flexibility and reliability,
Solves the problems, such as wrong report.Lamp bar LED, which is powered on, enters Auto-Sensing Mode, and LED lamp is all lighted at this time, the single-chip microcontroller of mainboard, daughter board
AD controller starts to acquire key information respectively, handles to obtain a stable calibration threshold value by single-chip microcontroller internal algorithm, so
After extinguish corresponding LED light.Pay attention to that key or mobile lamp bar LED cannot be pressed in this process, otherwise can make threshold value not
Accurately.Bright light is that the LED of reddish blue indicates the ID number value of current plank on lamp bar LED after self-test.After self-test, if
It is not connected to APP, at this time if there is pressing key, then corresponding LED light can be lighted.If being connected to APP, piano key is just at this time
Not in bright light, but carry out bright light according to the instruction of APP.
2, product product design compatible a variety of different 88 key board musical instrument (fenders, primary sound steel including different brands
Qin or MIDI keyboard)
Detailed description of the invention
Fig. 1 is the hardware the general frame of the intelligent piano learning machine of the utility model;
Fig. 2 is the motherboard hardware block diagram of the utility model;
Fig. 3 is the daughter board hardware block diagram of the utility model;
Fig. 4 is the lamp bar installation diagram of the utility model.
Specific embodiment
Embodiment 1
The intelligent piano learning machine hardware the general frame of the utility model is as shown in Fig. 1, and the intelligence piano learning machine is suitable
With general 88 key board musical instrument, including mainboard 1, several daughter boards 2~5, mobile terminal APP 6, equal with piano key quantity is anti-
Emitting photoelectric sensor 7, correlation type photoelectric sensor 8 and lamp bar LED 9, the preferably highlighted dual-colored LED of lamp bar LED.
Wherein, it is communicated between mainboard 1 and daughter board 2~5 by UART serial ports, UART interface passes through two poles between each daughter board
Pipe is isolated, and avoids interfering, and the application in mainboard and mobile terminal APP6 is communicated by USB, reflection type optical fax
7 signal of sensor carries out AD acquisition by single-chip microcontroller GPIO, and 8 signal of correlation type photoelectric sensor is carried out by single-chip microcontroller GPIO interface
The piano key heat transfer agent that two kinds of photoelectric sensors acquire is transmitted to mainboard 1 and daughter board 2~8 by input capture;Mainboard 1 connects
The information for receiving the sensor information and daughter board 2~5, judges piano key status information, communicates with mobile terminal APP 6, moves
Moved end APP 6 carries out decision according to music-book information and piano key status information, and decision signal is sent to mainboard 1, is finally led
Plate 1 drives corresponding LED light, meanwhile, mainboard 1 is communicated with daughter board 2~5, drives corresponding LED light by daughter board 2~5.
In practical applications, mainboard 1 may be configured as 1 piece, and daughter board 2~5 may be configured as 4 pieces, the key of general 88 keyboard piano
The signal acquisition port of disk and corresponding highlighted dual-colored LED drive port, can according to circumstances distribute to mainboard 1 and daughter board 2~
5.For example, every piece of mainboard or daughter board distribute 11 piano keys.
1 hardware block diagram of mainboard is as shown in Fig. 2, mainboard is to pass through two kinds of infrared lights as main control chip by STM32F301C8
Electric transducer carries out signal acquisition to have discriminated whether that piano key is pressed, while also to be communicated with daughter board, all steel
Qin key state is sent to mobile terminal APP6 application program by USB, and the data sent by mobile terminal APP6 are by GPIO mouthfuls
Low and high level is exported to light the LED of corresponding piano key.
Daughter board hardware block diagram is as shown in figure 3, daughter board is to pass through two kinds of infrared lights as control chip by STM32F030C8
Electric transducer carries out signal acquisition to have discriminated whether that piano key is pressed, while also to be led to mainboard 1 by UART
Letter, all piano key states are sent to mainboard by UART, by the order of mainboard 1 make GPIO mouthfuls of output low and high levels come
Light the LED of corresponding piano key.
Mobile terminal APP6 is PAD or Phone etc..Mobile terminal APP6 is communicated by USB with mainboard 1, and piano key is obtained
Disc status information judges piano key state, carries out Decision Control.
The state detecting information of piano black key and white key is obtained by infrared photoelectric sensor 7,8.The detection of black key is mainly
It is realized by IR908-7 and PT908-7C combination.IR908-7C is the infrared-emitting diode of 940nm peak wavelength,
PT908-7C is a positive-negative-positive phototriode, and the infrared light that infrared transmitting tube issues can control the induction of phototriode
Photoelectric current, change its voltage drop, by the resistance being connected in PNP triode to the change as high low potential 0 and 1
Change, it can be using this as photoelectric sensor switch.This output signal is connected to the GPIO mouth of single-chip microcontroller, while GPIO is set as
Input pattern, to detect this signal and then differentiate whether black key is pressed.
A) when black key is pressed, that is, when having light to pass through, photosensitive tube senses infrared light, generates photoelectric current Ic, at this time
Vout is low potential;
B) when black key is not pressed, that is, the light of transmitting tube is interdicted, photosensitive tube almost incudes less than infrared light, only
It is the dark current (generally 0.1uA) of very little, Vout is high potential at this time.
The detection of white key mainly passes through infrared scattered reflection type photoelectric sensor ITR20001/T, TR20001/T sensor
It is a kind of transmitting of collection and be received in integrated photoelectric sensor, is mainly used for black and white line detection.This black and white line sensor is by can
Light-exposed interference is small, and output signal is switching value, and signal processing is simple, very easy to use.This module is not required to external circuit, we
One 10K and 100 ohm of pull-up resistor, which is added, can make its working properly.
A) when white key is pressed, light incomplete reflection at this time to receiver, Vout output is higher voltage value;
B) when white key is not pressed, light can be entirely reflected to receiver at this time, and Vout output is lower voltage value.
Then AD acquisition is carried out by mainboard or daughter board single-chip microcontroller, by repeatedly measuring, threshold value is calculated, then according to threshold value
White key is judged whether there is to press.
Embodiment 2
The hardware block diagram of the embodiment 2 of the intelligent piano learning machine of the utility model is same as Example 1.It is basic herein
On, LED lamp strip structure by round LED indicator light as shown in figure 4, prompt to play corresponding to users' mobile end APP qin spectrum
Piano key, LED light bar width is sufficiently small, and being placed on musical instrument not influences normally to play;It is outside the pale of civilization using a long metal oxygen
It sees bracket and crosses whole lamp bar, be not susceptible to deformation in the shape for guaranteeing whole lamp bar, avoid placing each steel when piano key
Qin key Stress non-homogeneity;PVC panel is covered on metal strip, increases the globality and aesthetic measure of appearance, guarantees light transmittance
While enhance the inaccessiable exquisiteness of metal surface institute.Its improvement compared with the prior art is.In this way, LED in lamp bar
Lamp position is set can carry out elastic adjustment perhaps flexible adjustment or simple according to the piano key position of different model brand piano
Replacing various sizes of metal oxide bracket can be adjusted the position of LED light.Zigzag card slot is used to place infrared sensor,
And it can agree with well with key.
Embodiment 3
The hardware block diagram of the embodiment 3 of the intelligent piano learning machine of the utility model is same as Example 1, lamp bar structure with
Embodiment 2 is identical.On this basis, a kind of control method according to intelligent piano learning machine is provided, is included the following steps:
(1) mobile terminal APP 6 sends LED light to mainboard 1 and lights sequence signal according to music-book information;
(2) mainboard 1 lights sequence signal according to LED light, drives mainboard to correspond to LED light by GPIO interface, at the same with son
Plate 2~5 is communicated, and the sequence signal is transmitted to daughter board 2~5;
(3) LED light lights sequence signal to daughter board based on the received, drives the corresponding LED of daughter board by GPIO interface;
(4) piano key, the sensing letter that infrared photoelectric sensor captures piano key black key or white key is pressed are pressed
Number, the transducing signal captured is sent to corresponding mainboard 1 or daughter board 2~5;
(5) mainboard judges corresponding piano key status information according to transducing signal;Daughter board judges to correspond to according to transducing signal
Piano key status information is transmitted to mainboard by UART by piano key status information;
(6) mainboard judges whether user plays correct according to each piano key status information;If incorrect, LED continues
It is remain on;If correct, correspond to piano key LED light and extinguishes,
(7) judging result of step (6) is sent to mobile terminal APP by mainboard, and mobile terminal APP carries out decision, if user's bullet
Play it is incorrect, keep the melody music score of Chinese operas it is motionless;If user plays correctly, (1) is thened follow the steps, next group of LED light is sent and lights sequence
Column signal, to light the piano key played corresponding to the next group of music score of Chinese operas of display by LED.
Condition of the those skilled in the art in the spirit and scope for not departing from the utility model that claims determine
Under, various modifications can also be carried out to the above content.Therefore the scope of the utility model is not limited in above say
It is bright, but determined by the range of claims.
Claims (5)
1. a kind of intelligence piano learning machine, characterized by comprising:
Mainboard (1), corresponding part piano key;
Multiple daughter boards (2~5), corresponding another part piano key;
Lamp bar LED (9), is correspondingly arranged with piano key;
Reflective photoelectric sensor (7) and correlation type photoelectric sensor (8), acquire respectively and send piano key transducing signal
To the corresponding mainboard of the piano key (1) or daughter board (2~5), if daughter board obtains sensing letter signal, daughter board (2~5) and mainboard
(1) it is communicated between, the piano key status information obtained from corresponding piano key transducing signal is sent to mainboard (1);
Mobile terminal APP (6) obtains each piano key status information with mainboard (1) and communicates;
Wherein, the corresponding lamp bar LED (9) being arranged of mainboard (1) driving piano key, at the same mainboard (1) and daughter board (2~5) into
Row communication, by the corresponding lamp bar LED (9) being arranged of daughter board (2~5) driving piano key;
Mainboard (1) and daughter board (2~5) respectively correspond a certain number of piano keys of distribution, for acquiring corresponding piano key
Status information, and drive the lamp bar LED (9) of corresponding piano key setting.
2. intelligence piano learning machine as described in claim 1, the daughter board (2~5) are set as 4 pieces.
3. intelligence piano learning machine as described in claim 1, the mainboard (1) and every piece of daughter board (2~5) distribute 11 pianos
Key.
4. intelligence piano learning machine as described in claim 1, the mobile terminal APP (6) are tablet computer or smart mobile phone, lead to
Data line is crossed to be communicated with mainboard (1).
5. intelligence piano learning machine as described in claim 1, further include one long metal oxide bracket its cross entire lamp
LED, the metal oxide bracket are arranged to have rigidity, pass through rigid metal oxide scaffold, adjust lamp bar LED
(9) position on piano.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720759596.2U CN208985431U (en) | 2017-06-27 | 2017-06-27 | A kind of intelligence piano learning machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720759596.2U CN208985431U (en) | 2017-06-27 | 2017-06-27 | A kind of intelligence piano learning machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN208985431U true CN208985431U (en) | 2019-06-14 |
Family
ID=66777077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720759596.2U Active CN208985431U (en) | 2017-06-27 | 2017-06-27 | A kind of intelligence piano learning machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN208985431U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107123334A (en) * | 2017-06-27 | 2017-09-01 | 小叶子(北京)科技有限公司 | A kind of intelligent piano learning machine and its control method |
-
2017
- 2017-06-27 CN CN201720759596.2U patent/CN208985431U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107123334A (en) * | 2017-06-27 | 2017-09-01 | 小叶子(北京)科技有限公司 | A kind of intelligent piano learning machine and its control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107123334A (en) | A kind of intelligent piano learning machine and its control method | |
CN100377053C (en) | Input device, information processing method and microcomputer | |
CN107223203B (en) | Light-intensity test method, apparatus and intelligent terminal | |
KR100700143B1 (en) | Device and method for displaying key selection in touch keypad | |
CN114721892B (en) | Touch screen equipment test system and test method | |
KR101984737B1 (en) | Touch system comprising optical touch panel and touch pen, and method of controlling interference optical signal in touch system | |
US20060114243A1 (en) | Switching matrix apparatus for semiconductor characteristic measurement apparatus | |
CN104573653A (en) | Recognition device and method for object motion state | |
CN104157276A (en) | Photoelectric detection device and detection method for motions of piano keyboard | |
CN105702120A (en) | Piano sound collecting and broadcasting device and key calibration method | |
CN104167122A (en) | Intelligent instruction-assisting practicing device and method of piano | |
CN208985431U (en) | A kind of intelligence piano learning machine | |
CN104714536A (en) | Multi-functional computer fault diagnosis instrument | |
CN100423685C (en) | Electronic jump height automatic measuring and analyzing device and operation method thereof | |
CN109964134A (en) | The test macro and method of touch control device anti-interference ability | |
CN108731791A (en) | A kind of method and device of acquisition piano key action | |
CN103413368B (en) | Carry out before dispatching from the factory or after dispatching from the factory financial detecting the device corrected | |
CN103903603A (en) | Converter plate used for intelligent piano | |
CN112432308B (en) | Touch interaction device, control method and device thereof and air conditioning unit | |
CN109568879B (en) | Intelligent music rehabilitation training device | |
JP2002297318A (en) | Touch panel controller and program for controlling touch panel | |
CN106597157A (en) | Button test method and system | |
CN214544855U (en) | Touch panel light control console with full-color backlight | |
CN208689919U (en) | A kind of Chinese zither with movement acquisition function | |
CN109118894B (en) | Special children hardware building block programming device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |