PCA9675 GPIO (I2C)
Summary
I2C-controlled GPIO expander with 16 channels, configurable as inputs or outputs.
Description
The **PCA9675** component allows 16 GPIO channels to be controlled via I2C. Each channel can be individually configured as an input or output with a default digital value. This component is useful for expanding the number of digital I/O pins on a microcontroller and controlling LEDs, buttons, or other digital devices.
Diagram:
Categories
- File:TArduinoI2CCategory.png Category I2C – Components controlled via I2C bus.
- File:TArduinoDigitalCategory.png Category Digital – Components handling digital logic signals.
Properties
Channel Properties
Each channel (Channel[0] to Channel[15]) has the following properties:
- Auto Config – Automatically configure channel at startup.
- Initial Value – Default digital value (boolean).
- Is Output – Configure the channel as digital output (otherwise input).
Pins
Channel | Digital Input | Digital Output |
---|---|---|
Channel[0] | In (Digital) | Out |
Channel[1] | In (Digital) | Out |
Channel[2] | In (Digital) | Out |
Channel[3] | In (Digital) | Out |
Channel[4] | In (Digital) | Out |
Channel[5] | In (Digital) | Out |
Channel[6] | In (Digital) | Out |
Channel[7] | In (Digital) | Out |
Channel[8] | In (Digital) | Out |
Channel[9] | In (Digital) | Out |
Channel[10] | In (Digital) | Out |
Channel[11] | In (Digital) | Out |
Channel[12] | In (Digital) | Out |
Channel[13] | In (Digital) | Out |
Channel[14] | In (Digital) | Out |
Channel[15] | In (Digital) | Out |
I2C Pins
- I2C – I2C communication pins for controlling the PCA9675.