Тёмный

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

Rudolf
Подписаться 359
Просмотров 4,1 тыс.
50% 1

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!
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...

Наука

Опубликовано:

 

25 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@TheScissorunner
@TheScissorunner Месяц назад
Every now and then while wandering through the wasteland called RU-vid you come across a real gem.. This video is Gold!
@ritschratsch3175
@ritschratsch3175 2 месяца назад
I'm truly amazed at how you manage to pack so much information into this video. I spent a long time searching through the datasheet for some of these details before I came across your channel. You're awesome!
@starasowa320
@starasowa320 3 месяца назад
Super extra video. I would like to ask for a video of the readings
@user-MrsYT
@user-MrsYT 2 месяца назад
thx for the hint to desolder the chargeresistor
@GregCoonrod
@GregCoonrod 7 месяцев назад
You put a lot of work into this video. Thank you!
@RiteshKumar-uy7fx
@RiteshKumar-uy7fx Месяц назад
you saved one person from dying due to library fever😁
@alielectronics17
@alielectronics17 8 месяцев назад
Nice tutorial
@elsayedayman7003
@elsayedayman7003 8 месяцев назад
Great video Keep on 🥰🥰
@elektron2kim666
@elektron2kim666 5 месяцев назад
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.
@ganeshsharma24894
@ganeshsharma24894 8 месяцев назад
Excellent content.
@prebengranberg2971
@prebengranberg2971 2 месяца назад
Great interesting video, well done, understandable 😊 You write at 11:30 inside the video that you want to give an example of setting DS3231 to: 11:23:47 PM October 2023 as well as alarm-1: 11:50:00 pm 28th each month, but without github the code, can I get it from you, you are really good at packaging the code to a minimum, thanks
Далее
All about the DS3231
13:11
Просмотров 26 тыс.
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
Forget WiFi! This Wireless Method is WAY Better?
12:14
Просмотров 514 тыс.
Fixing my counter's bouncy button
27:18
Просмотров 7 тыс.
Arduino Real Time Clock - Using the Tiny RTC
31:29
Просмотров 199 тыс.
Pimp My Potentiometer!
15:05
Просмотров 204 тыс.
Samsung laughing on iPhone #techbyakram
0:12
Просмотров 2,6 млн
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 2 млн