Close
0%
0%

Gnat-Stats, Tiny OLED PC Performance Monitor

Arduino OLED PC Performance Monitor with Client software

Similar projects worth following
Gnat-Stats, Tiny OLED PC Performance Monitor.

GnatStats (OLED) & PhatStats (TFT) form an Arduino serial display. HardwareSerialMonitor is a PC serial client, both are written by Rupert Hirst and Colin Conway.

HardwareSerialMonitor reads the PC hardware statistics from the open source OpenHardwareMonitorlib.DLL, which is part of OpenHardwareMonitor

Note: OpenHardwareMonitor does not need to be run, or present, on the host computer.

This data is forwarded over the hosts’ serial  port to an Arduino compatible micro processor. It is, then, displayed using the GnatStats/PhatStats sketch.

This project, assumes you have a above average experience with Arduino, the IDE and the compatible boards available.

The HardwareSerialMonitor was designed for dedicated GPU's . Your mileage will vary with Integrated Graphics

Going Forward:

The project needs to be ported over to LibreHardwareMonitor , a fork of OpenHardwareMonitor  for future support, as this gets a lot more updates for new PC hardware. If anyone can help please get in touch, thanks.

The above software/code is licensed under the following terms:
------------------------------------------------------------------------------------
Attribution-Non-commercial-Share Alike CC BY-NC-SA
This license lets others remix, tweak, and build upon your work non-commercially, as long as they credit you and license their new creations under the identical terms.
https://creativecommons.org/licenses/

http://tallmanlabs.com
http://runawaybrainz.blogspot.com/

https://github.com/koogar/HardwareSerialMonitor

https://github.com/koogar/Gnat-Stats

HardwareSerialMonitor was inspired by Psyrax's "SerialSender". Psyrax is given attribution and thanks, by being an honorary member of the project.

HardwareSerialMonitor_v1.3d.zip

Gnat-Stats HardwareSerialMonitor v1.3d Windows Client OpenHardwareMonitor DEC 2020 .DLL update

x-zip-compressed - 1.37 MB - 02/19/2021 at 15:06

Download

PhatStats_TFT_STM32F1_V1.6.2.zip

v1.6.2 : ADD: ESP8266 Support ADD: ATSAMD21 Support ADD: Show Overclock/Turbo/Boost values as a percentage over stock CPU/GPU values Optimised (Non Blinhttps://cdn.hackaday.io/files/19018813666112/GnatStats_ProMicro_OLED_V1.33.zipking) and character erase. Thanks to contributor "(MaD)erer"

x-zip-compressed - 146.82 kB - 02/22/2021 at 03:28

Download

PhatStats_TFT_ATSAMD_QT-PY_V1.6.2.zip

Add support for low cost ATSAMD21 Adafruit QT-PY and Seeeduino XIAO https://runawaybrainz.blogspot.com/2021/02/adafruit-qt-py-seeeduino-xiao-pinout.html https://www.adafruit.com/product/4600 https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html Both share the same pinouts. Add Pinout txt

x-zip-compressed - 34.54 kB - 02/10/2021 at 23:47

Download

PhatStats_TFT_ATSAMD_V1.6.2.zip

v1.6.2 : ADD: ESP8266 Support ADD: ATSAMD21 Support ADD: Show Overclock/Turbo/Boost values as a percentage over stock CPU/GPU values Optimised (Non Blinking) and character erase. Thanks to contributor "(MaD)erer"

x-zip-compressed - 148.10 kB - 01/29/2021 at 17:29

Download

PhatStats_TFT_ESP8266_V1.6.2.zip

v1.6.2 : ADD: ESP8266 Support ADD: ATSAMD21 Support ADD: Show Overclock/Turbo/Boost values as a percentage over stock CPU/GPU values Optimised (Non Blinking) and character erase. Thanks to contributor "(MaD)erer"

x-zip-compressed - 146.50 kB - 01/30/2021 at 00:24

Download

View all 10 files

  • 1 × Arduino Leonardo/ ProMicro / STM32F1 / ATSAMD21 / ESP8266
  • 1 × i2C SSD1306, i2C SH1106 OLED or ILI9341 TFT Display
  • 5 × Arduino Experience

  • Phat-Stats ​TFT V1.6.2 ESP8266/ATSAMD21/STM32

    Rupert Hirst01/06/2021 at 17:23 0 comments

    Phat-Stats TFT V1.6.2 ESP8266/ATSAMD21/STM32  

    (requires HardwareSerialMonitor 1.3 Upwards)

    Minimize blinking on screen data value changes and screen refresh.

     CPU Turbo or GPU Boost Mode frequency gains. (eg: +895MHz) or gain %

    Show when CPU or GPU is Throttling (Hit Thermal Junction Max temp)

    Show when CPU or GPU Turbo or Boost Mode is active.

    Add rotary encoder for PWM screen brightness.

  • Gnat-Stats HardwareSerialMonitor V1.3 update preview

    Rupert Hirst12/07/2020 at 18:42 0 comments

    Gnat-Stats HardwareSerialMonitor V1.3 update preview

    Additional GPU Features:

    Fan Speed Load%, Fan Speed RPM, Total Memory, Used Memory, Current Power Consumption in Watts (Nvidia)

    Additional system RAM features: 

    Total Memory, Available Memory, Memory Load.

    Picture showing the old and new GPU features.

    Currently Gnat-Stats HardwareSerialMonitor is still using the OpenHardwareMonitor source code, which is unfortunately outdated.

    New hardware support can only be leveraged using the LibreHardwareMonitor Source Code going forward.

    My time is limited, If anyone can help the transition please get in touch.

    Thanks

    Koogar

  • Run on Startup Win10

    Rupert Hirst06/15/2020 at 22:21 0 comments

    Due to the Windows 10 not allowing programs to run on startup as admin, here is a workaround script.
    -----------------------------------------------------------------------------------------------------------------------

    1) Right-click on the HardwareSerialMonitor.exe , go to properties, then compatibility and check "Run as Administrator"

    2) Create the VBScript using a text editor (I used Notepad)

    Script:
    ------------------------------------------------------------------------------------------------------------------

      Set WshShell = CreateObject("WScript.Shell" ) 
      WshShell.Run chr(34) & "C:\Program Files (x86)\HardwareSerialMonitor\HardwareSerialMonitor.exe" & Chr(34), 0 
      Set WshShell = Nothing
      
     ------------------------------------------------------------------------------------------------------------------

    (The above path is an example, edit this to where your HardwareSerialMonitor.exe path is located)

    Save the script as "HardwareSerialMonitor.vbs" (no quotes)

    Note: Make sure to save it as a .vbs not .txt
          

    3) Now place the HardwareSerialMonitor.vbs in the HardwareSerialMonitor folder:

    4) Goto the Windows startup folder

    %AppData%\Microsoft\Windows\Start Menu\Programs\Startup, alternatively access it by Win+R ⇒ shell:startup ⇒ Enter

    Create a shortcut to the .vbs script above by right clicking then "New" ⇒ "Shortcut" ⇒ "Browse" for the "HardwareSerialMonitor.vbs" Script and select it.

    HardwareSerialMonitor Should now run on startup
    -----------------------------------------------------------------------------------------------------------------------

  • GitHub Links

    Rupert Hirst06/12/2020 at 16:08 0 comments
  • Gnat-Stats TFT Version 1.5

    Rupert Hirst03/21/2019 at 18:49 0 comments

    TFT Version 1.5 

    : STM32 BluePill & ProMicro Suppport
    : 128x160 ST7735 & 240x320 ILI9341 TFT Support
    : Add PWM Output for Back Light
    : Separate "Configuration_Settings.h" to make settings easier

    2.8" ILI9341 240x320  Running on a BluePill STM32.  A bit large maybe to be called Gnat-Stats :)

  • Gnat-Stats OLED Version 1.4

    Rupert Hirst03/17/2019 at 18:06 0 comments

    Gnat-Stats OLED v1.4  

    : STM32 BluePill Support
    : Remove PowerPin Support


    Gnat-Stats small TFT versions coming soon.

  • Hardware Serial Moniitor v1.1

    Rupert Hirst10/16/2018 at 11:29 0 comments

    Hardware Serial Moniitor updated to v1.1

    Compiled with  .Net 4.6.2  to make use of LibreHardwareMonitor's updated  DLL (Fork of OpenHardwareMonitor) 

  • Gnat-Tacho PC HardwareTachometer

    Rupert Hirst10/16/2018 at 11:26 1 comment

    The Gnat-Tacho is just an example of what you could make with a bit of imagination.

    Using a NeoPixel Ring (16)  and the NeopixelRingGauges.ino to form a CPU/GPU Bargraph.

    Custom overlay

View all 8 project logs

  • 1
    Step 1
    • Gnatstats Tiny OLED PC performance monitor  &  HardwareSerialMonitor  Windows Client  

    by Rupert Hirst and Colin Conway

    This project, assumes you have above average experience with Arduino, the IDE, compatible boards available and other related hardware.

    Project principles:

    The HardwareSerialMonitor application uses the open source OpenHardwareMonitorLib.dll to sniff the sensors of most modern PC graphics, CPU and motherboards whilst, also pooling windows hardware stats.

    This data is then sent over a serial com port to an Arduino Microcontroller running the GnatStats Sketch and displayed on the OLED/TFT display.

    The HardwareSerialMonitor was designed for dedicated GPU's . Your mileage will vary with Integrated Graphics

    The full OpenHardwareMonitor application does not need to be run or present on the host computer.

    Compatible boards:

    • Arduino Leonardo / Micro / ProMicro   (Atmel ATMega 32u4) (not Arduino UNO or ProMini) 
    • Note: supports Neopixels

          ATMega 32u4 boards are more suited to OLED GnatStats as they do not have the required memory for GnatStats versions higher than V1.5  due to the bitmap images.

    • STM32 So called "BluePill"    (STM32F103)    Note: Does not support Neopixels
    • Atmel ATSAMD21 Based boards  (Feather M0 etc.) Note: supports Neopixels
    • ESP8266 (not ESP32)      Note: Does not support Neopixels

    Compatible Screens:

    • OLED :  SSD1306 (i2c) or SH1106 (i2c)  128x64 Pixels  Note: SH1106 are usually the screens over 0.96" 
    •  TFT    :  ILI9341 (SPi) 320x240 Pixels

    Library and MCU core links are included within the Arduino sketch.

    Notes:

    Adafruit_GFX Version 1.8.0 and higher doesn't compile for ESP8266 & STM32 Boards - Downgrade to Adafruit_GFX Version 1.7.5 in the library manager.

    Limitations:

    My coding ability...     eg: There is no CPU fan support, the CPU fan is a motherboard fan. It requires a motherboard chip to be detected, and the correct fan sensor.

    1. I can only test the hardware I own. Overall it has worked with everything I have tried.
    2. HardwareSerialMonitor and the way some things have to be detected.  See (4) as it relies on the "OpenHardwareMonitorLib.dll"
    3. OpenHardwareMonitor updates are few and far between. 

    Going forward:

    Some PC hardware support for certain CPU / GPU's is lacking, particularly certain Ryzen CPU's.

    HardwareSerialMonitor needs to be ported from the OpenHardwareMonitorLib.dll to the LibreHardwareMonitorLib.dll (open source) as this has more features such as network /ethernet and receives updates on a more frequent basis.

    My time is limited, if you can help with this please get in touch, thanks.

View all instructions

Enjoy this project?

Share

Discussions

EVilm1 wrote 02/12/2021 at 18:56 point

Hello ! I'm new and I discovered this project.

It's incredible and I would love to do the same at home.
I have never tested this kind of project before and after several hours of research on your project,
I still have some questions before buying the components.
I think my message can help a lot of people in the same situation as me. The project displayed here is not very intuitive for a beginner. But doable!

I would like a mini oled screen displaying my pc information in real time.
If I have understood everything correctly, for that I must :

If I want to use a mini oled screen, I can take a "SSD1306 (i2c)" such as this one :
https://www.amazon.fr/AZDelivery-pouces-Arduino-Raspberry-microcontr%C3%B4leur/dp/B01L9GC470/

As a controller, I can take the Arduino ProMicro like this one :
https://www.amazon.fr/ARCELI-Atmega32U4-Bootloadered-d%C3%A9veloppement-Microcontr%C3%B4leur/dp/B07J2Q3ZD5/

Then I need to connect the SSD1306 display to the ProMicro, is there a mounting shema?
From what you can see on the 2nd picture of the project, the display is directly installed on the ProMicro if I'm not mistaken.
I imagine that the GND must be aligned but the others don't match... I don't know.

Edit : I did download the files and found the connections I think. SDA on pin2, SCL on pin3 and I guess GND on pin4 and VCC on pin 5?

If I want to use a mini OLED display I have to take the GnatStats (OLED) file and not the PhatStats (TFT) file because it is only for TFT displays. (Is this correct?)
So I can take this file : "GnatStats_ProMicro_OLED_V1.33.zip".

Then you have to flash the code on the ProMicro, in the folder there are several ".ino" files and a "bitmap.h" file.
I guess I have to flash them on the ProMicro, but I have to flash them all? From what I've seen I have to compile the files. Is that right?
I've done Arduino before but it was just on an Arduino UNO.


Suppose I manage to flash the ProMicro, I connect it via USB to the PC. I connect it in internal USB 2.0.

We can quickly get lost between OpenHardwareMonitor, HardwareSerialMonitor, LibreHardwareMonitor...
If I understood correctly, for the ProMicro to capture the information, HardwareSerialMonitor must be running (and there are solutions that exist to launch it at startup automatically).
When running it sends information about the COM port, the ProMicro receives, and displays.

Finally, I use very recent components such as a Ryzen 9 and an RTX 2060. I guess if OpenHardwareMonitor manages to read my information, it must work with this project?

Here is what I understood, I would like you to please confirm all what I said, or to complete some points.
If everything is ok I'll go ahead and order the components!

Thank you for your help ;-)

  Are you sure? yes | no

Rupert Hirst wrote 02/13/2021 at 16:26 point

Hi,

Answer to some of your questions.

Running on Startup: https://hackaday.io/project/19018-gnat-stats-tiny-oled-pc-performance-monitor/log/179299-run-on-startup-win10

All the tabs get compiled together as one in the Arduino IDE  just like any other sketch. The tabs are there to break the code down into modules, it would be very long and hard to work with other wise.

https://hackaday.io/project/19018-gnat-stats-tiny-oled-pc-performance-monitor

HardwareSerialMonitor the companion to  Gnat-stats(OLED)  or Phat-stats(TFT) work together and are  developed by me.

LibreHardwareMonitor is a fork of OpenHardwareMonitor both are open source. One is better than the other.

HardwareSerialMonitor relies on one file "OpenHardwareMonitorLib.dll" from OpenHardwareMonitor to detect the hardware and send it to the Arduino sketch.

 OpenHardwareMonitor application does not need to be run or present on the host PC.

You could connect the USB internally to the motherboard with the appropriate adaptor "internal usb header adapter" which is easily found on Google.

This project has evolved a lot since its inception and thus it has been hard to do a guide for beginners.

The ProMicro while being a very capable micro is very limiting due to its small memory especially in  HardwareSerialMonitor v1.3.

As I try  new platforms eg: 32u4/ ESP8266 / STM32 /ATSAMD etc. I have updated the code. Having so many options and pitfalls it has been impossible to cater for beginners yet it makes it easier for advanced users with those micro's

I have been experimenting with the Adafruit QT-PY & Seeeduino XIAO a cheap powerful solution which will limit the project to one specific board.

Going forward, the only code with be for that platform. At which point I could do a guide for beginners for the OLED and the TFT versions with hook up diagrams etc. for select hardware.

As for compatibility with your Ryzen, I could not tell you.  I have seen many images with Ryzen's that work and many questions about it doesn't, some is user error, some is not.

In theory if it works in the OpenHardwareMonitor application it should work in HardwareSerialMonitor and Gnat-Stats. 

The Ryzen platform has been problematic for OpenHardwareMonitor especially as it gets few updates.

Yet!!! if it works in OpenHardwareMonitor  and not in HardwareSerialMonitor / Gnat-Stats they could be detecting certain Ryzen CPU's in a different manner to which I am not aware of.

Hope this clears up a few things

Rupert

  Are you sure? yes | no

EVilm1 wrote 02/14/2021 at 02:11 point

Hi !

Thank you for your complete and detailed answer.
I downloaded the file and managed to compile it, I understood by myself that it was enough to open only one file for all the other files to follow in the compilation.
So I managed to compile the whole thing, (Gnat-stats for OLED)
However, there are still some mistakes that I don't really understand.
These are warnings and not errors, I guess it doesn't matter because I don't want to use NeoPixel (leds).

Here are the warnings: 
GnatStats_ProMicro_OLED_V1.33.ino:180:0:  /Adafruit_SSD1306.h:63:0: warning: "BLACK" redefined #define BLACK SSD1306_BLACK  ///< Draw 'off' pixels
GnatStats_ProMicro_OLED_V1.33.ino:165:0: note: this is the location of the previous definition #define BLACK 0x000000 // OFF
The same for white...

As you say QT-PY would be more suitable for OLED screens. Does the code work with QT-PY today? I need to buy QT-PY more than ProMicro?
Nothing is specified about QTPY in Gnat-Stats 1.33. Would it still be SDA on pin2, SCL on pin3, GND on pin4 and VCC on pin 5?
Or just connect the pins with the same name? (GND -> GND, VCC -> 3.3V, SDA -> SDA, SLC -> SCL) a bit laborious sorry xd

I looked at your code a little bit, very interesting! There are even 3 possible displays!
Thank you for your project and your help :D

  Are you sure? yes | no

Rupert Hirst wrote 02/15/2021 at 18:21 point

The warnings you are getting look like library conflict errors probably because you have more than one library with the same header file(.h) name.

The QT-PY is more suitable for TFT screens but will work with OLED as long as it is a SSD1306 not the SH1106 as there is no library for the QT-PY that I can find. 

I have OLED  working on the QT-PY I just have not released it yet

All the OLED screens which are 0.96" tend to be SSD1306 while screen sizes above that will be SH1106 but the seller will still call it a SSD1306!!!.

you can  tell by the pin order  

SSD1306 = VCC/GND/SCL/SDA

SH1106    = GND/VCC/SCL/SDA

The pin connections are VCC to VCC GND to GND,  SDA and SCL  are different depending on the Microprocessor.  

SDA and SCL are not mentioned in the code, you only have to connect them to the correct  pins.

  Are you sure? yes | no

EVilm1 wrote 02/16/2021 at 23:07 point

Thank you for your response,

What do you mean by "I have OLED working on the QT-PY" ?
Does GnatStats_ProMicro_OLED_V1.33 already work with QT-PY and OLED SSD1306 ?
For the pins I think I understood, it's just logic...
Thanks

  Are you sure? yes | no

Alvaro rubio wrote 02/03/2021 at 19:44 point

hola de nuevo alguien me puede decir como tengo que conectar  LOS PINES de un lcd ILI9341 a la placa STM32 ? LO AGRADECERIA MUCHO

  Are you sure? yes | no

Alvaro rubio wrote 02/03/2021 at 18:25 point

como tengo que conectar el arduino en el lcd de 320x240

me refiero al esquema electrico

  Are you sure? yes | no

Alvaro rubio wrote 02/02/2021 at 15:21 point

Hola buen dia tengo varias preguntas 

puede conectar un lcd 240x320  a arduino pro micro , si es así como tengo que conectar los pines y en que lugar 

  Are you sure? yes | no

Rupert Hirst wrote 02/02/2021 at 18:14 point

GnatStats_TFTonly_ProMicro_STM32_V1.5b

TFT Version 1.5 : STM32 BluePill & ProMicro Suppport
: 128x160 ST7735 & 240x320 ILI9341 TFT Support

  Are you sure? yes | no

Alvaro rubio wrote 02/03/2021 at 12:02 point

vale y solo con instalar esa version en arduino y conectarla deberia encender??

  Are you sure? yes | no

Chris wrote 01/31/2021 at 03:22 point

I read this a few times and I still can't find the answer to this. What hardware did he use for the Green/red circle around the display? I can't find info on that.

  Are you sure? yes | no

Rupert Hirst wrote 01/31/2021 at 17:58 point

Adafruit NeoPixel Ring - 16 x 5050 RGB LED  

It was never mentioned as it was an example of what you could make.

It could just as easily be a strip rather than a ring "There is no spoon" :)

The code for the NeoPixel Gauge is in the relevant sketches. (NeopixelRingGauges.ino)

The file for the graphic is in the files section but you will need a vinyl cutter, I used a Cricut Explore.

------------------------------------------------------------------------

Gnat-Stats circular tachometer dial overlay graphic

Gnat-Tacho Overlay 47.75mm v2.zip 

-------------------------------------------------------------------------

Supported Arduinos for the  NeoPixel Tachometer  Gauges

Atmel 32u4 based 

Atmel ATSAMD21 Based

  Are you sure? yes | no

evl wrote 01/25/2021 at 15:57 point

Hi guys, please help a noob. I got this error and I have no clue what to do.

'DisplayStyle1' was not declared in this scope

  Are you sure? yes | no

Rubbernail wrote 01/28/2021 at 15:57 point

I think we need more details about that.

What board, screen, file

  Are you sure? yes | no

Rupert Hirst wrote 01/30/2021 at 00:33 point

more details pls

  Are you sure? yes | no

estebangmn wrote 01/03/2021 at 21:01 point

Hello Guys¡, i have the SMT32 and the clone of promicro board but, do you know some more powerful boards that also support this proyect?, in the promicro there is limitation with the strip leds, i need some board that is more powerful than the blue pill or the clone of the promicro and also compatible to use with this project, THX¡

  Are you sure? yes | no

Rupert Hirst wrote 01/03/2021 at 23:37 point

What do you mean by more powerful?

All of the chips are more than powerful.

The Limitation of the ProMicro is memory 

On the  STM32 the Neopixel needs to share the SPi bus and it affects the TFT.

The ATSAMD21 would be the best option as it is fully supported by Adafruit libraries.

  Are you sure? yes | no

estebangmn wrote 01/04/2021 at 09:13 point

thank you rupert, i am the fan number one of your project, i would like to build a led indicator of two strips with 144 leds each one but the promicro only alows like 30 leds, will be like a large bar indicator using the strips but i need a board that support much leds for that, about the screen do you know some screen more expensive and with more qualityt to show the data and supported?

  Are you sure? yes | no

estebangmn wrote 01/07/2021 at 12:28 point

rupert, when i connect leds to the pin PA7 of the STM32 i got my leds blinking only, there is no response at all, why is that?

  Are you sure? yes | no

estebangmn wrote 02/01/2021 at 23:30 point

Rupert, im very curious about write or edit my own software in windows, i where thinkin about edit or build a new hardware serial monitor, i choose this ine bs i feel very familiar with it already, maybe just watch the line codes and learn how communicate with the gnatstats monitor, the thing is that i dont know even from where start, i mean, in wich language is wroten, what is the platform i must use to build or just edit the hardware serial monitor?, sorry by the question Rupert but im trying to write my own first software in windows and i would like to see the code of the hardware serial monitor to end of understand how the whole project works and learn how a software in windows is wroten, very very interesting for me this part, thx in advantage

  Are you sure? yes | no

Rupert Hirst wrote 02/03/2021 at 16:22 point

"Rupert, im very curious about write or edit my own software in windows, i where thinkin about edit or build a new hardware serial monitor"

HardwareSerialMonitor is a MS Visual Studio project mostly in C#

You can download the community edition of  VS for free.

The HardwareSerialMonitor Source code is in a Zip file in the download.

Open the HardwareSerialMonitor.csproj in VS. 

On the right hand side in the "solutions explorer" find "Form1.cs" right click and "View Code"

All of the code for reading the OpenHardwareMonitorLib.dll and  sending the serial string to the arduino are in the "Form1.cs"  file 

You could just open "Form1.cs" in "Programmers Notepad" or "Notepad++"

if you just want to look.

reference stuff: https://github.com/openhardwaremonitor/openhardwaremonitor

         https://github.com/LibreHardwareMonitor/LibreHardwareMonitor

  Are you sure? yes | no

Rupert Hirst wrote 01/09/2021 at 23:05 point

"rupert, when i connect leds to the pin PA7 of the STM32 i got my leds blinking only, there is no response at all, why is that?"

PA7 is an SPi MOSI pin.

You can not effectively run a SPi TFT and Neopixels on the STM32 due to the DMA restrictions of the STM32 Neopixel library. 

That's why I didn't include it.

Works fine on the ATSAMD21 using the Neopixel Zero DMA Library.

https://learn.adafruit.com/dma-driven-neopixels

 "i would like to build a led indicator of two strips with 144 leds each one but the promicro only alows like 30 leds,"

May i ask why you need so many pixels? :)

I think i read the ATSAM21D can drive 8000 pixels.

  Are you sure? yes | no

estebangmn wrote 01/10/2021 at 10:22 point

"May i ask why you need so many pixels? :)" i wanted to build 4 large bars of 144leds each one with the project, they are cheap and looks amazing but the promicro dont allow more than 40 pixels i think in total, this is a technical question Rupert, im also electronics technician but not engineer, i would like to know what is the spec in the microprocessor who tell you that will allows 8000 pixels like you said, thanks in adavance

  Are you sure? yes | no

Rupert Hirst wrote 01/10/2021 at 16:12 point

"what is the spec in the microprocessor who tell you that will allows 8000 pixels"

As long as the MCU is fast enough, the limitation is the amount of memory it can allocate.

The Teensy4 can run 30,000 pixels

ARM Cortex-M7 at 600 MHz
Float point math unit, 64 & 32 bits
1984K Flash, 1024K RAM (512K tightly coupled)

  Are you sure? yes | no

estebangmn wrote 01/12/2021 at 19:08 point

but this is compatible with the project?, is even better than ATSAMD21?

  Are you sure? yes | no

Rupert Hirst wrote 01/12/2021 at 19:38 point

"but this is compatible with the project?, is even better than ATSAMD21?"

I do not know, I do not have a Teensy. 

I have it running on my desk with neopixels  on a  ATSAMD21 Feather M0   

  Are you sure? yes | no

Rupert Hirst wrote 01/12/2021 at 22:43 point

Yes it should work

  Are you sure? yes | no

estebangmn wrote 01/12/2021 at 22:48 point

THX rupert you're the man

  Are you sure? yes | no

estebangmn wrote 01/12/2021 at 23:10 point

https://www.youtube.com/watch?v=8Dy6VMruoY0

the most i like personally is the oled version but also the new version of the LCD looks great, one of the two screens looks much brighter than the other i have "the smaller one", they come from different distributors i think, size is also diferent

  Are you sure? yes | no

Rupert Hirst wrote 01/12/2021 at 23:24 point

I like the OLED version also but it needs more resolution

You should try the "Non Blinking" version of the sketch it was a lot of work! :)

https://youtu.be/-b1WhIz9ZzI

  Are you sure? yes | no

estebangmn wrote 01/02/2021 at 16:23 point

hello, someone know the setup to flash a STM32 board with arduino IDE already showing mapple mini in the usb?. last version 1.58b

 i tried to compile and flash selecting like board STM32F103C8T6, i get error trying to compile for any SMT32 boards"

exit status 1
Error compilando para la tarjeta Generic STM32F103C series."

and if i try some arduino boards i get this error 

"'PB11' was not declared in this scope"

 my SMT32 board is ready and recognized like mapple mini in the usb IDE ports

can someone help me?

  Are you sure? yes | no

ragook wrote 01/02/2021 at 18:10 point

Does the Blink sketch work?

What Core are you using?

"'PB11' was not declared in this scope"  is usually the result of the wrong core or board selected , it does not recognize the pin numbering.

  Link Below for the STM32 Bootloader and Arduino Core (you may have to install the Arduino Due core also for the compiler.

https://github.com/rogerclarkmelbourne/Arduino_STM32

https://github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/binaries

BluePill_generic_boot20_pc13.bin  (pc13 refers to the LED pin)

Adafruit_GFX Version 1.8.0 and higher doesn't compile for STM32 Boards- Downgrade to Adafruit_GFX Version 1.7.5 in the library manager.

Hope this helps :)

  Are you sure? yes | no

estebangmn wrote 01/02/2021 at 18:15 point

thank you very much, yes the blink sketch works and now i can even programm without the adapter, i can programm directly by usb, so i must add this links to the arduino files folder?, and wich board i must select?

https://es.aliexpress.com/item/32495902134.html?spm=a2g0s.9042311.0.0.274263c0zCZn1Q

  Are you sure? yes | no

estebangmn wrote 01/02/2021 at 18:47 point

it's working already, the problem was the version of Adafruit_GFX Version, down to 1.7.5 and works at the first try, love at the first sight, cool¡

  Are you sure? yes | no

R▲ wrote 12/22/2020 at 15:07 point

Folks, I need some help. 

1. My hardware:
- MICRO LEONARDO ATmega32U4 
- SSD1306 BLUE Arduino SPI I2C
2. Installed Open Hardware Monitor
3. Flashed Arduino with GnatStats_ProMicro_OLED_V1.32b. 
- Included all the necessary libraries
- Uncommented these items:
#define OLED_SSD1306
#define enablepowerPins
#define powerPins  //(VCC, GND, SCL, SDA) 
- Picked "Ardunio Leonardo" board and "COM4" port it Tools
- Veryfied sketch, uploaded successfully
4. Installed Hardware Serial Monitor v.1, running as Admin

My screen is black. What am I missing here? 

  Are you sure? yes | no

R▲ wrote 12/22/2020 at 20:07 point

Okay so I've tested D4 and D5 pins with multimeter, and it turned out that they weren't giving 5V. So I've wired VCC and GND pins of the OLED display directly to Arduino's VCC and GND. It did the trick!

  Are you sure? yes | no

git-toor wrote 12/18/2020 at 10:30 point

Hi Guys,

openserialmonitor doesnt give cpu temp reading for some reason, I wrote a simple python script to print all sensor names and values and it doesnt show the cpu temps. Any idea what might be wrong there. I tried other applications like HWinfo and HWmonitor and they all show cpu temps just fine.

  Are you sure? yes | no

Rupert Hirst wrote 12/18/2020 at 14:38 point

on what PC hardware?  which Arduino?

  Are you sure? yes | no

Tomas wrote 12/20/2020 at 18:25 point

I have the same problem, ryzen 3600, temperature not reported, and clock speed on screen 2 shows percentage use. Using arduino pro micro and oled screen

  Are you sure? yes | no

Lucas wrote 12/27/2020 at 15:34 point

tries to run HardwareSerialMonitor as an administrator. I had the same problem but when I run as an administrator the program works normally

  Are you sure? yes | no

Benjamin wrote 12/04/2020 at 18:11 point

Hi everyone. :)

I currently try to recreate this project and am stuck at the point where I need to flash the firmware on the arduino. I have an Arduino Micro and the SSD1306 128x64 OLED screen.

With a test-firmware from a tutorial I get the screen working, but the GnatStat V1.41 firmware doesn't show me anything on the screen after flashing. I already double checked the SDATA and SCLK Pinout, included an Reset-Pin and went over all the needed definitions in the firmware-script.

Any ideas what I could have made wrong? 
https://imgur.com/a/gLAI1iH


  Are you sure? yes | no

Rupert Hirst wrote 12/07/2020 at 18:53 point

Hi Benjamin

Looks like your using the SPI version of the screen not the i2C

BTW although the code shows "OLED_RESET" it does not get connected physically

If the screen is also i2C compatible try using Gnat-Stats sketch 1.32b

it is specifically for the 32u4 based Arduino's only

  Are you sure? yes | no

archieve.minimadrid wrote 12/01/2020 at 22:53 point

Hello everyone. First i would like to thank the developers for this nice project. I would love this to keep evolving as its a very nice monitoring setup.

I managed to run the TFT 1.5 version with an Arduino Pro Micro 5V and a 2.8 ILI9341 screen. After properly setting up the pro micro in the Arduino IDE, and flashing the software (prior commenting and uncommenting my hardware in the Configuration.h file) it works as it should. I had to add 2.2K resistors (what i had around) between all pins of screen and Arduino (except VCC, GND and LED pins) because as others commented, the screen does not properly manage 5V signals even if it says so. 

So after wiring the resistors my setup is working nicely! Two things im doubtful:

HardwareSerialMonitor V1.1a its supposed to use Librehardwaremonitor dll library (as it says in the Arduino code) but i think it does not. The DLL incluided is from OpenHardwareMonitor dll, version 0.82. I've manually changed it for the 0.95 version, but for my hardware it does not detect all parameters as it should. Im running a Ryzen 5800X and a RTX3080, so not all data is displayed, for example, cpu temp, and cpu frequency. OpenHardwareMonitor software is not able to fetch this info as its outdated. I would please ask the developers to move the support to the latest LibreHardwareMonitor library, as this one does properly detect the stats and gets updated frequently (OpenHardwareMonitor was forked, and its a dead project now)

- The second thing i would love to be able is to have more screen layouts with better graphics, or at least some documentation to be able to redesign myself, or even better, have different layouts made by the community. That would be awesome. I would love to know how could i add different parameters fetched from the Open/Libre library.

So thanks again, i hope that at least LibreHardwareMonitor library is properly supported soon. Please tell me if you need any help that i can provide. Thanks!

  Are you sure? yes | no

Rupert Hirst wrote 12/07/2020 at 19:01 point

At the moment we are stuck on OpenHardwareMonitor till it can be switched over to LibreHardwareMonitor, which for me will not be easy.

Older LibreHardwareMonitor was still compatible with a name change of the DLL, now it is not.

Originally, I was hoping people would modify the HSM source code and share. While a few people have taken the code as their own, other have added great features but do not share.

  Are you sure? yes | no

Edgaras wrote 11/27/2020 at 14:41 point

Hello peeps. Wanted to ask for help. I have succesfully managed to get it test-working with arduino uno (tested with this because I had faulty arduino micro pro), oled shows data with temps model number (ryzen 3600 and rtx 2060) interlaced with blanking lines. Upon some investigation (im not coder, my girl is) we faund out that original adafruit ssd1306 library has default setting for 128x32, so We changed the H file so it would be for 128x64, literally changed just one line of code. It started showing proper screen, correct resolution, but with no data anymore. Any ideas?

  Are you sure? yes | no

dehavok1 wrote 11/09/2020 at 15:50 point

Hi I am not getting any temperature values on a Ryzen 3700X and 5700XT. Any suggestions? Thanks

  Are you sure? yes | no

Cristian Caceres wrote 10/30/2020 at 12:23 point

Hi guys, i have the same issue, a ILI9341 and a Arduino Pro Micro (Atmel Mega 32u4) and only get a White Screen =( please help

  Are you sure? yes | no

ragook wrote 11/10/2020 at 12:15 point

Does the screen work when you use the standard Adafruit graphics test example?

  Are you sure? yes | no

Cristian Caceres wrote 11/10/2020 at 12:34 point

with the adafruit script it does nothing, with the Gnat script it shows only the white screen.

  Are you sure? yes | no

ragook wrote 11/11/2020 at 02:24 point

 If you can't get it working with the basic Adafruit ILI9341 sketch you need to check your wiring and pin assignments. I assume you have  uncommented the correct things in the "Configuration_Settings.h" tab in the gnatstats sketch.

  Are you sure? yes | no

Pogz wrote 10/21/2020 at 09:31 point

Anyone got pin connection with a TFT_ILI9341? Do I need a Logic Level Converter for it? I just get a white screen wiring it directly. 

This is the only one I cant get to work.

  Are you sure? yes | no

ragook wrote 10/21/2020 at 13:59 point

If your MCU is 5v you need a 1.5k resistor  on each of the CS/RST/DC/MOSI/SCLK connections

  Are you sure? yes | no

kyouko wrote 09/22/2020 at 18:18 point

Hi sorry if this question is a bit stupid but i'm new with using arduino's.

I bouth a STM32 (https://nl.aliexpress.com/item/32326304541.html?spm=a2g0s.9042311.0.0.2b354c4dfkrhiu)

and an SSD1306 (https://nl.aliexpress.com/item/32896205376.html?spm=a2g0s.9042311.0.0.2b354c4dfkrhiu)

my question is what pins do i need to connect because i couldn't really find documentation about these 2 together and they should work.

  Are you sure? yes | no

Pogz wrote 10/21/2020 at 09:29 point

Make sure you have the file GnatStats_ProMicro_STM32_OLED_V1.41_CFG

1.) Check Configuration_Settings.h

2.) Comment out #define ProMicro and uncomment //#define STM32_BluePill

3.) This is  your pinouts: 

- SDA connect to PB7 (B7) 

- SCL(SCK) connect to PB6 (PB7) 

- Ground and VCC pins on its corresponding pins. 

  Are you sure? yes | no

estebangmn wrote 01/02/2021 at 16:30 point

the pinout is explained in the documents of the arduino files

  Are you sure? yes | no

levan wrote 09/21/2020 at 13:06 point

Hello. how can i rotate display? i can not find this line in code? i have ST7735 1.8 inch display.

  Are you sure? yes | no

Pogz wrote 10/21/2020 at 09:18 point

/* Display screen rotation  0, 1, 2 or 3 = (0, 90, 180 or 270 degrees)*/

int ASPECT = 2;

on file Configuration_Settings.h

  Are you sure? yes | no

Tomas wrote 09/20/2020 at 06:32 point

Using HardwareSerialMonitor 1.1 the RAM String is not showing up any value. its R(BLANK)G

  Are you sure? yes | no

Pogz wrote 09/12/2020 at 08:34 point

Can anyone give me a working pin connection with a TFT_ILI9341? I got the TFT_ST7735 but not this bigger TFT_ILI9341? 

My current connection is (following the writeup) 

TFT_ILI9341 - Adruino Pro Micro
VCC - VCC
GND - GND
CS - 10
RES - RES (set to 0 on source)
DC - 9 
SDI (MOSI) - 16
SCK - 15
LED - 6
SDO (MISO) - 14

but all i get is just a white screen. any tips

  Are you sure? yes | no

ragook wrote 09/12/2020 at 15:58 point

Why do you need a working list when you dont have a ILI9341?

ProMicro SPi= CS:10 RST:0 DC:9 SCLK:15 MOSI:16    MISO isnt needed

Backlight pin is 6

  Are you sure? yes | no

Pogz wrote 09/19/2020 at 07:50 point

i have the ILI9341 .. and im trying to get it to work for it (i have already made it work for ST7735 (as i previously posted) so i dont know what you meant by " you dont have a ILI9341" 

  Are you sure? yes | no

Pogz wrote 09/19/2020 at 08:23 point

FYI, I did follow the pinouts as recommended. But again im just getting a white screen https://imgur.com/a/WL3P06W

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates