Steam deck cooling project

I want to get a fan to go faster/slower based on my gpu's temperature, but I'm stuck on making a script for sending the data to my arduino(I was planning on using pwm to adjust the fan's speed).So far I was thinking of using psensor to log the temperatures, I should mention the steam deck is running arch linux and it has an amd gpu for the people who don't know. I haven't done a lot since I don't know how to start, all I did was start logging temperature information, the only other similar thing I found googling was a tutorial for controlling the fan based on cpu temperature, but it was for windows, and it was using open hardware monitor, I'm not sure if I could do the same since it relied on a dll file

If you can the 'sensors' command in a shell prompt, then you can take the output and parse out the required GPU temp. I would then just send a value to an Arduino connected to a serial port.

1 Like

Interesting project but we are not a free code writing/design service. We will help out with your code but first you have to make an attempt to write it, post it and explain what is not working properly. If there is hardware it is always best to post links to technical information as there are many versions of the same or different items. Since we cannot see your project, my eyes are to weak, you need to post an annotated schematic (best) or a clear picture of a drawing. Pictures never hurt. The Arduino Cookbook would be a great start.

Yes you need to get a grip on some basic code writing otherwise you will get frustrated .
There is no quick route , play with the examples in the IDE and look for on line tutorials . Start with the simple stuff .

Thanks for the advice, and sorry if I seemed like I wanted the code on a platter,I'm new to linux but I still want to learn, I just didn't know where to start :slight_smile: If anyone is interested I'll send the end result here when I'm done.As for hardware I'm using an arduino uno r3, a simple 5V fan with 2 wires and a L298N motor driver so I could control the fan's speed. (https://www.handsontec.com/dataspecs/L298N%20Motor%20Driver.pdf)

Good News, I have been using Linux for over 10 years, maybe 6 or so with the Arduino without any problems. The only gotcha is the dial out setting, once you have that it works great. I have yet to load a driver for the USB, and I have used a lot of boards both US and China without a problem. I have been using the 1.8.18 version of the IDE with great luck. The earlier versions worked as well. When I finish this project I will go to 1.8.19, I am leary of anything in the 2.? area.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.