= step by step installation == intro == prereqs ssh root@10.1.25.182 yum -y install i2c-tools echo "dtparam=i2c_arm=on" >> /boot/config.txt echo "i2c-dev" > /etc/modules-load.d/i2c.conf reboot i2cdetect -y 1 ---- 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- 68 69 -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- ---- == the hard way i2cdump -y 1 0x68 i ---- 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 02 02 10 10 10 10 10 10 10 10 10 10 10 10 10 10 ???????????????? 10: 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 ???????????????? 20: 02 05 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ?? 30: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 40: 02 05 40 40 40 40 40 40 40 40 40 40 40 40 40 40 ??@@@@@@@@@@@@@@ 50: 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 @@@@@@@@@@@@@@@@ 60: 02 05 60 60 60 60 60 60 60 60 60 60 60 60 60 60 ??`````````````` 70: 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 ```````````````` 80: 02 05 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ???????????????? 90: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ?............... a0: 02 06 a0 a0 a0 a0 a0 a0 a0 a0 a0 a0 a0 a0 a0 a0 ???????????????? <<< input 1 b0: a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ? c0: 00 00 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 ..?????????????? <<< input 2 d0: c0 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 ?@@@@@@@@@@@@@@@ e0: 00 00 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 e0 ..?????????????? <<< input 3 f0: e0 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 ?``````````````` ---- == the soft way === python2 yum -y install gcc python3 python3-devel python3-pip pip3 install smbus === python3 yum -y install gcc git python3 python3-devel python3-pip pip3 install smbus git clone https://github.com/abelectronicsuk/ABElectronics_Python3_Libraries.git cd ABElectronics_Python3_Libraries/ python3 setup.py install == references https://github.com/abelectronicsuk/