Connect the arduino from inside the PC

I want to install an Arduino inside my PC, and I need it to receive the PC's temps in real time, is there a way to connect them without using the serial port??
The motherboard doesn't even have serial port and in case that it had, i would need to connect the cable in the external port, what doesn't would look very esthetical (im doing a pc mod)

Aren't there internal USB headers?

You posted in the wrong category. This is for IDE issues...

i did not read the description of the category, will delete

No! ask a moderator to move it..

Do not cross post.

Moved as requested.

Threads merged.

1 Like

I want to install an Arduino inside my PC, and I need it to receive the PC's temps in real time, is there a way to connect them without using the serial port??
The motherboard doesn't even have serial port and in case that it had, i would need to connect the cable in the external port, what doesn't would look very esthetical (im doing a pc mod)

You can use one of your usb port to connect it.

What would the Arduino do with the temperature readings, that a PC could not do?

I saw this build: Time Machine V2 PC Case Modding | Design Something - YouTube
In that mod, the creator puts some manometers just as a decoration, but i had the idea to make them actually show the pc temps (using an analogic voltmeter)

Nice steampunk!

1 Like

I thought a manometer was used to show the difference between air pressure inside and outside.

i know, im not using a manometer, but using a voltmeter to actually simulate a manometer

I assume you want an analog voltmeter. Years ago there were actually analog temperature indicating meters driven only by a thermocouple. Haven't seen one in decades. They were popular during the 50s and maybe mid 60s going back years before. You might try a Google of "Self powered pyrometers" or "Pyrometer Gauges".

They came in all sizes and were strictly thermocouple driven. Not the capillary tube type. They came in all ranges. No clue who may be making them today but Google is your friend.

Ron

Thinking this further and using an Arduino to gather PC information using WMI (Windows Managment Instrumentation). While I have used some basic scripting to get information I never did it using an Arduino. Arduino UNO for example does not have an analog out to drive a voltmeter but you may be able to PWM out to drive an analog VM. I never tried it.

Interfacing? Pretty sure you can just add a board in a PCI slot with internal serial port and USB port. You may want to look into that also.

Ron

Are not the pins with the ~ be able to output analog values with the function "analogWrite()"? (I haven't got the arduino yet so I cant test)

No, doesn't quite work that way. The Digital In/Out will not output a fixed DC level. The pins you circled will output a PWM (Pulse Width Modulated) signal but not a flat DC voltage level.

To do what you have in mind can be done but will require more doing. Yes, you can get what is going on in a PC using WMI as I mentioned. This takes some code writing and getting familiar and friendly with WMI so you can get data from it. Been years ago I played around with scripting. Anyway assuming you get that in order if you want DC levels proportional to assorted component temperatures you will likely need a D/A converter connected to your Arduino. It may work just driving an analog voltmeter (panel meter) with PWM, I never tried it but it should work. Guess I could dig out one of my old analog meters and see how well it works.

Ron

Really? I thought it would be easier since in the Tinkercad simulator (I dont know if it is a reliable simulator) I just need to output a value between 0 and 255 with analogWrite and connect the pins directly to a voltmeter to see a value between 0 and 5 volts

I think i have no problems with code, I have found people that use OpenHardwareMonitor and a little C# program to send the values to the arduino to show them in a LCD, i guess that i would only need to get that variables to output them to the voltmeter.

I forgot to say that I don't need it to show exactly the temps, since it is for esthetic purpose

Just what temperature are you interested in? The processor, the air temp inside the case? The power supply components? The only temperature you will get from the operating system is the temperature of the microprocessor and that is also what controls the cooling system, including the fan. My old laptop processor was liquid cooled and the liquid was cooled by a tiny radiator and fan. How is your computer cooled? Only by air?