Home  Product Technical Articles   PCF8574T I/O Expander: Arduino, datasheet, PDF and Pinout [Video&FAQ]

PCF8574T I/O Expander: Arduino, datasheet, PDF and Pinout [Video&FAQ]

Author: Irene
Date: 12 Apr 2022
 11765
pcf8574t i2c lcd

The PCF8574T IO Expansion Board is used as remote 8-bit I/O expander for I2C-bus.

 

Catalog

Product Overview

CAD Model

Product Pinout

PCF8574T Attributes

Family Overview

Applications

PCF8574T-Datasheet

PCF8574T Circuit

PCF8574T Raspberry Pi

Reference

PCF8574T FAQ

Product Overview

The PCF8574T IO Expansion Board is used as remote 8-bit I/O expander for I2C-bus.Up to 8 PCF8574T IO Expansion Board can be connected to the I2C-bus, providing up to 64 I/O ports.

 

The PCF8574T IO Expansion Board features allowing the use of multi module connected to the I2C bus at the same time by connecting the pinheader and connector.

There is a small potentiometer onboard, which can adjust the backlight of LCD1602 or LCD2004, and a jumper cap to control the switch of the LED light.

 

CAD Model

PCF8574T-Part-Symbol

 

PCF8574T-Part Symbol

 

PCF8574T-Footprint

 

PCF8574T-Footprint

 

PCF8574T-3D-Model

 

PCF8574T-3D-Model

 

Product Pinout

PCF8574T-Pinout

 

PCF8574T-Pinout

 

PCF8574T Attributes

Source Content uid: PCF8574T
Manufacturer Part Number: PCF8574T
Part Life Cycle Code: Active
Ihs Manufacturer: NXP SEMICONDUCTORS
Part Package Code: SOIC
Package Description: SOP, SOP16,.4
Pin Count: 16
Reach Compliance Code: compliant
ECCN Code: EAR99
HTS Code: 8542.39.00.01
Manufacturer: NXP Semiconductors
Risk Rank: 1.53
Samacsys Description: NXP - PCF8574T. - IC, SM I/O EXPANDER 8-BIT
Samacsys Manufacturer: NXP
Clock Frequency-Max: 0.1 MHz
External Data Bus Width: 1
JESD-30 Code: R-PDSO-G16
Length: 10.3 mm
Moisture Sensitivity Level: 2
Number of Bits: 8
Number of I/O Lines: 8
Number of Ports: 1
Number of Terminals: 16
Operating Temperature-Max: 85 °C
Operating Temperature-Min: -40 °C
Package Body Material: PLASTIC/EPOXY
Package Code: SOP
Package Equivalence Code: SOP16,.4
Package Shape: RECTANGULAR
Package Style: SMALL OUTLINE
Peak Reflow Temperature (Cel): 260
Power Supplies: 3/5 V

 

Family Overview

Family overview The Philips family of I2C/SMBus General Purpose parallel Input/Output (GPIO) devices provides a simple solution for application requiring more I/Os. About 20 different devices can be chosen from two sub-families, commonly called ‘quasi bi-directional General Purpose I/Os’ and ‘totem-pole General Purpose I/Os’. Devices can be chosen with 4-bit, 8-bit or 16-bit width. Additional features (not available on all the devices) are active-LOW Interrupt output, active-LOW Reset input, programmable I2C address pins and low power consumption.

 

Finally, some devices come with additional functions (EEPROM, DIP switch) providing integrated and price attractive combination solutions. Quasi bi-directional GPIOs use a push-pull I/O port with an internal weak current-source pull-up to keep the port HIGH since the upper transistor is on for only 1⁄ 2 clock cycle. Totem-pole GPIOs use a configuration register that programs an I/O port as either an input or output.

 

Devices with a Reset input pin (RESET) can be set to a known default state by a master device when, for instance, an ‘I2C-bus hung’ situation occurs, thus allowing the master to take control of the bus without having to cycle power to the device. Devices with an Interrupt output pin (INT) are able to provide an ‘input change’ status to a master device anytime an I/O used as an input changes its logic state. Programmable I2C address pins allow more than one device in the same I2C-bus without any address conflicts.

 

Low power consumption GPIOs are attractive for portable applications or in general any application where current consumption is a key parameter. The following is a selection guide that provides the designers and engineers with an overview of the similarities and important differences, allowing them to select the best port expander for the job. Even though important technical details are explained in this application note, the reader is encouraged to thoroughly review the data sheets for specific information on the device.

 

Applications

  • Keypad and switch control
  • ACPI power switch, relays, timer
  • LED control
  • Signal monitoring
  • Sensors, fan control

 

PCF8574T-Datasheet

You can download the datasheet from the link given below:

PCF8574T-Datasheet

 

PCF8574T Circuit

Interfacing Arduino with I2C LCD circuit:

Example circuit diagram is shown in the image below.

  • The main component of the I2C LCD display is the PCF8574 I/O expander, with only two pins SDA and SCL we get a maximum of 8 pins from P0 to P7. PCF8574A also can be used but it has a different address.
  • All LCD data pins are connected to the PCF8574 where: RS, RW, E, D4, D5, D6 and D7 are connected to P0, P1, P2, P4, P5, P6 and P7 respectively.
  • PCF8574 I/O expander SDA and SCL pins are connected to Arduino pin A4 and A5 respectively (Arduino SDA and SCL pins).
  • PCF8574 I/O expander A0, A1 and A2 pins are the address pins which decide the I2C address of the chip. In this example each pin is connected to +5V through a 10k ohm resistor (the 10k resistor is optional, each pin can be connected directly to +5V).
  • The I2C address of the PCF8574 is: 0x20 | A2 A1 A0 ( | means OR)
    In our circuit A2, A1 and A0 are connected to +5V (through 10k resistors) which means the I2C address is equal to 0x20 | 7 = 0x27
  • If the PCF8574A is used instead of the PCF8574 the I2C address is: 0x38 | 7 = 0x3F.

 

PCF8574T Raspberry Pi

Comimark 3Pcs PCF8574 PCF8574T I2C 8 Bit IO GPIO Expander Module for Arduino & Raspberry Pi

  • I2C interface, I / O expansion module, two I / O scalability 8 I / O (up to 8 simultaneous use the PCF8574 expanded to 64 I / O)
  • Typical application: I / O resource shortage MCU I / O expansion
  • Main resources: the PCF8574 I2C interface, 8-bit parallel
  • Package Included: 3 x PCF8574 IO Expansion Board I/O Expander I2C-Bus Evaluation Development Module

 

Reference

PCF8574T Chip Datasheet: File:PCF8574T Datasheet.pdf

WiringPi: [ http://wiringpi.com/extensions/i2c-pcf8574/ ]

telecnatron:[ https://telecnatron.com/articles/Utility-To-Control-1602-LCD-On-Raspberry-Pi-Via-A-PCF8574-I2C-Backpack-Module/index.html]

Circuitbasics:[ https://www.circuitbasics.com/raspberry-pi-i2c-lcd-set-up-and-programming/ ]

 

PCF8574T FAQ

What is pcf8574t?

The PCF8574/74A provides general-purpose remote I/O expansion via the two-wire bidirectional I2C-bus (serial clock (SCL), serial data (SDA)). The devices consist of eight quasi-bidirectional ports, 100 kHz I2C-bus interface, three hardware address inputs and interrupt output operating between 2.5 V and 6 V.

 

How connect PCF8574 to Arduino?

1.Use PCF8574(A) I2C GPIO to add more digital pins to Arduino.

2.Components.

3.Set the PCF8574/PCF8574A I2C Address.

4.Connect the PCF8574/PCF8574A GPIO Module to the Arduino.

5.Connect the Button and the LED Modules.

6.Connect the Power Wires together.

7.Step 6: Connect the Ground Wires together.

 

How do I program PCF8574?

After connecting the I2C Module to LCD, connect the GND and VCC pins of the PCF8574 Module to GND and 5V pins of Arduino. Finally, the SDA and SCL Pins. Connect them to pins A4 and A5 pins of Arduino UNO respectively.

 

What is I2C IO Expander?

The I2C-bus allows easy two-line communication between two devices using a serial data line (SDA) and a serial clock line (SCL) and, as a result, is a popular choice for computing, consumer electronics, communication, and industrial systems.

 

What is the function of an IO Expander?

NXP's general-purpose input/output (GPIO) expanders are a simple, cost-effective way to monitor and control several peripheral signals. They make it easy for designers to add extra I/O to their design and thereby free up the microprocessor's GPIO for other, more important functions.

 

Related Articles

2N2907 Transistor: Datasheet, Equivalent, Circuit [Video]

Iggy 20 Jan 2022 10648

2N2907 is basically a PNP bipolar junction transistor (BJT) which is mainly designed for switching and low power general purpose amplification applications. It has an ability to operate at high speed ...

Continue reading »

CR2450 3v Lithium Battery: Detailed Introduction [FAQ]

Mia 25 Jan 2022 14922

CR2450 Lithium 3.0V battery is a non-rechargeable button/coin cell battery.   In today's vlog, we'll have a detailed introduction to CR2450 lithium battery, after reading this blog, you will le...

Continue reading »

LM311N Voltage comparator with strobe Datasheet PDF Download

Irene 6 Apr 2022 1081

Catalog FeaturesDescriptionPin ConnectionsOrder CodesAbsolute Maximum RatingsOperating ConditionsElectrical characteristicsTypical Application SchematicsAuxiliary Circuits Package Mechanical Da...

Continue reading »

A Detailed Introduction to CR2025 Lithium Cell [FAQ]

Mia 26 Jan 2022 17594

A CR2025 battery is a lithium coin or “button” cell that is 20mm diameter x 2.5mm thickness. The CR2032 battery has a high voltage of 3V, a capacity of upto 170mAh, and is also disposable/...

Continue reading »

TDA7498E Amplifier: Pinout, Circuit, Pinlist, TDA7498E vs TDA7498ETR

Irene 21 Feb 2022 2069

TDA7498E is a 160-watt + 160-watt dual BTL class-D audio amplifier Catalog Product OverviewTDA7498E PinoutTDA7498E CAD ModelTest CircuitProduct AttributesTDA7498E FeaturesTDA7498E ApplicationsManufa...

Continue reading »

0 comment

Leave a Reply

Your email address will not be published.

 
 
   
 
Rating:

# 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z