DIY USB Media Controller for PC

by techrallyofficial in Circuits > Arduino

12155 Views, 38 Favorites, 0 Comments

DIY USB Media Controller for PC

Thumb118.jpg

Hello Everyone,

Today I am going to show you how to make DIY USB Media Controller for PC using the Arduino Pro Micro / Leonardo.

Using this you can control the "Volume up, Down, Mute, Pause, Play, Next and Pervious" Midea key functions.

This controller will also show the volume level in the 16bit WS2812B ARGB LED Ring / Neopixel Ring,

Also check out my YouTube channel and Subscribe for more projects,

Kindly subscribe Support me to reach 1000 Subscribers in my youtube channel.

https://www.youtube.com/channel/UCy7KKu5hVrFcyWw32...

Materials Used

1. Arduino Pro Micro ATmega32U4 5V/16MHz

https://www.aliexpress.com/item/32902569443.html?s...

2. Ws2812B Addressable 5050 RGB LEB Ring 16 Bit / RGB LED NeoPixel Ring 16Bit (4.8 mm Diameter)

https://www.aliexpress.com/item/4000403300205.html...

3. 360 Degrees Rotary Encoder Module For Arduino KY-040

https://www.aliexpress.com/item/33003469916.html?s...

4. Rotary Encoder Potentiometer Knob

https://www.aliexpress.com/item/33000053901.html?s...

5. Junction box ABS plastic box

https://www.aliexpress.com/item/32899141334.html?s...

6. TTP223 Touch Switch Module

https://www.aliexpress.com/item/33053674287.html?s...

DIY USB Media Controller for PC

Circuit Diagram

Circuit Diagram.png

CODE

Download the .ino code file below and open it in Arduino

software.

Before compiling the code make sure you have HID and FastLED Library installed

This program works only with Arduino Pro Micro ATmega32U4 5V/16MHz don’t try with any other Arduino Micro controller like UNO.

Check out my Youtube video for detailed instructions.

Update : 12/25/2022 - I have been receiving more feedback on reversed LED direction for Volume control, So i have added another code, if you face that issue Use the USB_Media_Controller_Reverse.ino file

Note : Use only if you face this reversed animation issue for volume control.

Thank you all for your feedback and support.