Skip to content

Device Driver for DS1307 Real-time clock (RTC) -> STM32 HAL Library

Notifications You must be signed in to change notification settings

MechatronicNoel/ds1307

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DS1307 Real-time clock (RTC)

Device driver for DS1307 Real-time clock (RTC) based on STM32 HAL Library, What do You need?

  • Any STM32 Nucleo-Board or any STM32 Microcontrollers
  • STM32Cube IDE (HAL Libraries)
  • Any dev-board DS1307 or your custom hardware

How to use:

  • Created new project in your STM32Cube IDE
  • Select your STM32 Microcontroller in my case I used a STM32F103CBTx (Blue Pill board)
  • Select your preferred I2C peripheral in my case I used I2C1
  • If you need to use another I2C peripheral just modify this macro DS1307_HANDLER in the file ds1307.h
  • Include the source files in your project
  • Enjoy!!

How to contribute to the project?

Submit Merge Requests to fix issues or add features to the repo.

Schematic Connection

STM32F103CBT DS1307
PB6 SCL
PB7 SDA

Build Status

About

Device Driver for DS1307 Real-time clock (RTC) -> STM32 HAL Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages