CN211455282U - Laser harp based on single chip microcomputer - Google Patents

Laser harp based on single chip microcomputer Download PDF

Info

Publication number
CN211455282U
CN211455282U CN201922278107.3U CN201922278107U CN211455282U CN 211455282 U CN211455282 U CN 211455282U CN 201922278107 U CN201922278107 U CN 201922278107U CN 211455282 U CN211455282 U CN 211455282U
Authority
CN
China
Prior art keywords
chip microcomputer
single chip
emitting diode
singlechip
resistor
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
Application number
CN201922278107.3U
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.)
Zhejiang Industry and Trade Vocational College
Original Assignee
Zhejiang Industry and Trade Vocational College
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 Zhejiang Industry and Trade Vocational College filed Critical Zhejiang Industry and Trade Vocational College
Priority to CN201922278107.3U priority Critical patent/CN211455282U/en
Application granted granted Critical
Publication of CN211455282U publication Critical patent/CN211455282U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Illuminated Signs And Luminous Advertising (AREA)

Abstract

The utility model discloses a laser harp based on singlechip, including singlechip U1, emitting diode L1 ~ emitting diode L7, high pitch display LED _ H, well sound display LED _ M, bass display LED _ L, MUSIC play switch MUSIC, high and medium bass change over switch CUT, bee calling organ Bell and receiver J1 ~ receiver J7, 1 foot of singlechip U1 is connected in emitting diode L1, behind the emitting diode L1 series resistance R1, connect in the positive VCC of power, 2 feet of singlechip U1 are connected in emitting diode L2, behind the emitting diode L2 series resistance R2, connect in the positive VCC of power, 3 feet of singlechip U1 connect in emitting diode L3 in series, behind the emitting diode L3 resistance R3, connect in the positive VCC of power. This laser harp based on singlechip, circuit design is reasonable, the function is perfect, will improve work efficiency greatly through singlechip control circuit.

Description

Laser harp based on single chip microcomputer
Technical Field
The utility model relates to a laser harp control circuit technical field specifically is a laser harp based on singlechip.
Background
With the rapid advance of scientific technology, the living standard of people is improved, the life of people is more wonderful, and the electronic organ can be said to be the embodiment of the fusion of the two. The MCU can be called as a micro control unit, also called as a singlechip. The laser harp is a harp without strings, and is replaced by bright light beams, so that a user can still play a melody just like shifting the strings by shifting the light beams. However, the existing laser harp control circuit has the problems of design defects and incomplete functions.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a laser harp based on singlechip, circuit design is reasonable, the function is perfect, will improve work efficiency greatly through single chip microcomputer control circuit, can solve the problem among the prior art.
In order to achieve the above object, the utility model provides a following technical scheme: a laser harp based on a singlechip comprises a singlechip U1, LEDs L1-L7, a high-pitch display LED _ H, a middle-pitch display LED _ M, a low-pitch display LED _ L, a MUSIC play switch MUSIC, a high-middle-pitch change-over switch CUT, a buzzer Bell, a receiver J1-J7, a pin 1 of the singlechip U1 is connected with the LED L1, the LED L1 is connected with a resistor R1 in series and then connected with a positive power VCC, a pin 2 of the singlechip U1 is connected with the LED L2, the LED L2 is connected with a resistor R2 in series and then connected with a positive power VCC, a pin 3 of the singlechip U1 is connected with the LED L3, the LED L3 is connected with a resistor R3 in series and then connected with a positive power VCC, a pin 4 of the LED 46U 1 is connected with the LED L4, the LED L4 is connected with a resistor R4 in series and then connected with the positive power VCC, singlechip U1's 5 feet are connected in emitting diode L5, emitting diode L5 concatenates behind resistance R5, connects in the positive VCC of power, singlechip U1's 6 feet are connected in emitting diode L6, emitting diode L6 concatenates behind resistance R6, connects in the positive VCC of power, singlechip U1's 7 feet are connected in emitting diode L7, emitting diode L7 concatenates behind resistance R7, connects in the positive VCC of power.
Preferably, the pin 13 of the single chip microcomputer U1 is connected to a MUSIC playing switch MUSIC, the MUSIC playing switch MUSIC is connected to the power supply negative GND, the pin 14 of the single chip microcomputer U1 is connected to a resistor R27, the resistor R27 is connected to the base of a triode Q1, and the emitter of the triode Q1 is connected to the buzzer Bell.
Preferably, singlechip U1's 15 feet are connected in high-pitched display LED _ H, and high-pitched display LED _ H concatenates behind resistance R32, connects in the positive VCC of power, singlechip U1's 16 feet are connected in middle-pitched display LED _ M, and after middle-pitched display LED _ M concatenated behind resistance R31, connect in the positive VCC of power, singlechip U1's 17 feet are connected in low-pitched display LED _ L, and after low-pitched display LED _ L concatenated resistance R30, connect in the positive VCC of power.
Preferably, a pin 21 of the single chip microcomputer U1 is connected to a high, medium and low tone switch CUT, the high, medium and low tone switch CUT is connected to a power supply negative GND, pins 22 to 28 of the single chip microcomputer U1 are connected to circuit interfaces of the receivers J1 to J7, and the receivers J1 to J7 are connected to a power supply positive VCC after being connected in series with a resistor R8 to a resistor R14.
Preferably, the receivers J1-J7 are all photoresistor elements.
Compared with the prior art, the beneficial effects of the utility model are as follows:
1. according to the laser harp based on the single chip microcomputer, when the receivers J1-J7 do not receive laser changes, the single chip microcomputer U1 can read the high and low potential changes of the receivers J1-J7 more conveniently to complete input of operation instructions, the single chip microcomputer U1 controls data to be transmitted through a serial port according to instruction information, and assigns values to the buzzer Bell and the ports corresponding to the light emitting diodes L1-L7 to enable the buzzer Bell and the ports to generate corresponding reactions.
2. When laser irradiates, the singlechip U1 reads the voltage of the receiver J1-receiver J7, and the voltage is at low level. When no laser is irradiated, the singlechip U1 reads the voltages of the receivers J1-J7, and the voltage is at a high level; therefore, when the laser beam is blocked, the switching effect can be produced in the circuit.
3. The laser harp based on the single chip microcomputer generates audio through a 16-bit timer carried by the single chip microcomputer U1, and calculates to obtain an audio half period; therefore, in a half period, the level of a jump pin of the singlechip U1 can generate a 440Hz square wave of a harp standard tone, and the standard tone sound can be generated through the conversion of the buzzer Bell.
Drawings
Fig. 1 is a schematic circuit diagram of the present invention;
fig. 2 is a flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
Referring to fig. 1-2, a laser harp based on a single chip microcomputer includes a single chip microcomputer U1, light emitting diodes L1-L7, a high pitch display LED _ H, a middle pitch display LED _ M, a low pitch display LED _ L, a MUSIC play switch MUSIC, a high, middle and low pitch switch CUT, a buzzer Bell and a receiver J1-J7, a pin 1 of the single chip microcomputer U1 is connected to a light emitting diode L1, a light emitting diode L1 is connected to a power supply positive VCC after being connected in series with a resistor R1, a pin 2 of the single chip microcomputer U1 is connected to a light emitting diode L2, a light emitting diode L2 is connected to a power supply positive VCC after being connected in series with a resistor R2, a pin 3 of the single chip microcomputer U1 is connected to a light emitting diode L3, a pin L3 is connected to a resistor R5 in series with a power supply positive VCC, a pin 4 of the single chip microcomputer U1 is connected to a light emitting diode L4, a light emitting diode L4 is connected to a power supply positive VCC, a, the LED L5 is connected with the power supply positive VCC after being connected with the resistor R5 in series, the pin 6 of the singlechip U1 is connected with the LED L6, the LED L6 is connected with the resistor R6 in series and is connected with the power supply positive VCC, the pin 7 of the singlechip U1 is connected with the LED L7, and the LED L7 is connected with the power supply positive VCC after being connected with the resistor R7 in series; a pin 13 of the singlechip U1 is connected with a MUSIC playing switch MUSIC which is connected with a power supply negative GND, a pin 14 of the singlechip U1 is connected with a resistor R27, a resistor R27 is connected with a base electrode of a triode Q1, and an emitter of a triode Q1 is connected with a buzzer Bell; a pin 15 of the single chip microcomputer U1 is connected to a high-pitch display LED _ H, the high-pitch display LED _ H is connected with a resistor R32 in series and then is connected to a positive power VCC, a pin 16 of the single chip microcomputer U1 is connected to a middle-pitch display LED _ M, the middle-pitch display LED _ M is connected with a resistor R31 in series and then is connected to a positive power VCC, a pin 17 of the single chip microcomputer U1 is connected to a low-pitch display LED _ L, and the low-pitch display LED _ L is connected with a resistor R30 in series and then; a pin 21 of the single chip microcomputer U1 is connected with a high, middle and low sound change-over switch CUT, the high, middle and low sound change-over switch CUT is connected with a power supply negative GND, pins 22 to 28 of the single chip microcomputer U1 are respectively connected with circuit interfaces of the receivers J1 to J7, and the receivers J1 to J7 are respectively connected with a resistor R8 to a resistor R14 in series and then are connected with a power supply positive VCC.
According to the laser harp based on the single chip microcomputer, the receivers J1-J7 are all photoresistance components, so that when the receivers J1-J7 do not receive laser changes, the single chip microcomputer U1 can read the high and low potential changes of the receivers J1-J7 more conveniently to complete the input of operation instructions, the single chip microcomputer U1 controls data to transmit data through a serial port according to instruction information, and the buzzer Bell and the ports corresponding to the light emitting diodes L1-L7 are assigned to generate corresponding reactions.
When laser irradiates, the singlechip U1 reads the voltage of the receiver J1-receiver J7, and the voltage is at low level. When no laser is irradiated, the singlechip U1 reads the voltages of the receivers J1-J7, and the voltage is at a high level; therefore, when the laser beam is blocked, the switching effect can be produced in the circuit.
The laser harp based on the single chip microcomputer generates audio through a 16-bit timer carried by the single chip microcomputer U1, and calculates to obtain an audio half period; therefore, in a half period, the level of a jump pin of the singlechip U1 can generate a 440Hz square wave of a harp standard tone, and the standard tone sound can be generated through the conversion of the buzzer Bell.
Performance mode: pressing MUSIC play switch MUSIC, the system automatically reads the songs in the program, automatically calculates the tone and beat of the notes, judges whether the MUSIC is finished once playing a note, returns to the initial state if the MUSIC is finished, and continues playing if the MUSIC is not finished.
Playing mode: the single chip microcomputer U1 monitors whether light is cut off or not, if the light is cut off, the single chip microcomputer U1 identifies which light beam is cut off, the corresponding light emitting diode lights up, and the buzzer Bell sounds; the single chip microcomputer U1 detects whether the light is recovered, if so, the buzzer Bell stops, and if not, the buzzer Bell continues to sound.
In summary, the following steps: this laser harp based on singlechip, circuit design is reasonable, the function is perfect, will improve work efficiency greatly through singlechip control circuit, therefore effectively solve prior art problem.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (5)

1. The utility model provides a laser harp based on singlechip, includes singlechip U1, emitting diode L1 ~ emitting diode L7, high pitch display LED _ H, middle pitch display LED _ M, bass display LED _ L, MUSIC play switch MUSIC, high and middle bass change over switch CUT, bee calling organ Bell and receiver J1 ~ receiver J7, its characterized in that: a pin 1 of the single chip microcomputer U1 is connected to a light emitting diode L1, a pin 2 of the single chip microcomputer U1 is connected to a light emitting diode L2 after being connected in series with a resistor R1, a pin 3 of the single chip microcomputer U1 is connected to a power supply positive VCC after being connected in series with a resistor R3, a pin 4 of the single chip microcomputer U1 is connected to a light emitting diode L4, a pin 3 of the single chip microcomputer U1 is connected to a light emitting diode L3 after being connected in series with a resistor R3, the light emitting diode L3 is connected to the power supply positive VCC after being connected in series with a resistor R3, a pin 6 of the single chip microcomputer U1 is connected to a light emitting diode L6 after being connected to a resistor R4, a pin 5 of the single chip microcomputer U1 is connected to a power supply positive VCC after being connected in series with a resistor R5, a pin 7 of the single chip microcomputer U6 is connected to a light emitting diode L6, and the light-emitting diode L7 is connected with the resistor R7 in series and then is connected with a power supply positive VCC.
2. The laser harp based on the single chip microcomputer according to claim 1, characterized in that: the 13 pins of the single chip microcomputer U1 are connected with a MUSIC playing switch MUSIC which is connected with a power supply negative GND, the 14 pin of the single chip microcomputer U1 is connected with a resistor R27, a resistor R27 is connected with the base electrode of a triode Q1, and the emitter of the triode Q1 is connected with a buzzer Bell.
3. The laser harp based on the single chip microcomputer according to claim 1, characterized in that: singlechip U1's 15 feet are connected in high-pitched display LED _ H, and high-pitched display LED _ H concatenates behind resistance R32, connects in the positive VCC of power, singlechip U1's 16 feet are connected in middle-pitched display LED _ M, and middle-pitched display LED _ M concatenates behind resistance R31, connects in the positive VCC of power, singlechip U1's 17 feet are connected in low-pitched display LED _ L, and low-pitched display LED _ L concatenates behind resistance R30, connects in the positive VCC of power.
4. The laser harp based on the single chip microcomputer according to claim 1, characterized in that: the device comprises a singlechip U1, a pin 21 of the singlechip U1, a high, medium and low tone switch CUT, a power supply negative GND, pins 22 to 28 of the singlechip U1, receivers J1 to J7, a receiver J1 to a receiver J7, a resistor R8 to a resistor R14 which are connected in series respectively, and then the receiver is connected to a power supply positive VCC.
5. The laser harp based on the single chip microcomputer according to claim 1, characterized in that: the receivers J1-J7 are all photoresistor elements.
CN201922278107.3U 2019-12-17 2019-12-17 Laser harp based on single chip microcomputer Active CN211455282U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922278107.3U CN211455282U (en) 2019-12-17 2019-12-17 Laser harp based on single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922278107.3U CN211455282U (en) 2019-12-17 2019-12-17 Laser harp based on single chip microcomputer

Publications (1)

Publication Number Publication Date
CN211455282U true CN211455282U (en) 2020-09-08

Family

ID=72298924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922278107.3U Active CN211455282U (en) 2019-12-17 2019-12-17 Laser harp based on single chip microcomputer

Country Status (1)

Country Link
CN (1) CN211455282U (en)

Similar Documents

Publication Publication Date Title
US5668333A (en) Musical rainbow toy
CN2845878Y (en) Intelligent toy with color identifying function
CN203773930U (en) Electrical piano
CN206370290U (en) A kind of laser harp
CN211455282U (en) Laser harp based on single chip microcomputer
CN201983181U (en) Stage lamp capable of adjusting brightness through audio signals
CN207503630U (en) A kind of intelligent electric musical instrument that keyboard is freely combined
CN103899971A (en) Folding table lamp
CN207298883U (en) A kind of intelligent interaction LED outdoor lights process and equipments
CN202996282U (en) Photoelectric colorful organ
CN205984262U (en) Electronic organ
CN209232393U (en) A kind of thumb piano of novel bright indicator light
CN206557667U (en) A kind of computer monitor with illumination functions
CN210629916U (en) Lamp drive control circuit based on single chip microcomputer
CN101996624A (en) Method for performing chord figure and rhythm figure by monochord of electric guitar
CN202168258U (en) A light fixture having a voice control and a voice play function
CN105023556A (en) Music box design based on AT 89S52
CN205142611U (en) LED flowing water lamp music of discolouing christmas tree
CN212230058U (en) Touch type water lamp electronic organ
JP2737117B2 (en) Electronic musical instrument
CN216435238U (en) Control system for ancient lyre teaching
CN209048861U (en) Acousto-optic hypnotic instrument
CN108419176A (en) Singing method and device sing equipment
CN209608840U (en) Baffle Box of Bluetooth
CN106297758A (en) A kind of electric guitar of band sound-recording function

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant