Introduction: DIY "PC Usage Meter ROG Base" Using Arduino and Python

*************************************

+First Of All , This Instructables had been written By a Non native english speaker...... Not An English Professor , So Please Inform any grammatical Mistake Before Making Fun Of me. :p

+And Please do not imitate any of the logo seen in the pictures Most Of them have Copyrights or at least feelings attached with their respective owners

+Any Of The improvements will be appreciated, either in this instructable or in the Equipment

+I am not responsible For any Of the damaged Caused to your phone,pc or any device because of any cross-wiring and any errors in the circuiting and programming by you. So do this thing on your own risk .

+ If available , 3D print a Cute case for this.

+ PRESS THE HEART TO APPRECIATE AND TO SPREAD THE LOVE. AND ADD THIS TO YOUR FAVOURITES.

*************************************

Hello Everyone,

So it all Started with a need(Greed actually) of a luxurious pc part, about a year ago i started making a 6th gen gaming pc..... to code in visual studio.... while building that pc slowly, by collecting my pocket money....one day i saw a 200$ Asus ROG Base, which shows the cpu usage , can remotely overclock and do a lot of cool stuff(*Looking with shiney eyes*).... surely i wanted to buy that..... but the price tag was too damn high(*Jaw drop*)..... so i took a quick note to make one later.... then i started learning python, and came across the "PSUTIL" library ,and boom..... everything was possible now.

with just a few leds and a arduino nano ..... i made the hardware, then after a few days of libraries research , i made the python program....

basically It only Visualize CPU Usage now, but with minor alterations on the Host side(Computer) python program, it can be configured to show every detail which the python's psutil library provides i.e. - ram usage, cpu frequency, and other stuff.

It Is a External CPU Usage meter....

I am still working on this project to make the computer program a background process but since i am a noobie to python it'll take time. help in this sector will be appreciated a lot.

excited ? ,So let's browse the bill of materials.....

Step 1: Bill of Materials

Bill of materials-

1. An Arduino (with Serial Module installed, use usb to ttl if you are using arduino pro mini......no matter which arduino you use,but i prefer nano).

2. A Led Bar Graph, or 10 Leds

3.A Host Machine

that's it...

Step 2: Making the Circuit.

Connect Leds to pins D3 to D12 and with cathodes common, i.e - as shown in Picture.

Also add 1k resistor in series with each led.(Not Shown In Picture.) Not doing so will fry up arduino or leds or both....

Step 3: Installing the Souls

So , as we all know..... everyone need souls to work.... machines too...
Download These Softwares and Sketches To get Started

1. Arduino Sketch and Host Program- Github Link

2.Python -Download Python

3. PSUTIL Library - PSUTIL Library

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

1.Upload the arduino Sketch

2.install Python

3.Install the PSUTIL Library after downloading it. if you don't know how to do that just browse for tutorials on google by searching for "How to install python library".

4. Download the Host Program.

5.Hold down the Windows key + R.

6.Type: shell:startup

7. Click OK.

8.copy paste the host program in startup folder

9.then again copy the host program

10.and paste shortcut on desktop.

Step 4: One Last Ride

plug in your arduino. and check if the serial port is COM2, if not change it to Com2 by changing from device manager. click OK

then launch the python program by clicking the desktop shortcut... once it runs it'll automatically start itself up on each boot. be sure not to close the terminal window.... although it doesn't shows any output. it's still working .

Then

Enjoy........

*******************************************

Note-

1.Install it Anywhere near your pc, cover it in a 3d printed case, or use Bluetooth module to make it wireless.

2.to upgrade the program for other psutil functions check the python program.

3. The arduino Sketch will actually look like noobie one.... but it's only to save arduino crashes due to excess ram usage in for loops, so that it can be used on attinies and avrs.

4.be sure not to close the terminal window.... although it doesn't shows any output. it's still working .

5.soon i'll make a full version of the diy rog base including remote overclocking features and multi bar graphs.....

6. any of the contributions to codes and other stuff will be appreciated......

*******************************************

Step 5: Update Logs

************ Updates will Be Descripted Here***************

21/06/2017 - As Suggested by "rufununu" add a 1k resistor before each led in order to protect your arduino and leds.

***************************************************************

Comments

author
rafununu made it!(author)2017-06-21

You'd better limit Led current with resistors, here you're counting on the Nano limits. This will destroy Nano's output or Leds or both !

author
_Boltz_ made it!(author)2017-06-21

i don't think it'll make any difference..... it is running from past 6 months.... and nothing happened.... but still .... precaution is better than cure.... so i'll update it.

author
Absolutelyautomation made it!(author)2017-06-20

Nice, so no more opening apps & windows to see cpu use!

author
_Boltz_ made it!(author)2017-06-20

yup .... even while playing games and in other inaccessible conditions. ....... it'll be always there for help....

About This Instructable

621views

12favorites

Bio: + A Maker, With Big Dreams And right Tools to accomplish them. + Let's Make this World A Positive place to live, Either by wish and ... More »
More by _Boltz_:DIY "PC Usage Meter ROG Base" Using Arduino and PythonSolar Charging Back Case Cover For Smartphones Under 4$Tempy -A Cute Temperature Controlled Smiley
Add instructable to: