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.
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
For more detail: USB CPU and Memory monitor