TECHNICAL PORTFOLIO PT-BR
← All projects

Arduino Projects

A collection of practical Arduino builds integrating physical hardware and software.

Arduino · C++ · Python · USB serial

Arduino Linux Controller

A physical USB desktop controller integrating embedded firmware with Linux media, session and network controls.

Implementation

Built from a CDR beginner kit with an Uno-compatible SMD board, three push buttons, two LEDs, a 10 kΩ potentiometer and a breadboard. C++ firmware reads the controls and communicates at 9600 baud over USB serial. A Python host process uses Playerctl, PipeWire/WirePlumber and GNOME session commands, and returns NetworkManager connectivity status to the LEDs.

Evidence

The media-control command worked in the terminal, but a short button press targeted the wrong player. Explicit player selection fixed playback. A pin mismatch kept the offline LED dark; correcting the firmware to D9 resolved it. All main controls were reported working on the physical Ubuntu desktop.

Purpose & technical scope

The documented build connects physical controls to the Ubuntu desktop. Its hardware record preserves the unresolved intermittent USB connector heating issue; the board should not be left powered unattended if abnormal heating recurs.

Authorship & tools

I assembled, rewired and tested the controller. ChatGPT assisted with firmware, Python, troubleshooting and documentation.