Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DS3231

MicroPython module for DS3231 Maxim Integrated Extremely Accurate I2C RTC.

Attention, the project has moved:

https://github.com/octaprog7/libRTC

Just connect your DS3231 module board to Arduino, ESP or any other board with MicroPython firmware.

Supply voltage DS3231 3.3 Volts or 5V! If you use lithium (Li-Ion) backup battery CR2032, supply your DS3231 board from 3.3 V only! If the supply voltage is greater than 3.3 Volts, the СR2032 Li-Ion battery will become unusable due to the recharging circuit located on the board.

  1. VCC
  2. GND
  3. SDA
  4. SCL

Upload MicroPython firmware to the NANO(ESP, etc) board, and then two files: main.py, ds3231maxim.py and folder sensor_pack. Then open main.py in your IDE and run it.

Warning

In this project, I use the second hardware I2C port of the RP2040 Connect board. See calling the I2C class instance constructor. You must select the I2С port you need! Don't forget the 4K7 pull-up resistors!

Pictures

IDE

alt text

Breadboard

alt text

About

MicroPython module for work with DS3231 clock from Maxim Integrated

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages