Modifications

Sauter à la navigation Sauter à la recherche
328 octets ajoutés ,  21 août 2017 à 19:41
aucun résumé de modification
Ligne 1 : Ligne 1 :  
{{RASP-PCF8523-NAV}}
 
{{RASP-PCF8523-NAV}}
   −
{{traduction}}
+
== Brancher la RTC ==
 +
Pour maintenir le coût du Raspberry-Pi au plus bas, ce dernier n'inclus pas d'horloge RTC. L'absence de RTC implique que le Pi doit rester connecté sur le réseau Ethernet pour pouvoir obtenir l'heure (en faisant une interrogation sur un serveur NTP).
   −
== Brancher la RTC ==
+
Il est cependant possible d'utiliser un module RTC que nous pouvons raccorder sur le Raspberry-Pi.
To keep costs low, the Raspberry Pi does not include a Real Time Clock module. Instead, users are expected to have it always connected to WiFi or Ethernet and keep time by checking the network. Since we want to include an external module, we'll have to wire one up.
     −
We have three different RTC we suggest, {{pl|1148|PCF8523 is inexpensive}}, {{pl|204|DS1307}} is most common, and DS3231 is most precise. Any of them will do!
+
Nous pouvons suggérer 3 modules RTC différentes:
 +
* Le {{pl|1148|PCF8523}}, très abordables
 +
* Le {{pl|204|DS1307}}, le plus répandu
 +
* Le DS3231, la plus précise.
   −
While the DS1307 is historically the most common, its not the best RTC chipset, we've found!
+
Même sur la DS1307 est l'horloge la plus répandue mais pas la meilleure horloge RTC!
    
== Placer la pile ==
 
== Placer la pile ==
Don't forget to also install a {{pl|870|CR1220 coin cell}}. In particular the DS1307 wont work at all without it and none of the RTCs will keep time when the Pi is off and no coin battery is in place.
+
Ne pas oublier d'installer une {{pl|870|pile bouton CR1220}} dans l'emplacement prévu à cet effet. En particulier sur l'horloge DS1307 qui ne fonctionnera pas du tout s'il n'y a pas de pile. Aucune horloge RTC ne pourra maintenir l'heure si la pile est manquante.
    
== Raccorder ==
 
== Raccorder ==
Wiring a DS1307 is simple:
+
=== Brancher l'horloge PCF8523 ===
 +
L'horloge PCF8523 pour Raspberry-Pi se branche directement sur les premières broches du GPIO.
   −
* Connect VCC on the breakout board to the 5.0V pin of the Pi (if using DS1307)
+
[[Fichier:RASP-PCF8523-Brancher.png|480px]]
* Connect VCC on the breakout board to the 3.3V pin of the Pi (if using PCF8523 or DS3231)
+
 
* Connect GND on the breakout board to the GND pin of the Pi
+
=== Raccorder un module RTC brute ===
* Connect SDA on the breakout board to the SDA pin of the Pi
+
Brancher un DS1307 se fait très facilement:
* Connect SCL on the breakout board to the SCL pin of the Pi
+
 
 +
* Connecter VCC sur:
 +
** Pour DS1307: la broche 5.0V du Raspberry-Pi
 +
** Pour PCF8523 ou DS3231: la broche 3.3V du Raspberry-Pi
 +
* Connecter GND du breakout sur la broche GND du Raspberry-Pi
 +
* Connecter SDA du breakout sur la broche SDA du Raspberry-Pi
 +
* Connecter SCL du breakout sur la broche SCL du Raspberry-Pi
    
{{ADFImage|RASP-DS1307-Brancher-00.gif}}
 
{{ADFImage|RASP-DS1307-Brancher-00.gif}}
      
{{RASP-PCF8523-TRAILER}}
 
{{RASP-PCF8523-TRAILER}}
29 918

modifications

Menu de navigation