Projects / Ideas / Digital volume control

Digital volume control

IntermediateAudio & MusicIdeaReviewed
In short

How do you build a digital volume control?

An MCP4131 digital potentiometer sets audio volume from a rotary encoder or buttons. You need Arduino Nano, MCP4131 digital potentiometer, Rotary encoder module (KY-040), TL072 dual JFET op-amp, Audio jack 3.5 mm (PCB, stereo) × 2 and SSD1306 OLED Display.

Level
Intermediate
Time
About 150 min
Parts
6
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Control an analog level digitally.

Parts list

How to build it

  1. Wire the digital pot as a volume divider
  2. Step through 128 levels
  3. Buffer with an op-amp
  4. Show the level
  5. Remember the last level

Related projects

Common questions

What parts do I need for the digital volume control?

Arduino Nano, MCP4131 digital potentiometer, Rotary encoder module (KY-040), TL072 dual JFET op-amp, Audio jack 3.5 mm (PCB, stereo) × 2 and SSD1306 OLED Display.

How long does the digital volume control take to build?

About 150 minutes for a intermediate maker.