03-03-2023, 06:10 AM
I've updated the firmware but still no progress.
I used the settings above:
The logs report:
Any ideas?
I used the settings above:
Code:
i2c:
- id: bus_a
sda: 15
scl: 13
scan: true
- id: bus_b
sda: 4
scl: 5
scan: true
pcf8574:
- id: 'pcf8574_hub_out_1' # for output channel 1-8
i2c_id: bus_a
address: 0x24
- id: 'pcf8574_hub_out_2' # for output channel 9-16
i2c_id: bus_a
address: 0x25
- id: 'pcf8574_hub_out_3' # for output channel 17-24
i2c_id: bus_a
address: 0x21
- id: 'pcf8574_hub_out_4' # for output channel 25-32
i2c_id: bus_a
address: 0x22
- id: 'pcf8574_hub_in_1' # for input channel 1-8
i2c_id: bus_b
address: 0x24
- id: 'pcf8574_hub_in_2' # for input channel 9-16
i2c_id: bus_b
address: 0x25
- id: 'pcf8574_hub_in_3' # for input channel 17-24
i2c_id: bus_b
address: 0x21
- id: 'pcf8574_hub_in_4' # for input channel 25-32
i2c_id: bus_b
address: 0x22
The logs report:
Code:
[19:09:08][C][i2c.arduino:052]: I2C Bus:
[19:09:08][C][i2c.arduino:053]: SDA Pin: GPIO15
[19:09:08][C][i2c.arduino:054]: SCL Pin: GPIO13
[19:09:08][C][i2c.arduino:055]: Frequency: 50000 Hz
[19:09:08][C][i2c.arduino:058]: Recovery: bus successfully recovered
[19:09:08][I][i2c.arduino:068]: Results from i2c bus scan:
[19:09:08][I][i2c.arduino:074]: Found i2c device at address 0x21
[19:09:08][I][i2c.arduino:074]: Found i2c device at address 0x22
[19:09:08][I][i2c.arduino:074]: Found i2c device at address 0x24
[19:09:08][I][i2c.arduino:074]: Found i2c device at address 0x25
[19:09:08][C][i2c.arduino:052]: I2C Bus:
[19:09:08][C][i2c.arduino:053]: SDA Pin: GPIO4
[19:09:08][C][i2c.arduino:054]: SCL Pin: GPIO5
[19:09:08][C][i2c.arduino:055]: Frequency: 50000 Hz
[19:09:08][C][i2c.arduino:058]: Recovery: bus successfully recovered
[19:09:08][I][i2c.arduino:068]: Results from i2c bus scan:
[19:09:08][I][i2c.arduino:074]: Found i2c device at address 0x21
[19:09:08][I][i2c.arduino:074]: Found i2c device at address 0x22
[19:09:08][I][i2c.arduino:074]: Found i2c device at address 0x24
[19:09:08][I][i2c.arduino:074]: Found i2c device at address 0x25
[19:09:08][C][pcf8574:021]: PCF8574:
[19:09:08][C][pcf8574:022]: Address: 0x24
[19:09:08][C][pcf8574:023]: Is PCF8575: NO
[19:09:08][C][pcf8574:021]: PCF8574:
[19:09:08][C][pcf8574:022]: Address: 0x25
[19:09:08][C][pcf8574:023]: Is PCF8575: NO
[19:09:08][C][pcf8574:021]: PCF8574:
[19:09:08][C][pcf8574:022]: Address: 0x21
[19:09:08][C][pcf8574:023]: Is PCF8575: NO
[19:09:08][C][pcf8574:021]: PCF8574:
[19:09:08][C][pcf8574:022]: Address: 0x22
[19:09:08][C][pcf8574:023]: Is PCF8575: NO
[19:09:08][C][pcf8574:021]: PCF8574:
[19:09:08][C][pcf8574:022]: Address: 0x24
[19:09:08][C][pcf8574:023]: Is PCF8575: NO
[19:09:08][C][pcf8574:021]: PCF8574:
[19:09:08][C][pcf8574:022]: Address: 0x25
[19:09:08][C][pcf8574:023]: Is PCF8575: NO
[19:09:09][C][pcf8574:021]: PCF8574:
[19:09:09][C][pcf8574:022]: Address: 0x21
[19:09:09][C][pcf8574:023]: Is PCF8575: NO
[19:09:09][C][pcf8574:021]: PCF8574:
[19:09:09][C][pcf8574:022]: Address: 0x22
[19:09:09][C][pcf8574:023]: Is PCF8575: NO
Any ideas?