Awesome Open Source
Awesome Open Source

Python Serial RS232 Datalogger for debugging embedded systems Like ESP WIFI modules, microcontrollers, Linux serial console etc.

With this program it is possible to save logs from different serial ports just by configuring the JSON file (config.json), the number of ports and unlimited and each process for processing and saving the logs is with you on separate instances and threads. I use this program a few months to save the logs of systems with Linux, microcontrolados saving in database. After that I use some Querys to extract the faults. For the development i am using Pycharm of jetbrains is a great tool for Python!

Using file JSON for configuration for multiple serial ports:

Exemple a serial porta:

{ "devices": [ { "serialport": "/dev/ttyUSB0", "baudrate": 115200, "timeout": 5, "description":"TEST MODULE WIFI" } ] }

Example two serial ports:

{ "devices": [ { "serialport": "/dev/ttyUSB0", "baudrate": 115200, "timeout": 5, "description":"TEST MODULE WIFI" },{ "serialport": "/dev/ttyUSB1", "baudrate": 115200, "timeout": 5, "description":"TEST MAIN CPU" } ] }

Exemple three serial ports:

{ "devices": [ { "serialport": "/dev/ttyUSB0", "baudrate": 115200, "timeout": 5, "description":"TEST MODULE WIFI" },{ "serialport": "/dev/ttyUSB1", "baudrate": 115200, "timeout": 5, "description":"TEST MAIN CPU" },{ "serialport": "/dev/ttyUSB2", "baudrate": 115200, "timeout": 5, "description":"TEST LOGS uC AUXILIAR" } ] }

Note:

        The capacity of the data logger depends only on the CPU and disk IO speeds!                

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (1,147,256
Data Science (9,253
Data Analysis (3,798
Microcontroller (960
Debugging (929
Debugger (766
Datalogger (67
Sniffing (61
Related Projects