PC Hardware Monitor With Arduino and Nokia 5110 LCD

Introduction: PC Hardware Monitor With Arduino and Nokia 5110 LCD

Arduino based PC monitor which displays CPU temperature, load, clock and used RAM

CPU load or clock values can be also drawn as a graph.

Parts:

  • Arduino Nano or Arduino Pro Mini with USB to serial adapter
  • Nokia 5110 84x48 LCD

Step 1: Connections

Full list of connections from LCD side:

  1. RST to Pin 9
  2. CS/CE to Pin 10
  3. DC to Pin 8
  4. MOSI/DIN to Pin 11 / SPI
  5. SCK/CLK to Pin 13 / SPI
  6. VCC to 3.3V
  7. LIGHT to GND via 200ohm resistor
  8. GND

Step 2: Arduino Firmware

Step 3: PC Software

  1. Download and install HardwareSerialMonitor

    https://cdn.hackaday.io/files/19018813666112/Hardw...

  2. Start it with administrator rights
  3. Choose correct serial port

Be the First to Share

    Recommendations

    • Battery Powered Contest

      Battery Powered Contest
    • Plywood Challenge

      Plywood Challenge
    • Plastic Contest

      Plastic Contest

    2 Discussions

    0
    TruongH13
    TruongH13

    1 year ago on Step 3

    help me, went i verify code, i meet the error:

    In file included from F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:33:0:
    C:\Program Files (x86)\Arduino\libraries\PropFonts/c64enh_font.h:123:1: warning: narrowing conversion of '-7' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
    };
    ^
    In file included from F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:34:0:
    C:\Program Files (x86)\Arduino\libraries\PropFonts/small5x7bold_font.h:125:1: warning: narrowing conversion of '-5' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]
    };
    ^
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino: In function 'void setup()':
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:55:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    lcd.printStr(ALIGN_CENTER, 2, "Connecting ...");
    ^
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino: In function 'void loop()':
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:177:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    lcd.printStr(0, 0, "Temp: ");
    ^
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:179:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    lcd.printStr(x, 0, "'C ");
    ^
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:180:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    lcd.printStr(0, 1, "Load: ");
    ^
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:183:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    lcd.printStr(x, 1, "% ");
    ^
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:184:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    lcd.printStr(0, 3, "RAM: ");
    ^
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:186:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    lcd.printStr(x, 3, " GB ");
    ^
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:187:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    lcd.printStr(0, 2, "Clock: ");
    ^
    F:\bai hoc\Dien tu\monitor pc arduino nano lcd nokia\N5110_HWMonitor-master\N5110_HWMonitor-master\N5110_HWMonitor\N5110_HWMonitor.ino:190:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    lcd.printStr(x, 2, " MHz ");
    ^

    Capture.PNG
    0
    cbm80amiga
    cbm80amiga

    Reply 1 year ago

    I use older IDE 1.6.5, maybe in newer ones they changed compiler. Try older Arduino IDE or manually add extra casting for variables.