Hi all,

I tody i made a Arduino CPU+RAM usage monitor using a simple Arduino sketch and a VB.net program.
In this instructable i will show you how to make it.
The vb.net program features an Arduino connection tester and you can write custom text to the LCD and also monitor the CPU+RAM usage on your pc.

Step 1: Stuff You Need

The stuff you will need for this project:

-Jumper wires
-LCD display i used HD44780
-potmeter  10K
-Arduino Uno/Mega
-.Net Framework 4/4.5
-Arduino Software

Step 2: Connect the LCD to the Arduino

Follow the image from the Arduino website to connect the Arduino to the LCD.
Make sure all the connections are right!

Step 3: Upload the Code to the Arduino

Connect your Arduino to your pc/laptop.
Open the Arduino sketch i attatched and upload the code
Make sure there are NO errors!

When the download didn't work here is the code:

#include <LiquidCrystal.h>

//Set's lcd to the Arduino's ports
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  lcd.begin(16, 2);


void loop() {
  String content = "";
  char character;

  while(Serial.available()) {
      character = Serial.read();

  if (content != "") {
    if (content == "`") {
  content = "";

if (content == "*") {
  content = "";
    if (content == "~") {


Step 4: Run the Windows Program

Now you can run the Windows appalication that sends the CPU and RAM usage over the serial port to the Arduino.
So make sure that your Arduino's USB is connected to your PC.

New version: http://www.wouterd.nl/gamecontrol.exe

For the source code: http://downloads.wouterd.nl/gamecontrol.rar

Step 5: Final Product

You are now finished!
When your Arduino or PC is not working correctly please send me a message and i will help you out!

Have a great day!
<p>NOTE: I have found the source code! It was saved on one of my backup drives :$</p><p>You can download the full source code rar at: http://downloads.wouterd.nl/gamecontrol.rar</p>
<p>your site is down. i cant get to either of the downloads</p>
Hello! <br>Sorry about that. Can't fix that right now.<br>You can still download the source code. The exe file is in the folder GameControl/GameControl/bin/debug/GameControl.exe<br><br>Source download: http://www.wouterd.nl/GameControl.rar
<p>Is it possible to reupload the exe file and the source code? I would like to add some featuresfor personal use.</p>
<p>Odd question. Would it be possible to slightly upscale (7&quot; HDMI-based screen) this idea to work as a full systems monitoring panel? I've got a massive case, and I would love to learn Arduino to the point that I could make a hook-in panel with temp sensors and such to be able to at-a-glance keep an eye on my system.</p>
<p>can you do this with the arduino nano?<br></p>
<p>Do you have working program to Windows?</p>
<p>What do you mean? I have windows yes. Although I have a clone of the arduino nano which is making it hard to even bootload.</p>
Try reuploading the bootloader, and as far as the nano goes just vhange a few pins and voila
<p>Ya its nothing close to viloa, the arduino clone works, got the driver tested it, but the code for this guys thing is messed up.<br></p>
<p>the website does nt work</p>
<p>Please check and rewrite your program it doesn't work properly</p>
<p>Is it possible to show cpu temperature instead of cpu &amp; ram usage?</p><p>should i learn vb.net coding? </p>
<p>just wondering, how hard will it be to have the CPU (or rather APU in my case) temperature being monitored as well? i found an other app, but they fail in giving the right temp, only the program called &quot;speedfan&quot; works good on my laptop. i am in need of it because i want to monitor my CPU temp while benchmarking the thing.</p>
<p>Hi, very nice projet ! Can you share your vb.net program source code ?</p>
<p>Thanks for your comment, please read the above :)</p>
<p>Excuse me, but i dont have the source code anymore. But i have a new download link to make it more easy to download it again. http://www.wouterd.nl/gamecontrol.exe</p>
<p>What are the chances of getting the source code for the vb.net application? Nice job by the way!</p>
<p>Can we see the source code for the program?</p>
<p>I cant seem to download the program from 4shared, could you mail it to me or upload somewhere else? :) sensurert@gmail.com</p><p>Thx!</p>
<p>See my above post!</p>
<p>For everyone who has download problems see below :)</p>
<p>how do I display the Arduino to control the temperature in vb.net</p>
<p>Could you post the windows program in a way that doesn't involve a rediculous dowload web site?</p>
Mine gets shut out of the serial port after a few min says access denied, mega 2560
here is my version of the code modded to work with an i2c lcd screen but for some reason the cpu usage doesn't show up <br> <br> <br>#include <br>#include <br>#include <br> <br>#define I2C_ADDR 0x27 // &lt;&lt;----- Add your address here. Find it from I2C Scanner <br>#define BACKLIGHT_PIN 3 <br>#define En_pin 2 <br>#define Rw_pin 1 <br>#define Rs_pin 0 <br>#define D4_pin 4 <br>#define D5_pin 5 <br>#define D6_pin 6 <br>#define D7_pin 7 <br> <br>int n = 1; <br> <br>LiquidCrystal_I2C lcd(I2C_ADDR,En_pin,Rw_pin,Rs_pin,D4_pin,D5_pin,D6_pin,D7_pin); <br> <br>void setup() <br>{ <br>Serial.begin(9600); <br> lcd.begin (16,2); // &lt;&lt;----- My LCD was 16x2 <br> <br> <br>// Switch on the backlight <br>lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE); <br>lcd.setBacklight(HIGH); <br>lcd.home (); // go home <br>} <br> <br>void loop() <br>{ <br> // Backlight on/off every 3 seconds <br> <br> String content = &quot;&quot;; <br> char character; <br> <br> <br> while(Serial.available()) { <br> character = Serial.read(); <br> content.concat(character); <br> } <br> <br> if (content != &quot;&quot;) { <br> <br> if (content == &quot;`&quot;) { <br> content = &quot;&quot;; <br> lcd.setCursor(0,1); <br>} <br> <br>if (content == &quot;*&quot;) { <br> content = &quot;&quot;; <br> lcd.setCursor(0,0); <br>} <br> <br> Serial.println(content); <br> lcd.print(content); <br> } <br> <br> if (content == &quot;~&quot;) { <br> lcd.clear(); <br> } <br> <br> <br> <br>}
how did you get the wiring diagram?
Its from the Arduino website take a look here: <a href="http://arduino.cc/en/Tutorial/LiquidCrysta" rel="nofollow">http://arduino.cc/en/Tutorial/LiquidCrysta</a>l If you want to make your own schematics download Fritzing <a href="http://fritzing.org/download/" rel="nofollow">http://fritzing.org/download/</a>
Hi, <br> <br>It was a bug in my program. I updated the program. <br>Please download the new version: http://www.4shared.com/file/fqq4TzcI/GameControl_New_Version.html <br> <br>Hope it's working!
Thanks for the prompt reply ! <br>Here you go : <br>
Hi <br>The vb program just crashes when attempting to connect with Arduino (i'm using a leonardo) and have net framework 4 installed. please help ..
Are you sure you have selected the right COM-port? <br>If that didn't work can you send me an screenshot of the error? <br> <br>Thanks!
Dito, it remembers me of a lcd smartie... I think they're called
cool idea <br>

About This Instructable




More by wouterdoornbos:Arduino Bluetooth remote lcd display Arduino CPU+RAM usage monitor LCD 
Add instructable to: