In a home recording environment equipment often doesn’t come in a large variety because of either limited budget or limited space… or both. I am presenting here an balanced attenuator which comes in between fixed gain preamp and recording device/soundcard.
The purpose of this device is to adjust the level and monitor it to prevent saturation of the next stage in the recording chain. It uses a L-pad followed by a balanced buffer stage. The attenuation steps are 0dB, -3dB, -6dB, -9dB and -12dB.
The meter section uses a microcontroller with a 10 bit ADC. It monitors both polarities of the signal and detects the peak within a frame of 1000 samples. ADCs samples the signal every 12us.
In the schematics above J7 will be used later on future revisions to indicate symmetry in the balanced signal.
J3 will connect the attenuation selector.
There are certain modifications i did the initial schematic tho. R7, R8 must be of greater value. At least 100k. With 100k you will get a -0.8dB signal at 0 dB setting.

U2 i used a LM324 as it allows operation at 5V single supply. U2:C is used to bias the ADC inputs at 2.5V.
I will explain how to rectify the signal with a PIC in a future project but you will find the hex file for this one at the end of this article.
For more detail: Balanced Line Attenuator
Related projects
Voice Activated Power Sockets (Home Automation)
Yet another voice controlled home automation system! As shown in the picture, the system can control any electrical appliance, by turning ON...
Home Automation & SecurityHome Security System with GSM Using 8051 Microcontroller
Security is a big challenge everywhere because thefts are increasing day by day owing to the unsafe and insecure security systems in...
Home Automation & SecurityHome Automation and Security System using Microcontroller ATMEGA8 with Arduino Programming
Home automation and security systems have become very popular these days, today industrial automation techniques are widely adopted by luxurious homes and...
Home Automation & Security · PIC16F84ABicycle Persistence of Vision Light Display using PIC16F84
In February of 2007 I spent a little while prototyping a board that turns any bicycle wheel into a moving display billboard...
Home Automation & SecurityFTS-8 subtone encoder
Many Yaesu transceivers from the 1990s and thereabouts could use an optional FTS-8 module, that provided subtone generation for transmission, and subtone...
Home Automation & SecurityHand Sign Lock
Introduction Security using technology is a growing and expanding field to protect against the user's identity or property. As more advanced tools...