Close

Plotting with Python

A project log for Network Usage Meter

A real time display of current network usage. Data displayed on LED matrix and sent over serial UART to host for plotting.

bonafidegeekbonafidegeek 08/13/2014 at 01:190 Comments

With v1.1 populated, I was able to interface with the MAC+PHY chip via the parallel interface and begin sending download rate data over the serial port. I wrote a Python program to plot the data, and compared it with the bandwidth graphs provided by DD-WRT on the router. To my delight, the plots track pretty closely.

Python plot of live data from in-line bandwidth meter vs DD-WRT plotPython + in-line bandwidth meter vs. DD-WRT

Discussions