CN106409274A - Single-chip microcomputer program based small sized mouse shaped sound-making musical instrument - Google Patents
Single-chip microcomputer program based small sized mouse shaped sound-making musical instrument Download PDFInfo
- Publication number
- CN106409274A CN106409274A CN201611139137.0A CN201611139137A CN106409274A CN 106409274 A CN106409274 A CN 106409274A CN 201611139137 A CN201611139137 A CN 201611139137A CN 106409274 A CN106409274 A CN 106409274A
- Authority
- CN
- China
- Prior art keywords
- mouse
- chip microcomputer
- musical instrument
- note
- small
- 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
Links
- 210000003811 finger Anatomy 0.000 claims description 6
- 210000003813 thumb Anatomy 0.000 claims description 4
- 210000004932 little finger Anatomy 0.000 claims description 2
- 239000002861 polymer material Substances 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H7/00—Instruments in which the tones are synthesised from a data store, e.g. computer organs
- G10H7/02—Instruments in which the tones are synthesised from a data store, e.g. computer organs in which amplitudes at successive sample points of a tone waveform are stored in one or more memories
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
本发明公开了一种基于单片机程序的小型鼠标状发声乐器,由鼠标状外壳、单片机、电池、插口、音符按键和音高按键组成,发声载体设计成鼠标状,即为鼠标状外壳,其内部设计有卡槽来固定单片机的位置,并且装有电池,可通过外部的插口来对其充电。鼠标状外壳上面设计有七个呈双排的音符按键,这七个按键分别对应着音乐的1、2、3、4、5、6、7的七个音符的发音;鼠标状外壳的侧面有三个音高按键来控制发音高中低。当音符按键和音高按键按下时,输入端口被拉低,单片机使用内部时钟产生对应频率的方波,通过外部电路驱动扬声器发出对应频率的声音。本发明突破了传统乐器体积大昂贵的特点,实现了在小型载体上演奏的目的,且极大地降低了成本。
The invention discloses a small mouse-shaped musical instrument based on a single-chip microcomputer program, which is composed of a mouse-shaped shell, a single-chip microcomputer, a battery, a socket, a note button and a pitch button. There is a card slot to fix the position of the microcontroller, and it is equipped with a battery, which can be charged through an external socket. There are seven double-row note buttons designed on the mouse-shaped shell, which correspond to the pronunciation of the seven notes of music 1, 2, 3, 4, 5, 6, and 7; there are three buttons on the side of the mouse-shaped shell. A pitch button to control the pronunciation of high, medium and low. When the note button and the pitch button are pressed, the input port is pulled down, the microcontroller uses the internal clock to generate a square wave of the corresponding frequency, and drives the speaker through an external circuit to emit a sound of the corresponding frequency. The invention breaks through the bulky and expensive characteristics of the traditional musical instrument, realizes the purpose of playing on a small carrier, and greatly reduces the cost.
Description
技术领域technical field
本发明涉及一种发声乐器,尤其是一种基于单片机程序的小型载体发声乐器。The invention relates to a sounding musical instrument, in particular to a small carrier sounding musical instrument based on a single-chip microcomputer program.
背景技术Background technique
乐器极大地丰富了人类的业余生活,但是目前市场上的乐器普遍价格比较昂贵,部分乐器体积比较庞大,及其不易操作,因此真正的普及比较受限。为了克服以上缺点,设计了这种基于单片机技术使其能在小型鼠标状载体上实现发声,实现了成本极大的降低,鼠标状载体,使其操作起来极其的简单;另外通过对单片机进行编程,可以实现不同的音色从而形成不同的发声乐器,具有广阔的应用前景。Musical instruments have greatly enriched human's spare time life, but currently the musical instruments on the market are generally expensive, and some musical instruments are relatively bulky and difficult to operate, so the real popularization is relatively limited. In order to overcome the above shortcomings, this single-chip microcomputer-based technology is designed to make sound on a small mouse-like carrier, which greatly reduces the cost. The mouse-like carrier makes it extremely simple to operate; in addition, by programming the single-chip microcomputer , can realize different timbres to form different sounding musical instruments, and has broad application prospects.
中国专利公开了一种基于AT89S52单片机的“音乐盒”设计,使用独立按键实现系统的各类控制转换。但是这类发明只适用于已有系统之间的切换,而没有人去主观能动的操作来实现自己想要的发声。The Chinese patent discloses a "music box" design based on the AT89S52 single-chip microcomputer, which uses independent keys to realize various control conversions of the system. But this kind of invention is only suitable for switching between existing systems, and no one has to operate subjectively and actively to achieve the sound he wants.
因此这种简单易操作且成本低的基于单片机应用的鼠标状乐器是所需的,并且是迄今为止没有被达到的。Therefore, such a mouse-like musical instrument based on a single-chip microcomputer application that is simple, easy to operate and low in cost is desired, and has not been achieved so far.
发明内容Contents of the invention
本发明的目的是为了克服以上的缺点,发明出了一种基于单片机程序来进行演奏功能的小型鼠标状乐器,该发明提供了一种简便易携带、成本较低、功能丰富的一种乐器。The purpose of the present invention is in order to overcome above shortcoming, has invented a kind of small-sized mouse-shaped musical instrument based on single-chip microcomputer program to carry out performance function, and this invention provides a kind of musical instrument that is easy to carry, low in cost, rich in function.
实现上述目的可以通过以下技术方案来实现:To achieve the above purpose can be achieved through the following technical solutions:
一种基于单片机程序的小型鼠标状发声乐器,由鼠标状外壳、单片机、电池、插口、音符按键和音高按键组成,发声载体设计成鼠标状,即为鼠标状外壳,其内部设计有卡槽来固定单片机的位置,并且装有电池,可通过外部的插口来对其充电。鼠标状外壳上面设计有七个呈双排的音符按键,一排有三个音符按键,另一排有四个音符按键,手握鼠标状外壳时,食指、中指和无名指负责按第一排的三个音符按键或第二排的三个音符按键,小拇指只负责按另一排的第四个音符按键;这七个按键分别对应着音乐的1、2、3、4、5、6、7的七个音符的发音;鼠标状外壳的侧面有三个音高按键来控制发音高中低,音高按键可由大拇指控制。A small mouse-like sounding musical instrument based on a single-chip microcomputer program. It is composed of a mouse-shaped shell, a single-chip microcomputer, a battery, a socket, a note button and a pitch button. The position of the microcontroller is fixed, and a battery is installed, which can be charged through an external socket. There are seven note buttons in double rows on the mouse-shaped shell, one row has three note buttons, and the other row has four note buttons. When holding the mouse-shaped shell, the index finger, middle finger and ring finger are responsible for pressing the first row of three The first note button or the second row of three note buttons, the little finger is only responsible for pressing the fourth note button of the other row; these seven buttons correspond to the music 1, 2, 3, 4, 5, 6, 7 respectively. Pronunciation of seven notes; there are three pitch buttons on the side of the mouse-shaped shell to control the high, medium and low pitch, and the pitch buttons can be controlled by the thumb.
本发明一种基于单片机程序的小型鼠标状发声乐器,所述的鼠标状外壳是由聚合物材料制成。The invention is a small mouse-like musical instrument based on a single-chip computer program, and the mouse-like shell is made of polymer material.
本发明一种基于单片机程序的小型鼠标状发声乐器中,所述的鼠标状外壳的外壳形状设计为适应于手掌拿握的鼠标形。In the small mouse-like musical instrument based on the single-chip microcomputer program of the present invention, the shell shape of the mouse-shaped shell is designed to be suitable for the shape of a mouse held by the palm.
本发明一种基于单片机程序的小型鼠标状发声乐器中,所述的电源插口可以使用USB接口,对内部电池进行充电。In the small mouse-shaped musical instrument based on the single-chip microcomputer program of the present invention, the power socket can use a USB interface to charge the internal battery.
本发明一种基于单片机程序的小型鼠标状发声乐器中,所述的发声载体内部卡槽结构可以固定住单片机的位置。In the small mouse-shaped musical instrument based on the single-chip microcomputer program of the present invention, the slot structure inside the sound-producing carrier can fix the position of the single-chip microcomputer.
本发明一种基于单片机程序的小型鼠标状发声乐器中,所述的单片机的内部程序是单片机的输入端口连接微动开关,并且设置输入端口为上拉输入,每20ms查询是否为低电平。当微动开关按下时,输入端口被拉低,单片机使用内部时钟产生对应频率的方波,通过外部电路驱动扬声器发出对应频率的声音。In the present invention a kind of small-sized mouse shape musical instrument based on the single-chip microcomputer program, the internal program of the single-chip microcomputer is that the input port of the single-chip microcomputer is connected to a micro switch, and the input port is set as a pull-up input, and whether it is low level is checked every 20 ms. When the micro switch is pressed, the input port is pulled low, the microcontroller uses the internal clock to generate a square wave of the corresponding frequency, and drives the speaker through an external circuit to emit a sound of the corresponding frequency.
本发明一种基于单片机程序的小型鼠标状发声乐器中,所述的单片机与扬声器之间是单片机的端口串联一个限流电阻然后连接扬声器,扬声器的另一端连接到VCC(电源电压)。In the present invention a kind of small-sized mouse shape sounding musical instrument based on single-chip microcomputer program, between described single-chip microcomputer and loudspeaker, be that the port of single-chip microcomputer connects loudspeaker then with a current-limiting resistor, and the other end of loudspeaker is connected to VCC (power supply voltage).
本发明的效果是:突破了传统乐器体积大昂贵的特点,实现了在小型载体上演奏的目的,且极大地降低了成本。The effect of the invention is: breaking through the large and expensive characteristics of traditional musical instruments, realizing the purpose of playing on a small carrier, and greatly reducing the cost.
附图说明Description of drawings
图1为本发明一种基于单片机程序的小型鼠标状发声乐器的鼠标状外壳结构示意图;Fig. 1 is a kind of mouse-shaped shell structural representation of the small-sized mouse-shaped musical instrument based on single-chip microcomputer program of the present invention;
图2为本发明一种基于单片机程序的小型鼠标状发声乐器的鼠标状外壳的外壳侧面示意图;Fig. 2 is the shell side schematic diagram of the mouse-shaped shell of a kind of small-sized mouse-shaped sounding musical instrument based on the single-chip microcomputer program of the present invention;
图3为一种基于单片机程序的小型鼠标状发声乐器的发声载体内部示意图。Fig. 3 is a schematic diagram inside the sounding carrier of a small mouse-like sounding instrument based on a single-chip microcomputer program.
图中:1-充电口,2-音高按键,3-扬声器,4-螺纹孔,5-单片机卡槽,6-电池卡槽,7-底盖,8-音符按键,9-鼠标状外壳。In the picture: 1-Charging port, 2-Pitch button, 3-Speaker, 4-Threaded hole, 5-MCU card slot, 6-Battery card slot, 7-Bottom cover, 8-Note button, 9-Mouse-like shell .
具体实施方式detailed description
下面结合附图和具体实施例对本发明进行详细说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
如图1和图2所示,一种基于单片机程序的小型鼠标状发声乐器,主要包括音高按键2、扬声器3、USB充电口1、音符按键8和鼠标状外壳9组成。As shown in Figures 1 and 2, a small mouse-like sounding instrument based on a single-chip microcomputer program mainly includes a pitch button 2, a speaker 3, a USB charging port 1, a note button 8 and a mouse-like casing 9.
本发明一种基于单片机程序的小型鼠标状发声乐器,鼠标状外壳9的内部主要包括螺纹孔4、单片机卡槽5、电池卡槽6和底盖7组成。手掌握住外壳9,按动音高按键2和音符按键8,单片机内部相应的程序使扬声器3发出对应的声音来完成整个演奏的过程,如图3所示The present invention is a small mouse-shaped musical instrument based on a single-chip microcomputer program. The inside of the mouse-shaped shell 9 mainly includes a threaded hole 4, a single-chip microcomputer slot 5, a battery slot 6 and a bottom cover 7. Hold the shell 9 with the palm of your hand, press the pitch button 2 and the note button 8, and the corresponding program inside the single-chip microcomputer makes the speaker 3 emit a corresponding sound to complete the entire performance process, as shown in Figure 3
音高按键2一般由大拇指控制,音高按键2分布在鼠标状外壳9的侧面。The pitch button 2 is generally controlled by the thumb, and the pitch button 2 is distributed on the side of the mouse-like shell 9 .
所述的扬声器3放在鼠标状外壳9的侧面,形状为喇叭状。Described loudspeaker 3 is placed on the side of mouse shape shell 9, and the shape is horn shape.
所述的USB充电口1安置在鼠标状外壳9的侧面上。The USB charging port 1 is arranged on the side of the mouse-shaped housing 9 .
如图2所示,所述的用于除大拇指外的音符按键8呈横向双排排列放置在鼠标状外壳9上。As shown in FIG. 2 , the musical note buttons 8 for except the thumb are arranged in double rows horizontally and placed on the mouse-shaped casing 9 .
如图3所示,所述的底盖7放置在鼠标状外壳9的底部,单片机卡槽5放置在底盖7的中间位置,所述的电池卡槽6放在底盖7的下方位置。所述的螺纹孔4分布在底盖7边缘的四周,用于将鼠标状外壳9和底盖7组装成一个整体。As shown in FIG. 3 , the bottom cover 7 is placed on the bottom of the mouse-shaped housing 9 , the single-chip microcomputer card slot 5 is placed in the middle of the bottom cover 7 , and the battery card slot 6 is placed under the bottom cover 7 . The threaded holes 4 are distributed around the edge of the bottom cover 7 for assembling the mouse-like housing 9 and the bottom cover 7 into a whole.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611139137.0A CN106409274A (en) | 2016-12-12 | 2016-12-12 | Single-chip microcomputer program based small sized mouse shaped sound-making musical instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611139137.0A CN106409274A (en) | 2016-12-12 | 2016-12-12 | Single-chip microcomputer program based small sized mouse shaped sound-making musical instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106409274A true CN106409274A (en) | 2017-02-15 |
Family
ID=58084904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611139137.0A Pending CN106409274A (en) | 2016-12-12 | 2016-12-12 | Single-chip microcomputer program based small sized mouse shaped sound-making musical instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106409274A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001265335A (en) * | 2000-03-15 | 2001-09-28 | Casio Comput Co Ltd | Performance information input device and performance information input method |
CN1321966A (en) * | 2000-07-24 | 2001-11-14 | 深圳市中兴通讯股份有限公司 | Method capable of implementing music performance on handset and handset capable of implementing music performance |
DE102004053072A1 (en) * | 2004-11-03 | 2006-05-04 | Rolf Bertelsmeier | Finger operated control for percussion instruments has pressure pads in an ergonomic layout operated by drumming with the finger tips |
CN201590053U (en) * | 2010-01-29 | 2010-09-22 | 广州飞达音响专业器材有限公司 | DJ mouse circuit |
CN102610221A (en) * | 2012-03-08 | 2012-07-25 | 天津大学 | Light-emitting electronic musical instrument with stereoscopic structure |
CN203812192U (en) * | 2014-04-04 | 2014-09-03 | 祁国祥 | Fly mouse with musical instrument playing function |
CN106098046A (en) * | 2016-07-19 | 2016-11-09 | 北京千音互联科技有限公司 | A kind of intelligence palm musical instrument, performance system and method |
CN206331787U (en) * | 2016-12-12 | 2017-07-14 | 北京化工大学 | A kind of small mouse shape sounding musical instrument based on SCM program |
-
2016
- 2016-12-12 CN CN201611139137.0A patent/CN106409274A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001265335A (en) * | 2000-03-15 | 2001-09-28 | Casio Comput Co Ltd | Performance information input device and performance information input method |
CN1321966A (en) * | 2000-07-24 | 2001-11-14 | 深圳市中兴通讯股份有限公司 | Method capable of implementing music performance on handset and handset capable of implementing music performance |
DE102004053072A1 (en) * | 2004-11-03 | 2006-05-04 | Rolf Bertelsmeier | Finger operated control for percussion instruments has pressure pads in an ergonomic layout operated by drumming with the finger tips |
CN201590053U (en) * | 2010-01-29 | 2010-09-22 | 广州飞达音响专业器材有限公司 | DJ mouse circuit |
CN102610221A (en) * | 2012-03-08 | 2012-07-25 | 天津大学 | Light-emitting electronic musical instrument with stereoscopic structure |
CN203812192U (en) * | 2014-04-04 | 2014-09-03 | 祁国祥 | Fly mouse with musical instrument playing function |
CN106098046A (en) * | 2016-07-19 | 2016-11-09 | 北京千音互联科技有限公司 | A kind of intelligence palm musical instrument, performance system and method |
CN206331787U (en) * | 2016-12-12 | 2017-07-14 | 北京化工大学 | A kind of small mouse shape sounding musical instrument based on SCM program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205068302U (en) | Multi -functional keyboard | |
CN210131324U (en) | Recovered electronic hand musical instrument | |
CN103052337A (en) | Pencil case having touch function | |
CN206331787U (en) | A kind of small mouse shape sounding musical instrument based on SCM program | |
CN206672078U (en) | A kind of sound card for possessing voice control function | |
CN107993518A (en) | Wearable Virtual Multi-functional string music plays device | |
CN206908675U (en) | A kind of Dual-band Handy Phone with piano key | |
CN106409274A (en) | Single-chip microcomputer program based small sized mouse shaped sound-making musical instrument | |
CN201017493Y (en) | Point reading pens | |
CN204537065U (en) | Multi-Function Keyboard | |
CN204559836U (en) | Intelligent earphone | |
CN211561826U (en) | Programmable robot toy remote control device | |
CN111312201B (en) | Self-driven electronic organ based on friction nanogenerator and its manufacturing method | |
CN204422977U (en) | A kind of blind person's alarm clock being convenient to blind person's perception | |
CN206312394U (en) | A kind of spoken foreign language training device | |
CN201465325U (en) | Multi-mode automatic integral-semantic sentence identification learning machine | |
CN211604354U (en) | Electronic book capable of sounding by point-press contact | |
CN105023556A (en) | Music box design based on AT 89S52 | |
CN205984261U (en) | Small -size touch pianotron | |
CN216793110U (en) | Rotary wheel type pinyin learning machine | |
CN211237227U (en) | Electronic book with touch and voice functions | |
CN210639797U (en) | Teaching card for Chinese phonetic alphabet | |
CN201853372U (en) | Point reading device with playing card | |
CN202601001U (en) | Audio e-book for children self-study | |
CN203205034U (en) | Improved electronic organ |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170215 |