CN210629916U - Lamp drive control circuit based on single chip microcomputer - Google Patents

Lamp drive control circuit based on single chip microcomputer Download PDF

Info

Publication number
CN210629916U
CN210629916U CN201921656796.0U CN201921656796U CN210629916U CN 210629916 U CN210629916 U CN 210629916U CN 201921656796 U CN201921656796 U CN 201921656796U CN 210629916 U CN210629916 U CN 210629916U
Authority
CN
China
Prior art keywords
module
chip microcomputer
single chip
resistor
triode
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.)
Expired - Fee Related
Application number
CN201921656796.0U
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.)
Nanning University
Original Assignee
Nanning 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 Nanning University filed Critical Nanning University
Priority to CN201921656796.0U priority Critical patent/CN210629916U/en
Application granted granted Critical
Publication of CN210629916U publication Critical patent/CN210629916U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The utility model discloses a lamp drive control circuit based on singlechip, including power VCC, power interface module, central control module, sound module, matrix keyboard module, LED flowing water lamp module, the power VCC is connected with power interface module, central control module, sound module, matrix keyboard module, LED flowing water lamp module respectively, central control module's output and LED flowing water lamp module, sound module are connected, central control module's input and matrix keyboard module, power supply module are connected and have been fused the advantage and the function of flowing water lamp circuit and the two of electron musical instrument circuit, added the function that the music circuit danced along with flowing water lamp rhythm and the function that the button triggered the note rhythm and corresponds the flashing of flowing water lamp to this has compensatied the not enough of single flowing water lamp circuit.

Description

Lamp drive control circuit based on single chip microcomputer
Technical Field
The utility model relates to a lamp drive control circuit based on singlechip.
Background
With the progress of science and technology and the development of society, the electronic organ is a novel keyboard instrument as a product of the combination of modern electronic science and technology and music. The music playing device plays an important role in modern music, and the single chip microcomputer has a strong control function and flexible programming realization characteristics. The invention mainly relates to a driving control circuit of an acousto-optic electronic organ love heart water lamp based on an STC89C51/52 single chip microcomputer serving as a core control element. The single chip microcomputer is used as a main control core, and the single chip microcomputer, a keyboard, a loudspeaker, an LED colorful lamp and other modules form a core main control module, and 16 keys and loudspeakers are arranged on the main control module.
Moreover, through continuous exploration and knowledge and understanding of circuits of the traditional electronic organ and the water lamp, the traditional electronic organ and the water lamp are realized by using a programming language of a single chip microcomputer, and the water lamp has a single function, can only play music but cannot play the music at will, can only see the effect of the water lamp but cannot dance along with the music.
SUMMERY OF THE UTILITY MODEL
In order to solve the technical problem, the utility model provides a lamp drive control circuit based on singlechip.
The utility model discloses a following technical scheme can realize.
The utility model provides a pair of lamp drive control circuit based on singlechip, including power VCC, power interface module, central control module, sound module, matrix keyboard module, LED flowing water lamp module, the power VCC is connected with power interface module, central control module, sound module, matrix keyboard module, LED flowing water lamp module respectively, and central control module's output and LED flowing water lamp module, sound module are connected, and central control module's input and matrix keyboard module, power supply module are connected.
The central control module comprises a single chip microcomputer U1, a crystal oscillator Y1, capacitors C1-C3, a resistor R5 and a light touch key S0, wherein pins 18 and 19 of the single chip microcomputer U1 are respectively connected with two ends of the crystal oscillator Y1, two ends of the crystal oscillator Y1 are respectively connected with one end of a capacitor C2 and one end of a capacitor C3, the other end of a capacitor C2 and the other end of a capacitor C2 are respectively grounded, one end of a capacitor C1 is connected with a power supply VCC, the other end of a capacitor C1 is connected with one end of a resistor R5, the other end of a resistor R5 is grounded, the light touch key S1 is connected with two ends of the capacitor C1 in parallel, a pin 9 of the single chip microcomputer U1 is connected to a node between the capacitor C1 and the resistor R5, pins 40 and 31 of the single chip microcomputer U1 are.
The matrix keyboard module comprises touch keys S1-S10, one ends of touch switches S1-S8 are respectively grounded, the other ends of the touch switches S1-S8 are respectively connected with pins 10-17 of the single chip microcomputer U1, one ends of the touch switches S9-S10 are respectively grounded, and the other ends of the touch switches S9-S10 are respectively connected with pins 1 and 2 of the single chip microcomputer U1.
The sound module comprises a buzzer BEEP, a resistor R1, a resistor R2, a triode Q1 and a triode Q2, wherein the positive pole of the buzzer BEEP is connected with a power VCC, the negative pole of the buzzer BEEP is connected with one end of a resistor R2, the other end of the resistor R2 is respectively connected with the collector of the triode Q1 and the collector of the triode Q2, the emitter of the triode Q1 is connected with the base of the triode Q2, the emitter of the triode Q2 is grounded, the base of the triode Q1 is connected with one end of a resistor R1, and the other end of the resistor R4 is connected with a pin 5 of the singlechip U46.
The LED water lamp module comprises a plurality of diodes and a plurality of resistors, the anode of each diode is connected with a power supply VCC, the cathode of each diode is connected with one end of each resistor, and the other end of each resistor is connected with the single chip microcomputer U1.
The power interface module is a power interface J1, a pin 1 of the power interface J1 is grounded, and a pin 2 of the power interface J2 outputs a power VCC.
The model of the single chip microcomputer U1 is STC89C 52; the model of the transistor Q1 and the transistor Q2 is 8050.
The beneficial effects of the utility model reside in that: the system avoids the problems of interruption and interference of the conventional key input signal through the direct connection of the key switch and the single chip microcomputer, so that the single chip microcomputer can accurately receive the key signal, a Darlington structure is formed by two triodes on the sound output, the effect of the loudspeaker is increased, the advantages and functions of the flowing water lamp circuit and the electronic organ circuit are fused, the function that the music circuit dances along with the rhythm of the flowing water lamp and the function that the key triggers the rhythm of the note to correspond to the flickering of the flowing water lamp are added, and the defect of a single flowing water lamp circuit is overcome.
Drawings
Fig. 1 is a schematic circuit diagram of the present invention.
Detailed Description
The technical solution of the present invention is further described below, but the scope of the claimed invention is not limited to the described.
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The utility model provides a lamp drive control circuit based on singlechip, includes power VCC, power interface module, central control module, sound module, matrix keyboard module, LED flowing water lamp module, the power VCC is connected with power interface module, central control module, sound module, matrix keyboard module, LED flowing water lamp module respectively, and central control module's output is connected with LED flowing water lamp module, sound module, and central control module's input is connected with matrix keyboard module, power supply module.
The central control module comprises a singlechip U1, a crystal oscillator Y1, capacitors C1-C3, a resistor R5 and a light touch key S0, wherein a pin 18 and a pin 19 of the singlechip U1 are respectively connected with two ends of the crystal oscillator Y1, two ends of the crystal oscillator Y1 are respectively connected with one end of a capacitor C2 and one end of a capacitor C3, the other end of a capacitor C2 and the other end of a capacitor C2 are respectively grounded, one end of a capacitor C1 is connected with a power supply VCC, the other end of a capacitor C1 is connected with one end of a resistor R5, the other end of a resistor R5 is grounded, the light touch key S1 is connected in parallel with two ends of the capacitor C1, a pin 9 of the singlechip U1 is connected to a node between the capacitor C1 and the resistor R5, a pin 40 and a pin 31 of the singlechip U1 are respectively.
The matrix keyboard module comprises touch keys S1-S10, one ends of touch switches S1-S8 are respectively grounded, the other ends of the touch switches S1-S8 are respectively connected with 10 feet-17 feet of the single chip microcomputer U1, one ends of the touch switches S9-S10 are respectively grounded, the other ends of the touch switches S9-S10 are respectively connected with 1 foot and 2 feet of the single chip microcomputer U1, and the matrix keyboard module provides a key keyboard for a user to realize the keyboard function of the electronic organ.
The sound module comprises a buzzer BEEP, a resistor R1, a resistor R2, a triode Q1 and a triode Q2, wherein the positive pole of the buzzer BEEP is connected with a power VCC, the negative pole of the buzzer BEEP is connected with one end of a resistor R2, the other end of the resistor R2 is respectively connected with the collector of the triode Q1 and the collector of the triode Q2, the emitter of the triode Q1 is connected with the base of the triode Q2, the emitter of the triode Q2 is grounded, the base of the triode Q1 is connected with one end of a resistor R1, and the other end of the resistor R4 is connected with a pin 5 of the singlechip U.
The LED water lamp module comprises a plurality of diodes and a plurality of resistors, the anode of each diode is connected with a power supply VCC, the cathode of each diode is connected with one end of each resistor, the other end of each resistor is connected with the single chip microcomputer U1, and the LED water lamp module receives an instruction of the single chip microcomputer U1 to display different effects.
The power interface module is a power interface J1, a pin 1 of the power interface J1 is grounded, and a pin 2 of the power interface J2 outputs a power VCC.
The model of the singlechip U1 is STC89C 52; the model of the transistor Q1 and the transistor Q2 is 8050.
The working principle of the system is as follows: the key presses down the note that will express at will, gives the main part circuit as the level, and central processing unit is through discerning, decodes output note, and the processing procedure is accomplished in singlechip U1, and singlechip U1 can read the operation of data to note input signal, has read the value of corresponding register after, and singlechip U1 handles the data of reading, and the rethread IO mouth is played the music through the speaker.

Claims (7)

1. The utility model provides a lamp drive control circuit based on singlechip which characterized in that: the LED water lamp power supply comprises a power supply VCC, a power supply interface module, a central control module, a sound module, a matrix keyboard module and an LED water lamp module, wherein the power supply VCC is respectively connected with the power supply interface module, the central control module, the sound module, the matrix keyboard module and the LED water lamp module, the output end of the central control module is connected with the LED water lamp module and the sound module, and the input end of the central control module is connected with the matrix keyboard module and the power supply module.
2. The lamp driving control circuit based on the single chip microcomputer according to claim 1, wherein: the central control module comprises a single chip microcomputer U1, a crystal oscillator Y1, capacitors C1-C3, a resistor R5 and a light touch key S0, wherein pins 18 and 19 of the single chip microcomputer U1 are respectively connected with two ends of the crystal oscillator Y1, two ends of the crystal oscillator Y1 are respectively connected with one end of a capacitor C2 and one end of a capacitor C3, the other end of a capacitor C2 and the other end of a capacitor C2 are respectively grounded, one end of a capacitor C1 is connected with a power supply VCC, the other end of a capacitor C1 is connected with one end of a resistor R5, the other end of a resistor R5 is grounded, the light touch key S1 is connected with two ends of the capacitor C1 in parallel, a pin 9 of the single chip microcomputer U1 is connected to a node between the capacitor C1 and the resistor R5, pins 40 and 31 of the single chip microcomputer U1 are.
3. The lamp driving control circuit based on the single chip microcomputer according to claim 1, wherein: the matrix keyboard module comprises touch keys S1-S10, one ends of touch switches S1-S8 are respectively grounded, the other ends of the touch switches S1-S8 are respectively connected with pins 10-17 of the single chip microcomputer U1, one ends of the touch switches S9-S10 are respectively grounded, and the other ends of the touch switches S9-S10 are respectively connected with pins 1 and 2 of the single chip microcomputer U1.
4. The lamp driving control circuit based on the single chip microcomputer according to claim 1, wherein: the sound module comprises a buzzer BEEP, a resistor R1, a resistor R2, a triode Q1 and a triode Q2, wherein the positive pole of the buzzer BEEP is connected with a power VCC, the negative pole of the buzzer BEEP is connected with one end of a resistor R2, the other end of the resistor R2 is respectively connected with the collector of the triode Q1 and the collector of the triode Q2, the emitter of the triode Q1 is connected with the base of the triode Q2, the emitter of the triode Q2 is grounded, the base of the triode Q1 is connected with one end of a resistor R1, and the other end of the resistor R1 is connected with a pin 5 of the singlechip U46.
5. The lamp driving control circuit based on the single chip microcomputer according to claim 1, wherein: the LED water lamp module comprises a plurality of diodes and a plurality of resistors, the anode of each diode is connected with a power supply VCC, the cathode of each diode is connected with one end of each resistor, and the other end of each resistor is connected with the single chip microcomputer U1.
6. The lamp driving control circuit based on the single chip microcomputer according to claim 1, wherein: the power interface module is a power interface J1, a pin 1 of the power interface J1 is grounded, and a pin 2 of the power interface J2 outputs a power VCC.
7. The lamp driving control circuit based on the single chip microcomputer according to claim 2, wherein: the model of the single chip microcomputer U1 is STC89C 52; the model of the transistor Q1 and the transistor Q2 is 8050.
CN201921656796.0U 2019-09-30 2019-09-30 Lamp drive control circuit based on single chip microcomputer Expired - Fee Related CN210629916U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921656796.0U CN210629916U (en) 2019-09-30 2019-09-30 Lamp drive control circuit based on single chip microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921656796.0U CN210629916U (en) 2019-09-30 2019-09-30 Lamp drive control circuit based on single chip microcomputer

Publications (1)

Publication Number Publication Date
CN210629916U true CN210629916U (en) 2020-05-26

Family

ID=70761405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921656796.0U Expired - Fee Related CN210629916U (en) 2019-09-30 2019-09-30 Lamp drive control circuit based on single chip microcomputer

Country Status (1)

Country Link
CN (1) CN210629916U (en)

Similar Documents

Publication Publication Date Title
CN203773930U (en) Electrical piano
CN204215716U (en) Inflatable electronic jazz drum
CN207503630U (en) A kind of intelligent electric musical instrument that keyboard is freely combined
WO2022218259A1 (en) Electronic musical instrument
CN210629916U (en) Lamp drive control circuit based on single chip microcomputer
WO2004049078A1 (en) Electronic apparatus for indicating beat and correcting tone and control method thereof
CN204695769U (en) There is the fingerboard of key position and dynamics monitoring
CN206400483U (en) It is a kind of that there is the music keyboard for playing position indicating function
CN102266661A (en) Shuttlecock
CN205334950U (en) Wearable MIDI electronic music synthesizer
CN205508378U (en) Electronic tuning ware
CN107507607A (en) A kind of Simple Electronic Organ with intelligent training function
CN209962444U (en) Oral english practice trainer
CN209232393U (en) A kind of thumb piano of novel bright indicator light
CN202120476U (en) Intelligent music electric teaching board
CN205609197U (en) Wearable electrical music
CN204215708U (en) There is the fingerboard playing position indicating function
CN213366120U (en) Music electronic organ
CN2508323Y (en) Auxiliary device for music teaching
CN220913894U (en) Intelligent musical instrument of simulation bowstring musical instrument class
CN212230058U (en) Touch type water lamp electronic organ
CN215577659U (en) Assembled circuit toy electronic organ
CN214428313U (en) Portable folding electronic exercise guitar
CN220860630U (en) Music doll of touch-sensitive
CN105023556A (en) Music box design based on AT 89S52

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200526

Termination date: 20200930

CF01 Termination of patent right due to non-payment of annual fee