<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://levelkro.xyz/wiki//index.php?action=history&amp;feed=atom&amp;title=RPi-RealTime_Clock</id>
	<title>RPi-RealTime Clock - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://levelkro.xyz/wiki//index.php?action=history&amp;feed=atom&amp;title=RPi-RealTime_Clock"/>
	<link rel="alternate" type="text/html" href="https://levelkro.xyz/wiki//index.php?title=RPi-RealTime_Clock&amp;action=history"/>
	<updated>2026-05-22T17:29:16Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://levelkro.xyz/wiki//index.php?title=RPi-RealTime_Clock&amp;diff=464&amp;oldid=prev</id>
		<title>LevelKro le 14 novembre 2021 à 23:27</title>
		<link rel="alternate" type="text/html" href="https://levelkro.xyz/wiki//index.php?title=RPi-RealTime_Clock&amp;diff=464&amp;oldid=prev"/>
		<updated>2021-11-14T23:27:15Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Version du 14 novembre 2021 à 23:27&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot; &gt;Ligne 24 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 24 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*# &amp;lt;pre&amp;gt;sudo apt-get -y remove fake-hwclock&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*# &amp;lt;pre&amp;gt;sudo apt-get -y remove fake-hwclock&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;pre&amp;gt;sudo nano /lib/udev/hwclock-set&amp;lt;/pre&amp;gt; et commenter les lignes suivantes;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;pre&amp;gt;sudo nano /lib/udev/hwclock-set&amp;lt;/pre&amp;gt; et commenter les lignes suivantes;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;*# &lt;/del&gt;&amp;lt;pre&amp;gt;#if [ -e /run/systemd/system ] ; then&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/pre&amp;gt;&amp;lt;!--&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#if [ -e /run/systemd/system ] ; then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;--&amp;gt;&amp;lt;pre&amp;gt;&lt;/del&gt;#exit 0&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/pre&amp;gt;&amp;lt;!--&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#exit 0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;--&amp;gt;&amp;lt;pre&amp;gt;&lt;/del&gt;#fi&amp;lt;/pre&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#fi&amp;lt;/pre&amp;gt;  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;*# &lt;/del&gt;&amp;lt;pre&amp;gt;#/sbin/hwclock --rtc=$dev --systz --badyear&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#/sbin/hwclock --rtc=$dev --systz --badyear&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;*# &lt;/del&gt;&amp;lt;pre&amp;gt;#/sbin/hwclock --rtc=$dev --systz&amp;lt;/pre&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;#/sbin/hwclock --rtc=$dev --systz&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Assurez-vous d'avoir la bonne heure sur le Raspbbery, sinon ajuster la maintenant.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Assurez-vous d'avoir la bonne heure sur le Raspbbery, sinon ajuster la maintenant.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Pour vérifier que l'heure actuel est la bonne, faites; &amp;lt;pre&amp;gt;sudo hwclock -r&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Pour vérifier que l'heure actuel est la bonne, faites; &amp;lt;pre&amp;gt;sudo hwclock -r&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki:diff::1.12:old-442:rev-464 --&gt;
&lt;/table&gt;</summary>
		<author><name>LevelKro</name></author>
		
	</entry>
	<entry>
		<id>https://levelkro.xyz/wiki//index.php?title=RPi-RealTime_Clock&amp;diff=442&amp;oldid=prev</id>
		<title>LevelKro le 31 juillet 2021 à 04:57</title>
		<link rel="alternate" type="text/html" href="https://levelkro.xyz/wiki//index.php?title=RPi-RealTime_Clock&amp;diff=442&amp;oldid=prev"/>
		<updated>2021-07-31T04:57:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Version du 31 juillet 2021 à 04:57&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot; &gt;Ligne 33 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 33 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Pour enregistrer la date actuel dans le module RTC, faites &amp;lt;pre&amp;gt;sudo hwclock -w&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Pour enregistrer la date actuel dans le module RTC, faites &amp;lt;pre&amp;gt;sudo hwclock -w&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Pour appliquer l'heure du module RTC au système, faites; &amp;lt;pre&amp;gt;sudo hwclock -s&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Pour appliquer l'heure du module RTC au système, faites; &amp;lt;pre&amp;gt;sudo hwclock -s&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Catégorie:Raspberry Pi]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki-wiki:diff::1.12:old-441:rev-442 --&gt;
&lt;/table&gt;</summary>
		<author><name>LevelKro</name></author>
		
	</entry>
	<entry>
		<id>https://levelkro.xyz/wiki//index.php?title=RPi-RealTime_Clock&amp;diff=441&amp;oldid=prev</id>
		<title>LevelKro : Page créée avec « Le Module RTC (Real Time Clock) permet de garder l'heure du système en mémoire lorsque ce dernier est éteint, évite de devoir synchroniser via le réseau/internet.  ==... »</title>
		<link rel="alternate" type="text/html" href="https://levelkro.xyz/wiki//index.php?title=RPi-RealTime_Clock&amp;diff=441&amp;oldid=prev"/>
		<updated>2021-07-31T04:57:07Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « Le Module RTC (Real Time Clock) permet de garder l&amp;#039;heure du système en mémoire lorsque ce dernier est éteint, évite de devoir synchroniser via le réseau/internet.  ==... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Le Module RTC (Real Time Clock) permet de garder l'heure du système en mémoire lorsque ce dernier est éteint, évite de devoir synchroniser via le réseau/internet.&lt;br /&gt;
&lt;br /&gt;
== Matériel ==&lt;br /&gt;
Ce guide s'applique aux modules basé sur les modèles de DS 1307, PCF 8523 et DS 3231 qui communique via i2c.&lt;br /&gt;
&lt;br /&gt;
=== Pré-requis ===&lt;br /&gt;
* Système à jour avec &amp;lt;pre&amp;gt;sudo apt update&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Activer le i2c via le &amp;lt;pre&amp;gt;sudo raspi-config&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Installer les outils i2c avec &amp;lt;pre&amp;gt;sudo apt install -y i2c-tools&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;pre&amp;gt;sudo nano /boot/config.txt&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Ajouter le &amp;quot;overlay&amp;quot; requis, selon votre module;&lt;br /&gt;
** DS 1307 : &amp;lt;pre&amp;gt;dtoverlay=i2c-rtc,ds1307&amp;lt;/pre&amp;gt;&lt;br /&gt;
** PCF 8523 : &amp;lt;pre&amp;gt;dtoverlay=i2c-rtc,pcf8523&amp;lt;/pre&amp;gt;&lt;br /&gt;
** DS 3231 : &amp;lt;pre&amp;gt;dtoverlay=i2c-rtc,ds3231&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Sauvegarder le fichier modifié.&lt;br /&gt;
* Redémarrer le Raspberry&lt;br /&gt;
* Vérifier que vous avez le module de charger avec &amp;lt;pre&amp;gt;i2cdetect -y 1&amp;lt;/pre&amp;gt;, le module seras avec &amp;quot;UU&amp;quot; si il est correctement chargé, sinon seulement son numéro sera visible, dans ce cas, consulter un guide associer au module pour correctement l'installer.&lt;br /&gt;
* Désactiver la fausse horloge;&lt;br /&gt;
*# &amp;lt;pre&amp;gt;sudo systemctl disable fake-hwclock&amp;lt;/pre&amp;gt;&lt;br /&gt;
*# &amp;lt;pre&amp;gt;sudo update-rc.d -f fake-hwclock remove&amp;lt;/pre&amp;gt;&lt;br /&gt;
*# &amp;lt;pre&amp;gt;sudo apt-get -y remove fake-hwclock&amp;lt;/pre&amp;gt;&lt;br /&gt;
* &amp;lt;pre&amp;gt;sudo nano /lib/udev/hwclock-set&amp;lt;/pre&amp;gt; et commenter les lignes suivantes;&lt;br /&gt;
*# &amp;lt;pre&amp;gt;#if [ -e /run/systemd/system ] ; then&amp;lt;/pre&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;pre&amp;gt;#exit 0&amp;lt;/pre&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;&amp;lt;pre&amp;gt;#fi&amp;lt;/pre&amp;gt; &lt;br /&gt;
*# &amp;lt;pre&amp;gt;#/sbin/hwclock --rtc=$dev --systz --badyear&amp;lt;/pre&amp;gt;&lt;br /&gt;
*# &amp;lt;pre&amp;gt;#/sbin/hwclock --rtc=$dev --systz&amp;lt;/pre&amp;gt;.&lt;br /&gt;
* Assurez-vous d'avoir la bonne heure sur le Raspbbery, sinon ajuster la maintenant.&lt;br /&gt;
* Pour vérifier que l'heure actuel est la bonne, faites; &amp;lt;pre&amp;gt;sudo hwclock -r&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Pour enregistrer la date actuel dans le module RTC, faites &amp;lt;pre&amp;gt;sudo hwclock -w&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Pour appliquer l'heure du module RTC au système, faites; &amp;lt;pre&amp;gt;sudo hwclock -s&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>LevelKro</name></author>
		
	</entry>
</feed>