This product provides circuit diagrams, programs, detailed installation and welding steps, photographed to leave a message your email, we will send you after delivery. Product Parameters: Supply voltage: 4.5V-5.5V DC; Main board circuit board size: 102 mm * 38 mm Laser board size: 102 mm * 16 mm Laser harp principle: Laser harp is a harp without strings, instead of a bright beam of light, the user only needs to pluck the beam, it is like plucking the strings, and still can play a melody. The photoresistor and the microcontroller STC89C52 are two parts parts. When the beam emitted by the laser tube is blocked, the corresponding photoresistor senses and produces a change in resistance, the system composed of eight photoresistors produces a change in high and low potentials, and the microcontroller reads the change in the high and low potentials of the photoresistor and completes the input of the operating instructions, and the microcontroller controls the data according to the instruction information and transfers the data through the serial port, which is connected to the p0^2 port of the loudspeaker and p1 port of the running lamp to assign a value to it, so that it produces a corresponding response. The p0^2 port of the speaker and the p1 port of the running light are assigned values to produce corresponding responses. When there is laser irradiation, the microcontroller reads the voltage of the photoresistor, which is low at this time. When there is no laser irradiation, the microcontroller reads the voltage of the photoresistor, then it is a high level. In this way, when blocking the light of the laser, it can produce the effect of switching in the circuit. The human ear can hear sound frequencies from 20Hz to 20kHz, and harp note frequencies should be in this range. Only, different notes have their own fixed frequencies. The above audio can be generated by the 16-bit timer that comes with the 52 microcontroller. For example, the harp's standard note la is 440 Hz, through the calculation of its half-cycle is 1136 μs. Thus, as long as the half-cycle pin level jump, you can generate a square wave of 440 Hz. After the electro-acoustic converter (horn), the standard tone la can be generated, and other notes are generated in the same way. Our laser harp features: 1. There are 7 strings in total, and the buzzer emits the corresponding level when cutting the strings. 2. The LED of the corresponding string lights up when the string is cut, 7 LEDs in total. 3. Play two stored music songs (Happy Birthday, Only Mother is Good) by pressing the button. 4. Switching between high and low notes DIY loose parts shipping list: Name Quantity PCB board 1 5V laser transmitter head (more than 3) 10 22# wire 20CM 1 5516 photoresistor 8 4CM black heat shrinkable tube 20CM 1 10K Resistor 10 1K Resistor 12 3MM LED white with blue 12 DC005 Holder 1 USB to DC005 Cable 1 Passive Buzzer 1 8*8 Self-Locking Switch 1 Self-locking switch cap 1 8550 Triode 1 6*6*20 Keypad 2 40P IC holder 1 STC89C52 (burned program) 1 10UF electrolytic capacitor 1 12M crystal oscillator 1 22P Ceramic Chip Capacitor 3
package :
DIY Kit C51 MCU Laser Harp Kit String Electronic Keyboard Kit Parts for Study
-
If you have any questions, please contact us in time, we will help you deal with the problem for the first time.
|