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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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

    • Tiny Speed Challenge

      Tiny Speed Challenge
    • Clocks Contest

      Clocks Contest
    • PCB Design Challenge

      PCB Design Challenge

    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

    0
    TunçI
    TunçI

    Reply 2 years ago

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

    0
    cheesemarathon
    cheesemarathon

    Reply 4 years ago on Introduction

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

    0
    wouterdoornbos
    wouterdoornbos

    Reply 4 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
    SWAT11
    SWAT11

    2 years ago

    I need source code please in c#.

    0
    DeanB34
    DeanB34

    2 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 2 years ago

    it dont work

    0
    Impetus37
    Impetus37

    5 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 2 years ago

    download link dont work

    i can have it on my server if you like

    0
    BlueEye.dk
    BlueEye.dk

    2 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

    2 years ago

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

    0
    Casly1978998
    Casly1978998

    2 years ago

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

    0
    Abu-Fayez
    Abu-Fayez

    2 years ago

    i cant get to either of the downloads

    0
    pattrick18031
    pattrick18031

    3 years ago

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

    0
    CiananP
    CiananP

    3 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.

    0
    Gaige Kerns
    Gaige Kerns

    4 years ago

    can you do this with the arduino nano?

    0
    NickG63
    NickG63

    Reply 4 years ago

    Yes