Everything for Electronics

Working with I2C Sensor Devices

Here’s a quick beginner-friendly tutorial that shows you how to interface and read data with the popular serial protocol, I2C. In particular, we’ll be reading data from the NXP MPL3115A2 altimeter/barometer/temperature sensor. The principles found here can also be applied generically, even to your ambifacient lunar wane shaft positioning sensor of your turboencabulator.