Distance sensing special effect note sounding toy
By integrating a distance sensor and an MP3 module into an electronic toy, the sound of distance-sensitive special effect notes is realized, which solves the problem of the lack of distance-sensitive special effect note toys in the existing technology, provides a novel music performance experience and cultivates musical quality.
Patent Information
- Application Number
- CN202322943586.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-01
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2033-11-01
AI Technical Summary
The existing technology lacks electronic toys that can play special effect notes through distance sensing, and cannot meet the special sound effect requirements in professional electronic musical instrument playing.
A sound-generating module including a distance sensor, a microcontroller, an MP3 module, a printed circuit board, a battery and a speaker is designed. The distance sensor measures the distance between the blocking object and the sensor, generates a digital code corresponding to the special effect note, and transmits it through the MP3 The module plays the corresponding recording to realize the sounding of distance-sensitive special effect notes.
It realizes switching of special effect note music by changing the distance of blocking objects, providing novel and interesting educational toys to help train pitch and cultivate musical quality.
Smart Images

Figure CN221788124U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic toys, in particular to a distance-sensing special-effect musical note sounding toy. Background Art
[0002] Notes are the basic elements of music. In addition to the characteristics of pitch and duration, they also have the characteristics of timbre. Different musical instruments have different timbres, which allows people to tell which instrument is playing. Special effect notes are notes with special sound effects, such as the calls of various animals, various sounds in nature, etc. They are usually sound effects that have been recorded or electronically synthesized. In theory, they can produce any conceivable effect, even sounds that do not exist in nature. They are occasionally seen in music played by professional electronic instruments. Toys that can emit special effect notes and play music by sensing distance have not yet been made public. Summary of the invention
[0003] In order to fill the gap in special effect note sounding toys, the present disclosure provides a distance sensing special effect note sounding toy.
[0004] The present disclosure provides a distance sensing special effect musical note sounding toy comprising an animal-shaped shell and a sounding module;
[0005] The sound module includes a distance sensor, a microcontroller, an MP3 module, a printed circuit board, a battery, a housing and a speaker;
[0006] The microcontroller and MP3 module are soldered on the printed circuit board and installed in the housing with the battery and speaker;
[0007] The distance sensor is installed inside the animal-shaped housing;
[0008] The distance sensor measures the distance between the obstructing object and the distance sensor, and transmits the electrical signal containing the distance information to the microcontroller through the data line;
[0009] The detection distance of the distance sensor is evenly divided into segments, and each distance corresponds to a special effect note;
[0010] The microcontroller receives the electrical signal from the distance sensor, calculates the distance from the blocking object to the distance sensor, and generates a digital code corresponding to the special effect note. 2 C communication mode output to MP3 module;
[0011] The MP3 module stores the same number of special effect note recordings as the number of distance segments;
[0012] The MP3 module receives the digital code sent by the microprocessor and can play the corresponding special effect note recording through the speaker.
[0013] Furthermore, the animal-shaped shell is a toy dog-shaped shell or a toy cat-shaped shell.
[0014] Further, the distance sensor is installed in the eyes, nose or mouth of the animal-shaped housing.
[0015] Beneficial effect: The present invention discloses a distance-sensing special effect note sounding toy that can play special effect note music, and is a novel and interesting educational toy. By changing the distance of the shielding object to switch the special effect note music, the effect of playing music is achieved, which helps to train pitch and cultivate musical quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 The present invention is a schematic diagram of a sound module of a distance sensing special effect musical note sounding toy.
[0017] Figure 2 The present invention is a flowchart of the working process of a distance-sensing special effect musical note sound-generating toy.
[0018] Figure 3 The present invention is a distance segmentation schematic diagram of a distance sensing special effect musical note sounding toy.
[0019] Figure 4 The present invention is a schematic diagram of the sound effect of a distance-sensing special-effect musical note sounding toy (cat).
[0020] Figure 5 The present invention is a schematic diagram of an embodiment of a distance sensing special effect musical note sounding toy.
[0021] Figure 6 The present invention is a schematic diagram of relevant data information corresponding to each distance segment of a distance-sensing special-effect musical note sounding toy. DETAILED DESCRIPTION
[0022] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.
[0023] In the embodiments of the present disclosure, it should be understood that terms such as "including" or "having" are intended to indicate the existence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in this specification, and are not intended to exclude the possibility of one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof existing or being added.
[0024] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0025] Figure 1This is a schematic diagram of a sound module of a distance sensing special effect musical note sounding toy. As shown in the figure, a distance sensing special effect musical note sounding toy includes an animal-shaped shell and a sound module;
[0026] The sound module includes a distance sensor 1, a microcontroller 2, an MP3 module 3, a printed circuit board 4, a battery 5, a housing 6 and a speaker 7;
[0027] The microcontroller 2 and the MP3 module 3 are soldered on a printed circuit board 4 and installed in a housing 6 together with a battery 5 and a speaker 7;
[0028] The distance sensor 2 is installed inside the animal-shaped housing;
[0029] The distance sensor 2 measures the distance between the blocking object and the distance sensor 1, and transmits the electrical signal containing the distance information to the microcontroller 2 through the data line;
[0030] The detection distance of distance sensor 1 is evenly divided into segments, and each distance segment corresponds to a special effect note;
[0031] The microcontroller 2 receives the electrical signal from the distance sensor 1, calculates the distance between the blocking object and the distance sensor 1, and generates a digital code corresponding to the special effect note. 2 C communication mode is output to MP3 module 3;
[0032] The MP3 module 3 stores recordings of special effect notes in the same number as the distance segments;
[0033] The MP3 module 3 receives the digital code sent by the microprocessor 2 and can play the corresponding special effect note recording through the speaker 7.
[0034] Figure 5 This is a schematic diagram of an embodiment of a distance sensing special effect musical note sounding toy. The animal-shaped shell is a toy dog-shaped shell ( Figure 5 (a)) and a toy cat shaped shell ( Figure 5 (b)). The sound module is installed inside the animal shell, and the distance sensor 1 is installed inside the eyes, nose or mouth of the animal-shaped shell, or placed inside the bow tie or hat of the animal-shaped shell, or can be placed on the back of the animal-shaped shell.
[0035] The following is a flowchart of the workflow ( Figure 2 ), distance segmentation diagram ( Figure 3 ) and performance effect diagram ( Figure 4 ) describes the specific implementation mode of the utility model.
[0036] In the embodiment, the ranging sensor 1 uses a GY-530 type ToF (Time-of-Flight) sensor module, which integrates a 940-nanometer vertical cavity surface emitting laser, a photon detector, a microprocessor, etc.
[0037] The microcontroller 2 uses a Mini Pro ATMEGA328P type microcontroller module, which contains an Atmel Atmega328P-AU single-chip microcomputer and has multiple I / O ports and various control functions.
[0038] The MP3 module 3 uses a DFR0299 type open-source MP3 voice playback control module, which has an I 2 C communication mode, can store enough special effect note files, and play them respectively according to instructions.
[0039] The battery 5 is a 18650 type lithium battery.
[0040] The speaker 7 uses a 2W 8R type small speaker, 2W watts, 8 ohms, with a diameter of 28mm and a thickness of 6mm.
[0041] In the embodiment, the sensing range 32cm of the ranging sensor 1 is evenly divided into 8 segments, and each segment of distance is 4cm. The 8 segments of distance represent an octave in music, that is, 8 scales of "do, re, mi, fa, so, la, ti, do" (such as Figure 6 ). When the occluding object is at a distance of 0-4cm from the distance sensor 1, that is, in distance segment 1, the microcontroller 2 issues the code of the first segment, and the MP3 module plays a special effect note with a frequency of 261.6Hz, that is, the "do" of the standard pitch; when the occluding object is at a distance of 4-8cm from the distance sensor 1, that is, in distance segment 2, the microcontroller issues the code of the second segment, and the MP3 module plays a special effect note with a frequency of 293.7Hz, that is, the "re" of the standard pitch, and so on, until the last segment (distance segment 8) emits the high "do" of 523.3H. When the distance exceeds 32cm, there will be no sound. The pitch names, pitches, and frequencies of each scale are strictly corresponding according to professional standards.
[0042] Specific implementation method: The hand of the performer is the occluding object. The distance sensor 1 measures the distance between the hand and the distance sensor 1, and transmits the electrical signal containing the distance information to the microcontroller 2 through the data line. Inside the microcontroller 2, the sensing range 32cm is evenly divided into 8 segments, and each segment of distance corresponds to a special effect note. The microcontroller 2 receives the electrical signal sent by the distance sensor 1, calculates the distance between the occluding object and the distance sensor 1, generates a digital code corresponding to the special effect note, and outputs it to the MP3 module 3 in I 2 C communication mode. The MP3 module 3 receives the digital code sent by the microprocessor 2 and can play the corresponding special effect note recording through the speaker 7. As the hand moves continuously, the change of the scale is generated, realizing music performance.
Claims
1. A distance-sensing special-effect musical note sounding toy, comprising an animal-shaped shell and a sounding module, characterized in that: The sound module includes a distance sensor, a microcontroller, an MP3 module, a printed circuit board, a battery, a housing and a speaker; The microcontroller and MP3 module are soldered on the printed circuit board and installed in the housing with the battery and speaker; The distance sensor is installed inside the animal-shaped housing; The distance sensor measures the distance between the obstructing object and the distance sensor, and transmits the electrical signal containing the distance information to the microcontroller through the data line; The detection distance of the distance sensor is evenly divided into segments, and each distance corresponds to a special effect note; The microcontroller receives the electrical signal from the distance sensor, calculates the distance from the blocking object to the distance sensor, and generates a digital code corresponding to the special effect note. 2 C communication mode output to MP3 module; The MP3 module stores the same number of special effect note recordings as the number of distance segments; The MP3 module receives the digital code sent by the microprocessor and can play the corresponding special effect note recording through the speaker.
2. A distance sensing special effect musical note sounding toy according to claim 1, characterized in that The animal-shaped shell is a toy dog-shaped shell or a toy cat-shaped shell.
3. A distance sensing special effect musical note sounding toy according to claim 1, characterized in that The distance sensor is installed in the eye, nose or mouth of the animal-shaped shell.
