Open main menu

Changes

X708-Software

651 bytes added, 14:39, 27 April 2022
no edit summary
sudo apt-get install python3-smbus
sudo apt-get install i2c-tools
 
Check if the i2c of the X708 is connected correctly
<pre>
pi@raspberrypi:~/x708v2 $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- 36 -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
</pre>
#36 - the address of the battery fuel gauging chip, and 36 is a hexadecimal number
3. Download x708 setup scripts: