8 Kanal I2C Optokoppler Modul
8 Kanal Trigger Modul

EI-OT PCF8574 8 Kanal Input Trigger Modul Zusammenbau und Bestückung

EI-OT 8 Channel I2C PC817 Optocoupler Module assembling
Zusammenbau / Bestückung

Das EI-OT 8 Kanal PC817 Optokoppler Input Trigger PRO Modul ist bereits mit SMD Komponenten bestückt. Zur Inbetriebnahme müssen nachfolgende Komponenten wie in nebenstehender Grafik (zum Vergrößern auf das Bild klicken) bestückt / verlötet werden

Die Bestückung des EI-OT 8 Kanal PCF8574 Input Trigger Modul Schritt für Schritt:

  1. Verbinde 4 Stück der 2-poligen KF350 Schraubklemme miteinander. Stecke die nun 8-polige Schraubklemme auf IN5 bis IN8 und verlöte die Pins auf der Rückseite
  2. Verbinde nun die verbliebenen 4 Stück 2-poligen KF350 Schraubklemme miteinander. Stecke die nun 8-polige Schraubklemme auf IN1 bis IN4 und verlöte die Pins auf der Rückseite
  3. Stecke eine 3-polige Pinleiste auf J2, Reihe A2 und verlöte die 3 Pins auf der Rückseite. Wiederhole diesen Schritt zur Bestückung von Reihe A1 und A0, sodass die 9 Pins der I2C Adressierung bestückt sind
  4. Stecke die 5-polige Pinleiste von unten auf J1 und verlöte die 5 Pins auf der Oberseite.

Das EI-OT 8 Kanal I2C Input Trigger Modul ist fertig bestückt, sodass im nächsten Schritt die I2C Adressierung erfolgen kann.

Assembling

Besides the SMD components, the EI-OT 8 Channel PCF8574 Input Trigger Module requires additional components.

Assembling of the EI-OT 8 Channel PCF8574 Input Trigger Module Step by Step:

  1. Put together 4 pcs. KF350 2-pole Screw Connector. Put the 8-pole Screw Connector on top side of IN5 to IN8 and solder Pins on backside
  2. Put together 4 pcs. KF350 2-pole Screw Connector. Put the 8-pole Screw Connector on top side of IN1 to IN4 and solder Pins on backside
  3. Put a 3-pole Pinheader on J2, Row A2 and solder the Pins from backside. Repeat this step also for Row A1 and A0.
  4. Assemble the 5-pole Pin Header socket from bottom side of the PCB ond J1 and solder the 5 Pins on PCB top side

The basic assembling of the EI-OT 8 Channel I2C Input Module is finished, for next step I2C address configuration.

PCF8574A I2C Adresses
PCF8574 I2C Adresse

Der PCF8574 IC ist in 2 Varianten verfügbar

  • PCF8574, unterstützt 8 I2C Adressen von 0x20 bis 0x27
  • PCF8574A, unterstützt 8 I2C Adressen von 0x39 bis 0x3F

Dementsprechend können bis zu 8 Stück PC8574 und 8 Stück PCF8574A, also insgesamt bis zu 16 PCF8574 an nur einem I2C Bus betrieben werden.

Grundlage bildet dabei die I2C Adressierung, jeder PCF8574 benötigt eine eindeutige I2C Adresse innerhalb des I2C Bus, sodass die MCU (ESP8266) jeden einzelnen PCF8574 IC ansprechen kann.

Im Bezug der EI-OT Module verwenden wir den PCF8574A, also den Adressbereich von 0x38 bis 0x3F

Dementsprechend muss beim PCF8574 PC817 Optokoppler Modul in Kombination mit anderen Modulen wie dem

  • 8 Kanal Relais Modul PRO, nutzt die I2C Adresse 0x39
  • 16 Kanal Relais Modul PRO, nutzt die I2C Adresse 0x39 und 0X3A

darauf geachtet werden, dass kein Konflikt bei der Konfiguration der I2C auftritt.

An dieser Stelle sei erwähnt, im Vergleich zu ESP-OS unterstütz Tasmota weder die Adresse 0x27 des PCF8574 noch die 0x38 des PCF8574A.

PCF8574 I2C Address

The PCF8574 is available in 2 versions

  • PCF8574, supports 8 I2C Addresses from 0x20 to 0x27
  • PCF8574A, supports 8 I2C Addresses from 0x39 to 0x3F

Based on I2C Address range up to 8 pcs. of PCF8574 and also 8 pcs. PCF8574A, in total 16 pcs. could be operated on just 1 I2C Bus.

But every PCF8574 must have a unique I2C Address, so MCU (ESP8266) can establish a connection to each PCF8574 thru I2C Bus.

For our EI-OT Module we use PCF8574A Version, in Detail we use 0x38 to 0x3F I2C Address Range.

A specially in combination with the

  • 8 Channel Relays Module PRO, address 0x39 is used
  • 16 Channel Relays PRO, addresses 0x39 and 0x3A are used

those addresses could not be used.

Compared to ESP-OS, Tasmota supports not PCF8574 address 0x27 also PCF8574A address 0x38.

PCF8574 0x38 IC2 Address Jumper settings
I2C Adressierung mittels Jumper

Die I2C Addressierung des PCF8574A erfolgt mittels J2 und der 3 Jumper.

I2C Adresse 0x38

Jumper A0 geschlossen mit – / GND
Jumper A1 geschlossen mit – / GND
Jumper A2 geschlossen mit – / GND

Hinweis:
Die Tasmota Firmware unterstützt die PCF8574 0x38 Adresse nicht

I2C Addresses Jumper Settings

The I2C Addressing with 3 Jumpers on J2

I2C Address 0x38

Jumper A0 connected to – / GND
Jumper A1 connected to – / GND
Jumper A2 connected to – / GND

Note:
Tasmota Firmware does not support PCF8574 0x38 Address

PCF8574 0x39 IC2 Address Jumper settings I2C Adresse 0x39

Jumper A0 geschlossen mit + / VCC
Jumper A1 geschlossen mit – / GND
Jumper A2 geschlossen mit – / GND

Hinweis:
Nicht verwenden in Kombination mit dem EI-OT 8 Kanal PRO Relais Modul, sowie dem EI-OT 16 Kanal PRO Relais Modul

I2C Address 0x39

Jumper A0 connected to + / VCC
Jumper A1 connected to – / GND
Jumper A2 connected to – / GND

Note:
Dont use 0x39 in combination with EI-OT 8 Channel PRO Relays Module, also in combination with EI-OT 16 Channel Relays Module

PCF8574 0x3A IC2 Address Jumper settings I2C Adresse 0x3A

Jumper A0 geschlossen mit – / GND
Jumper A1 geschlossen mit + / VCC
Jumper A2 geschlossen mit – / GND

Hinweis:
Nicht verwenden in Kombination mit dem EI-OT 16 Kanal PRO Relais Modul

I2C Address 0x3A

Jumper A0 connected to – / GND
Jumper A1 connected to + / VCC
Jumper A2 connected to – / GND

Note:
Dont use 0x3A in combination with  EI-OT 16 Channel Relays Module

PCF8574 0x3B IC2 Address Jumper settings I2C Adresse 0x3B

Jumper A0 geschlossen mit + / VCC
Jumper A1 geschlossen mit + / VCC
Jumper A2 geschlossen mit – / GND

I2C Address 0x3B

Jumper A0 connected to + / VCC
Jumper A1 connected to + / VCC
Jumper A2 connected to – / GND

PCF8574 0x3C IC2 Address Jumper settings I2C Adresse 0x3C

Jumper A0 geschlossen mit – / GND
Jumper A1 geschlossen mit – / GND
Jumper A2 geschlossen mit + / VCC

I2C Address 0x3C

Jumper A0 connected to – / GND
Jumper A1 connected to – / GND
Jumper A2 connected to + / VCC

PCF8574 0x3D IC2 Address Jumper settings I2C Adresse 0x3D

Jumper A0 geschlossen mit + / VCC
Jumper A1 geschlossen mit – / GND
Jumper A2 geschlossen mit + / VCC

I2C Address 0x3D

Jumper A0 connected to + / VCC
Jumper A1 connected to – / GND
Jumper A2 connected to + / VCC

PCF8574 0x3E IC2 Address Jumper settings I2C Adresse 0x3E

Jumper A0 geschlossen mit – / GND
Jumper A1 geschlossen mit + / VCC
Jumper A2 geschlossen mit + / VCC

I2C Address 0x3E

Jumper A0 connected to – / GND
Jumper A1 connected to + / VCC
Jumper A2 connected to + / VCC

PCF8574 0x3F IC2 Address Jumper settings I2C Adresse 0x3F

Jumper A0 geschlossen mit + / VCC
Jumper A1 geschlossen mit + / VCC
Jumper A2 geschlossen mit + / VCC

I2C Address 0x3F

Jumper A0 connected to + / VCC
Jumper A1 connected to + / VCC
Jumper A2 connected to + / VCC

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert