Go Down

Topic: Arduino PC Monitor - Opensource (Read 3898 times) previous topic - next topic

Jun 09, 2013, 06:01 pm Last Edit: Jun 09, 2013, 06:06 pm by lorenzo_r Reason: 1
Hi, i have written a simple program using c# that shows respectively CPU usage, GPU usage, Ram in Use, Download Speed,CPU Temperature, GPU Temperature on a 16x2 LCD display through serial port

It uses CPU-Z, GPU-Z to get CPU-GPU Temperatures
You can press the button on arduino to adjust the backlight brightness





If you want you can find the source code (c# Project, Arduino Project) at this link
https://github.com/LorenzoRogai/Arduino-PC-Monitor

Let me know if there are bugs


dtokez

That looks very cool! I have always wondered about a project like this :)

I'm not sure what to do with the files on your github though, are they visual studio files? Can't see anything for the arduino

Thanks for sharing!


That looks very cool! I have always wondered about a project like this :)

I'm not sure what to do with the files on your github though, are they visual studio files? Can't see anything for the arduino

Thanks for sharing!

Yes they are visual studio files.

Here is arduino project
https://github.com/LorenzoRogai/Arduino-PC-Monitor/blob/master/Arduino%20PC%20Monitor/bin/Debug/Arduino_PC_Monitor/Arduino_PC_Monitor.ino


geort45

Fantastic! What I've always wanted hehe. However, which are the requirements for it to work? I downloaded the files from the /bin folder and it crashes upon start. I'm at work so I don't have my arduino board here, does it crash because of that?

Thanks a lot for your effort,

#6
Jul 19, 2013, 09:43 am Last Edit: Jul 19, 2013, 09:47 am by lorenzo_r Reason: 1

Fantastic! What I've always wanted hehe. However, which are the requirements for it to work? I downloaded the files from the /bin folder and it crashes upon start. I'm at work so I don't have my arduino board here, does it crash because of that?

Thanks a lot for your effort,


It can't work without arduino attached and some code edit. You have to open project with visual studio and change perfomance counter properties for cpu/ram/network interface with english string (i am italian) and com port here with your arduino com port
Code: [Select]
port = new SerialPort("COM3", 9600, Parity.None, 8, StopBits.One);

geort45

Hi!

I got home and connected the arduino, I ran both exes (Arduino+PC+Monitor.vshost and Arduino+PC+Monitor) and neither worked, I mean no window ever showed up. Is this normal without editing the code?

Thank you

no it can't work without edit code. if you don't change perfomance counter string to english and your network interface string it won't work you only get exception

geort45

Thanks for the info :), I'll check it out on the weekend!

Nman120

I really love this project, but I just can't get the program to work. When I run the pre-made application all it does is crash. When I try to run  it in Visual Studio there's something wrong with the performance counters, "Category does not exist". I found a part  where the names were really weird like "Interfaccia di rete" but I don't know if this is something that needs to be fix, it doesn't seem to make a difference what I change the names to.

Go Up