You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <allpages gapcontinue="Regensensor" />
  </query-continue>
  <query>
    <pages>
      <page pageid="103" ns="0" title="Realtime clock">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">
== '''Realtime clock (RTC)''' ==


The robot requires a clock, so that it can start mowing automatically at certain time intervals (timer).

A realtime clock (RTC) returns current time (minute, hour) and date (day of week, day, month, year) - by the help of a battery (Lithium Ion LIR2032, 3.6v, 48 mAh) the time continues to run even if the robot mower is switched off.

Additionally, the RTC module contains an EEPROM memory (non volatile memory) that can hold 4K of permanent user data.

DS1307 module

&lt;gallery&gt;
File: ds1307.jpg | ds1307 

File: ds1307_schematics.jpg | ds1307_schematics
&lt;/gallery&gt;

== Troubleshooting &quot;Tiny RTC I2C module&quot; ==
If your module is losing time/date, fix the circuit like this:

* Remove D1, R6 and R4
* Solder jumper wire in place of R6
* Inspect crystal soldering - fix if necessary
* Replace battery

== '''Wiring''' ==

The RTC module is connected on the I2C bus of the Arduino Mega (in parallel with any other I2C modules).

&lt;blockquote style=&quot;background-color: lightgrey; border: solid thin grey;&quot;&gt;
&lt;pre&gt;
 DS1307 Module SDA       — Arduino SDA Pin
 DS1307 Module SCL       — Arduino SCL Pin
 DS1307 Module VCC (+5V) — Arduino VCC (+5V)
 DS1307 Module GND       — Arduino GND
&lt;/pre&gt;
&lt;/blockquote&gt;

== '''Note''' ==

If you experience communication problems when using multiple I2C modules on one I2C bus, 
it is recommended to reduce the length of the cables.


== '''Timer''' ==

On the robot, several timers can be programmed (via Android pfodApp). 
For each timer, you can define a time interval ('time windows') for the desired days. As long as the actual time is within any time window, the robot can freely mow, charge, mow, charge etc.

== '''Example:''' ==


Timer 1: 08:00 - 13:00  Monday, Thuesday, Wednesday

Timer 2: 14:00 - 16:00  every day

Timer 3: off

Timer 4: off</rev>
        </revisions>
      </page>
      <page pageid="414" ns="0" title="Realtime clock ru">
        <revisions>
          <rev contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">
== '''Часы реального времени (RTC)''' ==

Робот использует часы, так что он может начать скашивание автоматически через определенные промежутки времени (таймер).
Часы реального времени (RTC) возвращают текущее время (минуты, часы) и даты (день недели, день, месяц, год). Работают от батареи (ионно-литиевые LIR2032, 3.6 В, 48 мАч). Время отсчитывается даже если робот-косилка отключается. Модуль знает про високосные годы и самостоятельно их считает.

Кроме того, модуль RTC содержит микросхему EEPROM (энергонезависимой памяти), которая может хранить 4 Кбайт постоянных пользовательских данных.
Пример: DS1307

&lt;gallery&gt;
File: ds1307.jpg | ds1307 

File: ds1307_schematics.jpg | ds1307_schematics
&lt;/gallery&gt;

== '''Поиск и устранение неисправностей &quot;Tiny RTC I2C module&quot;''' ==
Если ваш модуль теряет время/дату, время убегает/задерживается, или работает только при включенной косилке, то проблема в схеме зарядки, которую братья-китайцы придумали чтобы разряжать батарейку быстрее. Данный модуль с хорошей батарейкой может работать лет 10 без подзарядки, но с данной схемой - около года. Модуль полностью перестаёт работать при напряжении батарейки 2,95 вольт. Проделайте с модулем следующую операцию:

* Удалите D1, R6 и R4 (R5 тоже больше не нужен)
* Припаяйте перемычку вместо R6
* Проверьте место пайки кристалла - при необходимости исправить
* Попробуйте заменить батарейку

Для проверки можно просто замкнуть выводы R6, но лучше произвести операцию полностью.

== '''Подключение''' ==

The RTC module is connected on the I2C bus of the Arduino Mega (in parallel with any other I2C modules).
Модуль RTC подключен к шине I2C Arduino Mega (параллельно с любыми другими модулями I2C).

&lt;blockquote style=&quot;background-color: lightgrey; border: solid thin grey;&quot;&gt;
&lt;pre&gt;
 DS1307 SDA       — Arduino SDA Pin
 DS1307 SCL       — Arduino SCL Pin
 DS1307 VCC (+5V) — Arduino VCC (+5V)
 DS1307 GND       — Arduino GND
&lt;/pre&gt;
&lt;/blockquote&gt;

== '''Заметки''' ==

Если возникают проблемы с при нескольких модулях I2C на одной шине, то
рекомендуется уменьшить длину кабелей.

== '''Таймер''' ==

Можно запрограммировать несколько таймеров (через Android pfodApp).
Для каждого таймера можно определить временной интервал (окно) для требуемых дней. Пока фактическое время находится в любом окне времени, робот может свободно косить, заряжаться и т.д.

== '''Пример''' ==


Timer 1: 08:00 - 13:00  Понедельник, Среда, Пятница

Timer 2: 14:00 - 16:00  каждый день

Timer 3: Выключен

Timer 4: Выключен</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>