Arduino CPU+RAM Usage Monitor LCD

Introduction: 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!

Arduino Contest

Participated in the
Arduino Contest

Be the First to Share

    Recommendations

    • Lamps and Lighting Contest

      Lamps and Lighting Contest
    • Organization Contest

      Organization Contest
    • Halloween Contest

      Halloween Contest

    49 Comments

    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

    0
    les bidoulleurs
    les bidoulleurs

    Reply 6 months ago

    hello it's not working

    20210303_113238.jpg
    0
    les bidoulleurs
    les bidoulleurs

    Reply 6 months ago

    hello the link is not working

    0
    TunçI
    TunçI

    Reply 3 years ago

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

    0
    cheesemarathon
    cheesemarathon

    Reply 6 years ago on Introduction

    your site is down. i cant get to either of the downloads

    0
    wouterdoornbos
    wouterdoornbos

    Reply 6 years ago on Introduction

    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
    xer66
    xer66

    6 months ago

    Hello, does this work with the 1602 LCD Keypad display?

    0
    SWAT11
    SWAT11

    3 years ago

    I need source code please in c#.

    0
    DeanB34
    DeanB34

    3 years 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!

    0
    BlueEye.dk
    BlueEye.dk

    Reply 3 years ago

    it dont work

    0
    Impetus37
    Impetus37

    7 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!

    0
    BlueEye.dk
    BlueEye.dk

    Reply 3 years ago

    download link dont work

    i can have it on my server if you like

    0
    BlueEye.dk
    BlueEye.dk

    3 years 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
    TunçI
    TunçI

    3 years ago

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

    0
    Casly1978998
    Casly1978998

    4 years ago

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

    0
    Abu-Fayez
    Abu-Fayez

    4 years ago

    i cant get to either of the downloads