
20
Crowduino UNO-SD/Arduino UNO x1
Crowtail – Base Shield x1
Crowtail – I2C LCD x1
Crowtail – RTC x1
Crowtail – Cable x2
USB Cable x1
Required Parts
STEP2:
Connect Crowtail-I2C
LCD and Crowtail-RTC to
Crowtail-Base shield’s I port.
The complete connection is
as follows:
Open the
P09_Electric_Watch
with Arduino IDE and upload
it.
STEP1:
Plug the Crowtail-Base Shield onto the Arduino or Crowduino Board.
Hardware Connection
Lesson 9 – Electric watch
Introduction
Have you ever thought about making an electronic watch for yourself? This must be very cool! Today,
we will use the electronic modules RTC and LCD learned above to make an electronic watch. Bring
this watch to make yourself the coolest person on the street!
You will see the current year, month, and day information displayed on the first line of the LCD, the
current hour, minute, and second information displayed on the second line, and the time displayed
on the LCD is constantly updated over time.
What will you see
1. Import the I2C, RTC and LCD library.
2. Create an RTC instance and lcd instance.
3. Initialize the serial monitor, I2C and RTC.
4. Determine if the RTC is running and initialize the time in the chip with the current date and time.
5. Initialize the lcd and get the current time from RTC module. Then print the current time information
on the LCD.
Code overview
Summary of Contents for Crowtail
Page 48: ......