Schlagwort: Volume Controller

  • Control your volume with a wireless rotary encoder, as you deserve

    Control your volume with a wireless rotary encoder, as you deserve

    Reading Time: 2 minutes

    Every decent stereo sold since the invention of sound has included a knob on the front for adjusting volume. There are influencers and entire communities dedicated to evaluating the feel of those wonderful knobs. So why would you settle for the mushy volume buttons on a remote? Eric Tischer didn’t think he should have to, so he built his own wireless rotary encoder device for controlling his DAC’s volume.

    A digital-to-analog converter (DAC) is an important part of modern digital audio systems. Tischer’s DAC/preamp takes the digital signal from a TV or other device, turns it into an analog signal, and then pushes that out to an amplifier. The DAC has a rotary encoder on the device itself for adjusting volume, but the remote just has the standard buttons. Tischer measured that remote and found that it takes 25 seconds to go from zero to full volume. That’s almost as annoying as the horribly unsatisfying buttons.

    Tisher’s solution was to construct a new wireless remote with only one job: controlling volume. It has a big CNC jog-wheel style rotary encoder that reportedly has a very nice feel, with 100 total detent “clicks” per revolution. That matches perfectly with the number of volume levels.

    An Arduino Nano ESP32 board monitors the remote rotary encoder and communicates the detected position (via pulse-counting) to another ESP32 board by the DAC. That second board attaches to the DAC’s built-in rotary encoder pins and simulates pulses that match the remote. So as far as the DAC knows, Tischer is rotating the built-in encoder. In reality, he’s sitting comfortably on the couch spinning that handheld knob instead of pushing buttons dozens of times per commercial break.

    [youtube https://www.youtube.com/watch?v=UF-4i1yZT8A?feature=oembed&w=500&h=281]

    The post Control your volume with a wireless rotary encoder, as you deserve appeared first on Arduino Blog.

    Website: LINK

  • Dial up your PCB design skills with an LED volume control shield

    Dial up your PCB design skills with an LED volume control shield

    Reading Time: 2 minutes

    Arduino TeamJuly 10th, 2022

    The beauty of Arduino development boards is that they let you jump right into prototyping. Just connect the sensors, buttons, LEDs, or whatever other hardware you require to the Arduino’s I/O pins, code and flash a sketch, and you’re in business. But you might come to a stage where you want something more polished than a breadboard or perfboard. When you reach that stage, you can follow along with YouTuber Upir’s LED volume knob project to learn how to design your first PCB. 

    Upir chose to use an Arduino Leonardo board for this project because its ATmega32U4 microcontroller’s built-in USB HID functionality. That means that it can be configured to show up as a USB mouse or keyboard when plugged into any computer, regardless of the operating system or software that computer runs. In this case, that makes it easy to send keyboard shortcuts that adjust the computer’s volume. 

    The hardware for this project, in addition to the Leonardo itself, consists of a potentiometer knob, LEDs, and resistors. The sketch sets the number of lit LEDs to correspond to the current volume level. Upir first prototyped the circuit on a breadboard to test the Sketch and functions. Then he designed a dedicated PCB shield for the Arduino. In his video below, Upir goes into detail on every step of the PCB design process in open source KiCAD software. This information is valuable to anyone interested in learning how to create their own PCBs.

    [youtube https://www.youtube.com/watch?v=6cqvTHCuDto?feature=oembed&w=500&h=281]

    If you follow Upir’s instructions, either for this project or a similar design, you’ll end up with a set of files that you can send to any PCB fabrication service to get professional-quality boards.

    [youtube https://www.youtube.com/watch?v=jvHRfsgw4l8?feature=oembed&w=500&h=281]

    Website: LINK

  • A MKR ZERO-based volume controller for your PC

    A MKR ZERO-based volume controller for your PC

    Reading Time: < 1 minute

    A MKR ZERO-based volume controller for your PC

    Arduino TeamSeptember 18th, 2020

    While some keyboards provide media keys or even knobs to adjust your overall computer sound up and down, often what you really want is the ability to tune program volumes separately. To make this extremely easy, SNR Tech Bytes has come up with a beautifully-designed controller, which runs on the MKR ZERO.

    The device features five encoders to individually tune the master volume, Discord, Chrome, gaming, and Spotify, with the help of software on the PC itself. Encoder button mutes each channel as needed, using NeoPixels below to indicate each status.

    The build is based on the deej volume mixer, and more specifics on this version are available on GitHub.

    [youtube https://www.youtube.com/watch?v=pkEw7x2GMIA?feature=oembed&w=500&h=281]

    Website: LINK

  • Change the volume of any app on your PC with the turn of a knob

    Change the volume of any app on your PC with the turn of a knob

    Reading Time: 2 minutes

    Change the volume of any app on your PC with the turn of a knob

    Arduino TeamJuly 7th, 2020

    Overall computer volume control is important, but what if you want to get more granular, adjusting sound from various applications individually? Rather than going through a series of menus and on-screen sliders, Ruben Henares’ Maxmix lets you do this on the fly.

    Based on an Arduino Nano, the simple yet stylish knob takes input from an encoder and button to cycle through and select a program. Just push down and then rotate to turn the volume up or down. Want to switch from Discord to Spotify? Click it again and repeat the process.

    A small OLED screen on the Maxmix shows which app is running, and there’s even an optional LED ring for extra lighting effects. All the electronics are housed inside a nicely designed 3D-printed enclosure.

    You can find the build instructions on Henares’ site and see a demo of it below.

    [youtube https://www.youtube.com/watch?v=SEnBzFcOdMI?feature=oembed&w=500&h=281]

    Website: LINK

  • Control the volume of programs running on your Windows PC like a DJ

    Control the volume of programs running on your Windows PC like a DJ

    Reading Time: < 1 minute

    Control the volume of programs running on your Windows PC like a DJ

    Arduino TeamMarch 4th, 2020

    If you have multiple applications open in Windows, you may want one to be louder than the other, but what if you want to adjust levels with physical sliders like an actual DJ? If that sounds interesting, check out this controller by “Aithorn.

    The device uses an Arduino Nano to read signals from each slider and pass this info over to the computer. A Python script, along with a VBScript helper, runs on the PC to control the master and program-specific volumes. 

    Code for the project, which was actually written by Omri Harel, is available on GitHub. You can see the original version of it the video below, working its magic on a shoebox stand. Print files for Aithorn’s new enclosure can be found here.

    Website: LINK