Close
0%
0%

Windows AudioController

A device to switch audio devices in Windows

Similar projects worth following
A device to switch audio devices (e.g. headset < - > speakers) in Windows, change the volume and mute the microphone.

The AudioController is based on a Arduino (wemos D1 mini) which communicates with a Windows Powershell script via serial connection. In addition to the CH340 driver, no other drivers are necessary. No native USB is used.

All scripts and other ressources can be found in this project.

How to


Flash Firware on Arduino

flash your Wemos D1 mini with code from files with Arduino IDE


install Cmdlet on Windows PC

https://github.com/frgnca/AudioDeviceCmdlets


start powershell script via windows scheduled job

#name
soundcontroller
----> *high privileges
----> *hidden

#trigger
at logon
----> *delay 15sec.

#actions
start program

#program/script
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

#arguments -> !!  you have to adjust  the path of the script  !!
-noexit -ExecutionPolicy Bypass -WindowStyle hidden -File C:\bastel\audio_controller\0.2_sound_controller.ps1

#start in
C:\Windows\System32\WindowsPowerShell\v1.0

soundcontroller.xml

Windows scheduled job example for import (you have to adjust your user and the path of the script)

XML - Extensible Markup Language - 3.57 kB - 04/03/2024 at 18:02

Download

0.2_AudioController.ps1

Windows code

ps1 - 5.37 kB - 04/03/2024 at 18:01

Download

firmware_0.3.ino

Arduino code

ino - 32.01 kB - 04/03/2024 at 18:00

Download

stl.rar

housing stl

x-compressed - 1.82 MB - 04/03/2024 at 18:00

Download

  • 1 × Rotary encoder EC28A1550401
  • 1 × Wemos D1 Mini
  • 1 × 20mm Bearing NSK 6804 RS 492
  • 1 × Display 0,96 Inch OLED Display Modul SSD1306 Development Kits, Boards and Systems / Intellectual Property Cores
  • 2 × 6x6x5mm Panel PCB Momentary Tactile switch

View all 3 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates