Learn everything about the DS3231-SN Real Time Clock | Use without Arduino Library

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 เม.ย. 2024
  • The DS3231-SN is a very useful and precise Real Time Clock (RTC).
    It comes in handy for all your projects in need of accurate timekeeping.
    Learn how to use the DS3231 on your Arduino (or any other microcontroller) without the use of extra RTC libraries! This way you can customize as you like and save precious memory on your microcontroller to do other tasks!
    A visual representation of the registers with LED's makes it easy to understand how the IC works and how to use it properly.
    We look at how to use Bitwise OR operation, Two’s compliment, and much more.
    I hope you enjoy the video!
    If you use the affiliate links below, you don't pay extra but I may receive a small commission to help my channel grow!
    Amazon.com general: amzn.to/3QXBwYP
    DS3231-SN: amzn.to/3sx6KN5
    DS3231-SN: amzn.to/478YUs4
    DS3231-M: amzn.to/49up8ad
    Beginners Oscilloscope: amzn.to/49Dfwd2
    Arduino Nano: amzn.to/46c7lSk
    Arduino Mega: amzn.to/3MEgigf
    00:00 - Intro DS3231
    02:13 - Temperature-controlled RTC (TCXO)
    02:56 - General info
    03:46 - What to buy?
    04:07 - SN vs M version
    05:07 - Rechargeable battery on breakout board
    06:05 - Pinout on the DS3231SN
    09:00 - Connect to Arduino
    09:35 - Coding
    10:15 - Time/Date registers setup
    12:55 - Binary Coded Decimal (BCD)
    15:54 - Bitwise OR in Hours register
    19:45 - ALARM
    23:01 - Extra Settings
    25:09 - Two's Compliment
    29:05 - Extra info/tips
    GitHub code: github.com/Rudolf-B/DS3231-pr...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 6

  • @GregCoonrod
    @GregCoonrod 4 หลายเดือนก่อน +3

    You put a lot of work into this video. Thank you!

  • @starasowa320
    @starasowa320 3 วันที่ผ่านมา

    Super extra video. I would like to ask for a video of the readings

  • @alielectronics17
    @alielectronics17 5 หลายเดือนก่อน +3

    Nice tutorial

  • @elsayedayman7003
    @elsayedayman7003 5 หลายเดือนก่อน +3

    Great video
    Keep on 🥰🥰

  • @ganeshsharma24894
    @ganeshsharma24894 5 หลายเดือนก่อน +4

    Excellent content.

  • @elektron2kim666
    @elektron2kim666 2 หลายเดือนก่อน

    I like those. Have a couple of Pico's running MMBasic with a DS3231 attached. The temperature "quarters" in register 18 worries me. The integer number in register 17 gives the full number in Celsius directly. Typing RTC getreg 17,a and print a will give 19 (or whatever) degrees and RTC getreg 18,a and print a gives 64 which could mean 0.75 and it's weird to test, but I got to see another number. If it's 64,32,16 then it's still weird.
    Edit: You answered it to be bit 6 and 7 in the end of the video. The code you showed bit moved (>>) down to 0/1/2/3 as a reading and x 0.25, so I figure it out.