Arduino CPU+RAM Usage Monitor LCD

Intro: Arduino CPU+RAM Usage Monitor LCD

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:

-Breadboard
-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);
Serial.begin(9600);

}

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

  while(Serial.available()) {
      character = Serial.read();
      content.concat(character);
  }

  if (content != "") {
   
    if (content == "`") {
  content = "";
  lcd.setCursor(0,1);
}

if (content == "*") {
  content = "";
  lcd.setCursor(0,0);
}
 
    Serial.println(content);
    lcd.print(content);
  }
 
    if (content == "~") {
    lcd.clear();
  }
 

}

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!

Share

    Recommendations

    • Furniture Contest 2018

      Furniture Contest 2018
    • Audio Contest 2018

      Audio Contest 2018
    • Fix It! Contest

      Fix It! Contest

    45 Discussions

    NOTE: I have found the source code! It was saved on one of my backup drives :$

    You can download the full source code rar at: http://downloads.wouterd.nl/gamecontrol.rar

    3 replies
    0
    None
    TunçIwouterdoornbos

    Reply 11 months ago

    Hello. Can you please upload the c# source codes? BTW good work!

    Hello!
    Sorry about that. Can't fix that right now.
    You can still download the source code. The exe file is in the folder GameControl/GameControl/bin/debug/GameControl.exe

    Source download: http://www.wouterd.nl/GameControl.rar

    0
    None
    SWAT11

    8 months ago

    I need source code please in c#.

    0
    None
    DeanB34

    8 months ago

    hello mate, grand idea by the way. having a slight issue with my display when i run the program. Both lines of text start flickering and displaying random characters but when i close your program is stops displaying random characters and displays my Ram and CPU Usage and pauses, the display dons't update after that.

    Hi,

    It was a bug in my program. I updated the program.
    Please download the new version: http://www.4shared.com/file/fqq4TzcI/GameControl_New_Version.html

    Hope it's working!

    1 reply
    0
    None
    Impetus37

    4 years ago on Introduction

    I cant seem to download the program from 4shared, could you mail it to me or upload somewhere else? :) sensurert@gmail.com

    Thx!

    2 replies
    0
    None
    BlueEye.dk

    9 months ago

    do anyone have the game control program, the downloads don't work

    i can hoste it on my server if you like

    please fix this

    0
    None
    TunçI

    11 months ago

    Hello. Can you please upload the c# source codes? BTW good work!

    0
    None
    Casly1978998

    1 year ago

    The Download Link doesn't work
    Can you fix that please?

    0
    None
    Abu-Fayez

    1 year ago

    i cant get to either of the downloads

    0
    None
    pattrick18031

    1 year ago

    Is it possible to reupload the exe file and the source code? I would like to add some featuresfor personal use.

    0
    None
    CiananP

    2 years ago

    Odd question. Would it be possible to slightly upscale (7" 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.