{'fraction_non_alphanumeric': 0.0178359096313912, 'fraction_numerical': 0.023781212841854936, 'mean_word_length': 5.237037037037037, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A study of power consumption on MSP432 family of microcontrollers for lossless data compression

We empirically study power consumptions of two linear transformations and lossless data compression algorithms on a TI MSP432 microcontroller. We developed a custom circuit using a TI INA219 breakout board and an Arduino Uno R3 board and programmed it to record power usage automatically. We validated the accuracy of our measurements with that obtained from TI EnergyTrace software. Our experimental results show that arithmetic coder consumed the least power and required the lowest time for a compression gain of 21.89%. However, when data was preprocessed with the move-to-front transformation and compressed with an arithmetic coder, computation time and energy usage increased only by 21%, while compression gain nearly doubled to 38.39%.