3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

USB CPU and Memory monitor

USB CPU and Memory monitor
«
  • SAM_0835.JPG
  • SAM_0834.JPG
  • SAM_0836.JPG
  • SAM_0839.JPG
This little device shows you the CPU-load, how much physical and virtual memory is used. It shows this data per 10% on 3 ledbars. To do so it uses a VCP (Virtual COM Port), so that it can be connected to a PC via a USB connection to receive the data. Collecting the data and sending it to the device is done by a Python script.

By building my own onboard UART to USB converter and using SMD, I was able to make a relatively small device.

As always, comments and constructive criticisme are very much appreciated.



 
Remove these adsRemove these ads by Signing Up
 

Step 1What do you need?

To build this device, you will need:
  • An attiny2313 (datasheet)
  • A FT232RL Uart to USB converter (datasheet)
  • A Mini USB B connector
  • 3 x Kingbright DC-10EWA Ledbar(datasheet)
  • 10 x 150Ohm resistor
  • A ferrite bead
  • 2 x 100nF capacitor
  • A 10nF capacitor
  • A 4.7uF capacitor
  • A 6pin female header
  • Materials to make a PCB or some veroboard
  • A Programmer and compiler of your choice

To run the python script on your pc, you will need:

As always, you can use thru-hole components instead of smd parts.
« Previous StepDownload PDFView All StepsNext Step »
22 comments
Jan 5, 2012. 9:58 AMAJC894 says:
Can you run analog gauges from it in place of led bar graph.
Oct 28, 2011. 8:50 AMMRedu says:
This looks like a really cool gadget but it would be even cooler if it were bluetooth making it wireless. Is that possible?
Aug 12, 2011. 1:45 PMshabaki says:
It would be awesome if you could make something like this to show the available/used memory on like an external hardrive
Aug 11, 2011. 8:22 AMBodenM says:
When you say "ferrite beads", do you mean this sort of thing: http://lairdtech.thomasnet.com/viewitems/ferrite-beads-on-wire/axial-lead-beads-power-filtering?forward=1
Aug 2, 2011. 5:22 AMBodenM says:
I'm looking at building this, so I have to ask if it is possible to have 2 cores showing independently, and just the free physical memory, instead of the setup shown here? And if so, could you please show me the changes I need to make (I'm a Python newbie)?
Aug 2, 2011. 3:03 PMBodenM says:
Thank you!
Jul 30, 2011. 1:31 PMstan4 says:
Awesome work buddy.

You just inspired me, I was looking for something pretty to put on my computer, and be able to call it "mod".
Jul 30, 2011. 1:52 PMstan4 says:
I read through everything in detail, also the documentation for psutil, I couldn't spot a "function" to read the GPU usage, can you give me a few tips? perhaps another library, thanks in advance.
Jul 30, 2011. 10:58 AMMegrathea69 says:
was thinking,maybe you could add another 2 led bars onto it for Hard Driv(C drive) temperature and fan speed readings as well.
Jul 30, 2011. 12:05 PMimBobertRobert says:
good idea!
Jul 29, 2011. 1:45 PMmathman47 says:
Interesting application. I use several Widgets on a 2 monitor setup to monitor system activity so I don't really need this, but I'm glad you showed how to do it. It reminds me of why people climb mountains - because they are there. In this case, it is because you can. Great job. Exposure to the code is enough for me.
Jul 30, 2011. 3:01 AMbertus52x11 says:
I wish I masterd these skills though...
Jul 29, 2011. 8:41 AMynze says:
I'm not very much into devices like this, but... What's the use of having a hardware device like this? Aren't there applications around that monitor data like this under Windows (I use a mac, and there are lots of "under the hood" apps available to do stuff like this...)

I'm pretty impressed by the simple fact that you can MAKE a device like this, anyway...

Cheers,

Y.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
92
Followers
25
Author:janw
My hobbies are mainly music and electronics but I like to read and learn about a lot more than that.