Question about ATSAMD21G18 (Chip used on Zero boards)

A query to see if anyone has tried to use the onboard RTC on these chips, I’ve checked the specs here:

and it has an onboard RTC so I am wondering if an RTC wing is necessary as I am trying to keep my package volume as small as possible.

EDIT: To add to this, Arduino site has an example that states the Arduino Zero or MKRZero or MKR1000 boards have built in RTC.

Is the Adalogger M0 a clone of the MKRZero? Do you know if this code would work?


Hi Christian,
If it states an onboard RTC then you should be able to use that, bear in mind you’ll need a small battery to power the RTC when power is removed.

Here is a link to the Arduino website detailing how you can do it: