Skip to content

RaspberryPi Picoに内蔵のRTCを Arduino IDE で使用する(Using the built-in RTC of Raspberry Pi Pico with Arduino)

Raspberry Pi Pico, the MCU RP2040 has a built-in RTC,

WIZnet

Published April 03, 2023

Original author: totuto · JapanOriginal source (new tab)

RaspberryPi Picoに内蔵のRTCを Arduino IDE で使用する(Using the built-in RTC of Raspberry Pi Pico with Arduino)

Project description

Pico は RTC(リアルタイム・クロック)を内蔵している!! 私は Arduino Nano 等に RTC(リアルタイム・クロック)モジュールを接続してましたがRaspberryPi Pico では MCUのRP2040 が RTCを内蔵しているので RTCのハードウェア、つまりIC(DS1307が有名)やモジュール(シールド。基板)は不要です!!  システムがコンパクトになり、しかも経済的と、とても有難いことです。       RP2040のブロック図: Peripheralsの中にRTCの白いボックスがあります。 このRTCを動かすには下記の3つのライブラリが必要です。私の開発環境は Windows10、Arduino IDE 1.8.15で、RaspberryPi Pico は Arduino Mbed OS RP2040 版を使用してます。 このライブラリは earlephilhower版でも動作するとのことです。 (1) RP2040_RTC // https://www.arduino.cc/reference/en/libraries/rp2040_rtc/ (2) TimeLib // https://github.com/PaulStoffregen/Time (3) Timezone_Generic //…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.