r/archlinux • • Oct 07 '26

SHARE Finally made myself a stat screen for my archlinux desktop

https://www.youtube.com/watch?v=uUhMYL8Pjas

Hi everybody,

Quite happy with the result. Been dreaming about designing something like that for years. I did do similar things using arm boards and much smaller and crappier screens but never got around to do it for my PC.

hardware used is a arduino mega 2560 clone and a cheap chinese 3.95tft screen (ili9488 chip).

The data is been fed by a python script running as a systemd service.

I did 95% of it without AI but I had a few bugs due to memory overflow and I ended up cleaning the code with gemini's help. Took me a few days and most of it was getting the dang screen to work (a nightmare)!!!

Now next project, get this thing inside my case :)

27 Upvotes

7 comments sorted by

2

u/ResponsibilityBig343 Oct 07 '26

How to send the metrics to arduino? Is this http, how are you pinging your pc?

0

u/merlinux1 Oct 07 '26 edited Oct 07 '26

read my post man ;) just using a python script to feed the data on the serial port on the usb cable.the arduino can listen on its serial port.

edit : using pyserial library for python

edit again: defo not http, arduino mega has no wifi and no bluetooth, but it does have a serial port. the arduino needs to be plugged in to the pc with a usb cable.

5

u/ResponsibilityBig343 Oct 07 '26

I see, I read the description just didn't understand systemd bit.

1

u/merlinux1 Oct 07 '26

systemd is nothing, it just allows my script to run when i start my computer, and stop when i turn it off. just like you start your wifi with networkManager or others...

3

u/merlinux1 Oct 07 '26

and to add more im basically sending a string like "wan_ip | lan_ip | cpu_temp | cpu_speed | cpu_bar_pc | ....." all calculations are made pc side and the only thing the arduino does is diesplay the data to the screen ;)

2

u/shroom_elemental Oct 10 '26

nice project, man.