The 8 LED’s are connected to the PCF8574 Group1 device IO pins through 330 ohm current limiting resistors.ĭIP switches are manual electrical switches arranged and packed in Dual Inline Package. The least significant bit of address is used for Write (0) or Read (1) operation selection.Įight PCF8574 can be connected to the I2C bus, with hardwire address selection on each device. The Address range of PCF8574 is 0x20 to 0x27 (7 bit address mode). 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.Įach quasi-bidirectional I/O can be used as an input or output without the use of a data-direction control signal. The PCF8574 device provides general-purpose remote I/O expansion. I2C data pin (SDA) is connected to ADC4 and clock pin (SCL) is connected to ADC5. PCF8574 is the Input / Output (I/O) expander, which will be connected to the Arduino I2C bus.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |