Introduction: Microview CPU Monitor
This project is a proof of concept to turn the Microview into a Heads Up Display for gamers to easily keep track of their CPU usage (on the right) and Ping speed(on the left). Currently it only uses the basic Microview sliders but soon I will update it and make it look smoother. For now this tutorial will show you how to open a port on Windows and Linux in order to send information to the Microview (or any Arduino) and parse the data sent through the COM port.
Step 1: Get the Code for the Microview (Arduino)
Download to your Arduino IDE or upload to the Microview from your browser using the link below or it is also embedded below.
Step 2: Time for the Software
I will include both a ready to go compiled program as well as a Visual Basic Project. The program is pretty simple put in your port number if it differs from COM4 and check the GO box. If the MicroView is found everything should work, else it will crash and burn. Just reset and put in the correct COM port if the program dies.
Download from mediafire.com below or check the i'ble attachments
Make sure python is installed before running script.
First plug in MicroView
Second in a terminal navigate to the folder with getPort.sh and cpuTime.py
Third use 'sh getPort.sh' in order to find MicroView port
*if the step above does not end with ttyUSB0 then you MUST EDIT PYTHON SCRIPT check below
Fourth if edit is not needed run python file 'python cpuTime.py'
* to edit the python file with the correct port open cpuTime.py with a text editor such as gedit 'gedit cpuTime.py'. Delete ttyUSB0 after the PORT variable and insert your port. try step 4 above.
**NOTE: In the python script it will only retrieve and send cpu speed not ping.
Step 3: You're Done
Assuming you uploaded the sketch to your Microview/Arduino then just run the program on any windows machine and you should have an updated cpu/ping monitor. If you want a python script for linux/mac let me know and I'll include it here.
We have a be nice policy.
Please be positive and constructive.