A project that captures currently playing media information from Windows and displays it on an Arduino device.
This project consists of two main components:
- Windows Side: Rust application that retrieves current media information using Windows APIs
- Arduino Side: Microcontroller code that receives and displays the media information
- 🎵 Real-time media information retrieval (title, artist, album) through
GlobalSystemMediaTransportControlsSession
ofwindows-rs
- 🔗 Wireless Bluetooth communication between Windows PC and Arduino
Windows PC (Rust) ←→ Bluetooth (HC-06) ←→ Arduino (C++)
↓ ↓
Windows Media Control API Display Module
HC-06 Bluetooth Module:
Arduino HC-06
VCC → 5V
GND → GND
TX → D10 (SoftwareSerial RX)
16x2 LCD with I2C:
Arduino LCD Module
VCC → 5V
GND → GND
SDA → A4
SCL → A5
git clone https://github.com/yourusername/windows-media-arduino-display.git
cd windows-media-arduino-display
cd media_control_reader
cargo build --release
- Open
bluetooth_display.ino
in Arduino IDE - Install required libraries:
- LiquidCrystal_I2C (for LCD)
- Select your board and COM port
- Upload the sketch
- Open Windows Bluetooth settings
- Add a new Bluetooth device
- Find and connect to "HC-06"
- Enter pairing code when prompted
- Note the assigned COM port (e.g., COM5) in Device Manager
- Select COM port of HC-06
- Select session you want to display info to Arduino
The application will automatically connect to the paired HC-06 module.