https://1000projects.org/pc-based-data-acquisition-system-using-spi-and-i2c-protocol-abstract.html