Vérifier le câblage en exécutant la commande suivante pour installer les logiciels I2C.
sudo apt-get install python-smbus i2c-tools
sudo apt-get install python-smbus i2c-tools
−
to install the helper software and then {{fname|sudo i2cdetect -y 1}} at the command line, you should see ID #68 show up - that's the address of the DS1307, PCF8523 or DS3231!
+
Exécutez ensuite la commande {{fname|sudo i2cdetect -y 1}} pour détecter les périphériques I2C présents sur le bus.
−
If you have a much older Pi 1, you will have to run {{fname|sudo i2cdetect -y 0}} as the I2C bus address changed from 0 to 1
+
Vous devriez vois l'identifiant #68 apparaître dans la liste - c'est l'adresse du module DS1307, PCF8523 ou DS3231!
{{ADFImage|RASP-PCF8523-I2C-Test.gif}}
{{ADFImage|RASP-PCF8523-I2C-Test.gif}}
−
{{ambox|text= Once you have the Kernel driver running, i2cdetect will skip over 0x68 and display UU instead, this means its working!}}
+
{{ambox|text=Une fois le pilote chargé par le noyau, i2cdetect n'affichera plus la valeur 0x68 mais un UU, cela signifie que cela fonctionne!}}