DPS
When making PCBs, we pay attention to LED fields, where copper strips are close to each other, whether bad etching is not where they are to be connected.
When installing, be sure to first install 2 wire jumpers out of the leds and 16 LED jumpers. For PCs, I have long hesitated for what LEDs to create it. Originally I wanted to do it for 5mm LEDs, but the PCB would have to be very long (at 5mm spacing of 33cm in length), so I finally decided to make the PCB for 2x5mm LED, respectively 2.5x5mm. These LEDs are quite cheap to get, and in addition to the LEDs, it can be adjusted to any large LED.
We place the socket (DIL28PZ 7.5mm) on the IC1 slot so that we can easily program the microcontroller and eventually insert it into the PCB. We will not forget to place the cooler on the IC2.
At the place of the voltage and signal supply, we can either put the screw terminals into dps or simply lead the wires directly into the PCB.
PCB component side:
DPS link page:
Programming
For a complete description of the programming, refer to the Programming ATMEL microcontrollers .
So just copy the text below, copy it to the Notepad and save it with the .hex extension (eg VUmetr.hex). Then upload this hex file using PonyProg to the microcontroller.
The source code in C is uploaded HERE , you need to copy the code to the Notepad and save it with the .c or paste it directly into the development environment (avr studio).
The LED flashes at about 100Hz for as little noise as possible but can programmatically increase this frequency to 20kHz, but when you disconnect from the sound source, you hear a gentle whistling in the amplified sound.