giovedì 12 dicembre 2019

Review of the i2c Addresses with the new hardware


New i2c scan is as follow now, after changing the hardware.

AB Electronics ADC PI
Adafruit PWM Hat

pi@raspberrypi:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: 40 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 69 6a 6b 6c 6d -- --
70: 70 -- -- -- -- -- -- -- 

Where each address is taken as per the below table:

40: Adafruit 16 Channels PWM Hat

68: AB Electr ADC PI board 1 chip 1

69: AB Electr ADC PI board 1 chip 2

6a: AB Electr ADC PI board 2 chip 1

6b: AB Electr ADC PI board 2 chip 2

6c: AB Electr ADC PI board 3 chip 1

6d: AB Electr ADC PI board 3 chip 2

70: Adafruit 16 Channels PWM Hat.. this must be a second address used by Adafruit 16 Channels PWM Hat





1 commento:

  1. Address 0x70 for addressing all PCA9685 devices simultaneously. See section 7.1.2 of the datasheet: http://www.adafruit.com/datasheets/PCA9685.pdf

    RispondiElimina