ClickBlue Small TextEnter to create your album!
Q: How to make a free music album?
A: Just click on the top “51 Microcontroller Learning Network” free follow and reply “Album” to get it!
Functionality:
# Simple circuit production, no PCB required, just components, powered by USB
# Uses LED matrix 16*8 display, fluctuating with audio changes
# Automatic gain control function, volume increase or decrease will not exceed full display or show too little (of course, the volume shouldn’t be too low. If the input volume is too low and the level is relatively low, you can lower the speaker volume a bit and increase the volume of the audio source)
Circuit schematic:
Pin connection instructions:
Pin1 of the microcontroller is the audio signal input terminal, 2~9/32~39 are LED1 matrix pins, 10~17/24~31 are LED2 matrix pins, 18/19 are crystal oscillator and capacitor pins, 21/22 are indicator light pins (21 is negative, 22 is positive),
Pin40 is VCC power supply 5V positive, 20 pin is GND power supply negative (also the audio signal input negative), 23 pin is an empty pin suspended.
Production instructions:
1. Use hot melt glue or 502 glue to attach the USB male head in reverse to the left side of the chip base (the side with the notch)
2. Connect the positive of the USB male head to pin40, the negative to pin20, and attach the 2PIN header to the right side of the chip base (spectrum interface), the upper end connects to1 pin, the lower end connects to20 pin
3. Connect two 30PF capacitors to the chip base’s18,19,20 pins (one connects to18,20 pins, the other connects to19,20 pins)
4. Connect the 32.768MHZ crystal oscillator to the chip base’s18,19 pins
5. Place the chip on the base, notch facing notch
6. 8*8 matrix pin identification method: The text next to the matrix faces down, the leftmost pin of the bottom row is the first pin, then count counterclockwise around to pin 16, just like the numbering of the integrated circuit, and then refer to the matrix schematic!
The identification and testing video of the matrix: http://v.youku.com/v_show/id_XMjMwODU4OTQ0.html
7. Place two 8*8 matrices on another chip base as shown, leave the left side empty1 column, leave the right side empty3 columns, the two pins at the bottom right connect to the LED (left positive right negative)
8. Combine the two chip bases, solder the 40 pins together in sequence, connect the USB male head to USB extension cable to the computer, connect the audio interface to the Dupont wire to the audio cable, to the audio splitter
9. Making the audio cable:
10. A one-to-two audio splitter can allow the music spectrum display to be connected in parallel with the speaker
11. The music spectrum display takes power from USB interface, collects music signals from the audio interface
Notes:
2. Disconnect the audio interface signal input terminal (suspended), the display will be full screen, disconnect the audio interface signal grounding terminal, only the bottom row will be displayed!
3. In mute state, if the display fluctuates occasionally, this is due to electromagnetic wave interference, which is normal.
12. Finished product display
Component list:
1. Microcontroller STC12C5A60S2 PDIP40 (1 piece)
2. 0788 type red 8*8 LED matrix screen (2 pieces)
3. Ordinary chip socket PIN40 (2 pieces)
4. USB male head (1 piece)
5. 32.768MHz quartz crystal (1 piece)
6. 30pF capacitor (2 pieces)
7. 2PIN header (1 piece)
8. 1PIN Dupont wire (2 pieces)
9. USB extension cable male to female (1 piece)
10. Audio head (1 piece)
11. Audio cable (1 piece)
12. Audio splitter (1 piece)
13. LED (1 piece)
14. Several wires
This article is reproduced from the network, copyright belongs to the original author. If you find it unsatisfactory, please contact us to delete it!