Digital sensors have become a standard way of collecting data in the physical world. Join me as we delve into the realm of digital bus sensors by creating a driver for an I2C light-to-digital converter.
Digital buses are used today in most electronic devices to connect components to a microcontroller or PC. This talk will present a workflow for writing Python I2C bus drivers using classes and JSON. We'll tackle how to read a manufacturer's datasheet, read and write I2C registers and decode byte data. We'll also look at how to source other interesting sensors and interface with them.