This little device shows you the CPU-load, how much physical and virtual memory is used. It shows this data per 10% on 3 led bars. 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 criticism are very much appreciated.
To build this device, you will need:
- An attiny2313 (datasheet)
- A FT232RL Uart to USB converter (datasheet)
- A Mini USB B connector
- 3 x King bright DC-10EWA Led bar(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 Vero board
- 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.
Read More: USB CPU and Memory monitor