PCF8575 I2C IO Expansion Module - 3.3V/5V
Have you run out of I/O pins? This great IC allows the user to expand up to 16 I/O using only two I/O for control! The PCF8575C is controlled through an I2C interface and features 16-bits of quasi-bidirectional input/output pins.
The device features a 16-bit quasi-bidirectional input/output (I/O) port (P07–P00, P17–P10), including latched outputs with high-current drive capability for directly driving LEDs. Each quasi-bidirectional I/O can be used as an input or output without the use of a data-direction control signal. At power on, the I/Os are high. In this mode, only a current source to VCC is active.
Quick Spec
- Operating Voltage: 2.5-5.5V DC
- Operating Current: 100mA (max)
- Low Standby-Current Consumption of 10 µA Max
- I2C Address: 0x20 (default), can be modified by soldering A1 and selection pads A2
- 16 individually addressable pins
- Each pin configurable for input or output
- Open drain interrupt output pin for input change interruption
- Ideal for UNO R3 and other MCUs to control simple relay, buzzer, button, led
- Dimensions: 32.4 x 21.6mm
- Net Weight: 5g
Wiring Diagram
Sample Code
#include <Wire.h>
// Set I2C address
int address = 0x20;
void setup()
{
Wire.begin();
// Set all ports as output
pf575_write(word(B11111111,B11111111));
}
void loop()
{
// Set port P0 on
pf575_write(word(B00000000,B00000001));
delay(1000);
// Set port P0 off
pf575_write(word(B00000000,B00000000));
delay(1000);
}
// Function for writing two Bytes to the I2C expander device
void pf575_write(uint16_t data)
{
Wire.beginTransmission(address);
Wire.write(lowByte(data));
Wire.write(highByte(data));
Wire.endTransmission();
}
Resources
Shipping List
- 1 x PCF8575 I2C IO Expansion Module - 3.3V/5V
- 1 x Header Set
PCF8575 I2C IO Expansion Module - 3.3V/5V
- Brand: Generic
- Product Code: PCF8575-MOD
- Weight: 0.005kg
- Product Status : Active
Stock
Warehouse | Stock Status | Location |
---|---|---|
Centurion | In Stock | BX1-02 |
Stellenbosch | In Stock | L101 |
We ship free of charge between branches to complete your order.
-
R46.00 (Inc Tax: R52.90)
Related Products
Tags: pcf8575, i2c, io, expansion, expand, 3.3v, 5v, i2c, 16bit