40 LEDs each accompanied by a comparator, reference voltages generated by a chain of resistors. Linear meter would have been easy to make, but a real VU meter has to be logarithmic. Maybe the meter could be used as a power meter in a power amplifier. VU meter uses formula 20log(V/V0) and power meter formula 10log(V/V0).
Visit Here for more.