Micro:bit x1
Crowtail-Base shield for Micro:bit x1
Crowtail-RTC x1
Crowtail-Buzzer x1
Crowtail-Cable x2
USB cable x1
Required Parts
This tiny RTC module is based on the clock chip DS1307 which communi-
cates with microcontrollers with I2C protocol. The clock/calendar
provides seconds, minutes, hours, day, date, month and year information.
The end of the month date is automatically adjusted for months with
fewer than 31 days, including corrections for leap year. Besides, this
module is really low power consumption, it can serve you more than a month with a CR1220
battery.
Connect Crowtail-RTC and Crowtail-Buzzer to I2C and P0 port of Crowtail-Base shield for
Micro:bit. The hardware connections are as follows:
Before we using the RTC, we need to add an extension package for RTC(DS1307). Follow the
steps below to add an extension package of RTC.
Hardware learning and connection
Step2
: Add the DS1397 package to your Makecode and
you can see it.
Step1
: Click on the Extensions, then search “ds1307” in the search bar.
Programming and note
OLED
34