3.2 Multi-Sensor Integration

In applications requiring one or more analog sensors to be added to the I3C bus, the 8-bit PIC microcontroller can be used to add I3C functionality to the analog sensors. The sensors can interface with the PIC microcontroller through the analog pins, as shown in Figure 3-2. The on-board Analog-to-Digital Converter (ADC) converts the sensor readings into digital values, which can be passed onto the I3C module directly or stored in the internal memory to be retrieved later. The user can write custom firmware for the I3C Target module to read the converted sensor data and send it to the controller, when needed. Since the I3C module operates on an independent MVIO domain in the PIC microcontrollers, the analog sensors can operate in the entire voltage range and are not limited by the I3C bus voltage.

Find the MCC Melody code configuration here:

Figure 3-2. Multi-sensor Integration Using the I3C Module on PIC18-Q20