![]() ![]() There are more OLED show communicates using SPI communication. The model we are utilizing here has only four pins and interface with the Arduino apply I2C interface protocol. The OLED show doesn’t need backlight, which ends up terribly very nice distinction in dark environments. The organic diode ( OLED) show that we’ll use during this tutorial is the SSD1306 model a monocular, 0.96-inch show with 128×64 pixels. The clock/calendar provides seconds, minutes, hours, day, date, month, and year information. Address and data are transfer serially via a 2-wire, bi-directional bus. The DS1307 is a low power Full Binary (BCD) Real Time Clock (RTC) IC with 56 bytes of SVRAM that communicates through I2C Protocol. ![]() The two push buttons are used to set our real time clock (RTC). ![]() So with two push buttons we need a total of 5 pins. The I2C bus has two lines: SDA (serial data) and SCL (serial clock), an addition rest pin is required for the SSD1306 OLED. The DS1307 RTC as well as the SSD1306 OLED shares the same I2C buswhich minimizes the pin used. In this Arduino project, we will learn how to build a real time clock using Arduino, DS1307 RTC and SSD1306 OLED. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |