Tags: Expansion, Port, Interface, Support, Cascading, Extended, Module, PCF8574, PCF8574T, I/O, I2C,

Expansion Port Interface Support Cascading Extended Module PCF8574 PCF8574T I/O I2C

  • 9.00 AED
    • Ex Tax:9.00 AED
    • Product Code: IO Expansion
    • Availability: In Stock
    This is the I/O extended module, which use for I2C interface, you can use two of the module to extend 8 I/O.The PCF8574 is an 8 bits I/O port expander that uses the I2C protocol. Using this IC, you can use only the SDA and SCL pins of your Arduino board to control up to 8 digital I/O ports.This 8-bi..
    This is the I/O extended module, which use for I2C interface, you can use two of the module to extend 8 I/O.

    The PCF8574 is an 8 bits I/O port expander that uses the I2C protocol. Using this IC, you can use only the SDA and SCL pins of your Arduino board to control up to 8 digital I/O ports.

    This 8-bit input/output (I/O) expander for the two-line bidirectional bus (I2C) is designed for 2.5-V to 6-V VCC operation.

    The PCF8574 device provides general-purpose remote I/O expansion for most microcontroller families by way of the I2C interface [serial clock (SCL), serial data (SDA)].

    The device features an 8-bit quasi-bidirectional I/O port (P0–P7), 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.


    Support cascading, and you can use at most 8 modules to extend 64 I/O at the same time.
    It can be changed the address by set toggle switch
    PCB Size: 36 x 16mm/1.41*0.62"
    Every 2 seconds, make P0-P7 port output High level, Low level, and put 3 toggle switches to ON, the address of module is 0x27

    This example flashes the connected LEDs

    #include <Wire.h>
     
    // address of PCF8574 IC
    #define PCF8574_ADDR (0x20)
     
    void setup()
    {
      Wire.begin();
    }
     
    void loop()
    {
     
     
      //send the data
      Wire.beginTransmission(PCF8574_ADDR);
      Wire.write(0xAA);
      Wire.endTransmission();
      delay(1000);
      Wire.beginTransmission(PCF8574_ADDR);
      Wire.write(0x55);
      Wire.endTransmission();
      delay(1000);
    }

    Link

    Datasheet – http://www.ti.com/lit/gpn/pcf8574

     

    Write a review

    Please login or register to review