This small article describes how to build your own I2C slave device using a PIC microcontroller, and how to control it with the Raspberry Pi. This approach combines the power of the microcontroller with the flexibility of the Raspberry Pi. There are many things that you can implement with an I2C device, such as a light meter, remote sensor, relay control or motor controller.
Discussion (0 comments)