Lesson 19 - DS3231 RTC Module

Поділитися
Вставка

КОМЕНТАРІ • 57

  • @berkcan2439
    @berkcan2439 3 роки тому +6

    This is the real lesson. Others with arduino don't teach low layer or hardware information.

  • @ThomasPalowitchSr
    @ThomasPalowitchSr 2 роки тому +1

    A most complete and comprehensive project video. Very well thought-out and presented. I rate you with the best. Thank you for making this interesting tutorial.

  • @elektron2kim666
    @elektron2kim666 7 місяців тому +1

    In MMBasic, it's quite simple. Something like RTC gettime to give time$ and date$ the data. RTC getreg/setreg 3 (register 3), variable/value or from/to the RTC. RTC settime 2024,12,31,20,30,59. Option system i2c gp0,gp1 (setting up the wires, gp0=SDA, gp1=SCL as an example I have working.) - VCC/ground is not software..... It's in the manual, if this is confusing.
    A pico will update time$, date$ as long it's on and start up with a reset to 2000,1,1,0,0,0 then autorun.bas or clock.bas in flash (option autorun 1 for example) can start with rtc gettime. Every now and then maybe again.
    MMBasic is a normal flash like the others to begin this specific adventure.

  • @georgem4713
    @georgem4713 2 роки тому +1

    Thank you so much for the details, really nice video. Wish you the best.

  • @Kylym_Ihor
    @Kylym_Ihor 2 роки тому +1

    finally i founded wich diod i need to get off to use battery . Thank you , dude !

  • @رجلالسلام-خ2و
    @رجلالسلام-خ2و 4 роки тому +2

    Thanks for your great simple explanation in this video .How to use a library to set time automatically with DS3231 RTC?

  • @GCRickerNH
    @GCRickerNH 5 років тому +2

    This video is great! However, I'm still confused in some areas and would like to take you up on your offer to make a more detailed video on the library you created.

  • @statracing1
    @statracing1 Рік тому +1

    I would love a detailed walk through of the code. I am doing a similiar project with 7 seg display and an FM radio.

  • @tubeDude48
    @tubeDude48 Місяць тому

    Very disappointed that i2c wasn't used for the display!

  • @amargupta.8847
    @amargupta.8847 Місяць тому

    You are underrated

  • @cristianobrito2463
    @cristianobrito2463 4 роки тому

    👏👏👏👏👏👏👏 parabéns vc é um herói dos sem paciências.

  • @MikeNewham
    @MikeNewham 5 років тому +1

    Great tutorials. Learning lots here.!
    Was wondering if the AT24C32N EEPROM chip can be programmed to retain temperature readings - or - do you need a separate data logger (in addition to the MCU)?

    • @rickmorenojr
      @rickmorenojr  5 років тому +1

      The EEPROM can be programmed to hold just about anything, you're only limited by storage capacity. I think I reference in the show notes an AT24C32N EEPROM stand alone library that can be used do this.

  • @shafiqalom8408
    @shafiqalom8408 4 роки тому

    Nice video tutorial ❤️ go ahead...

  • @slpubgss5146
    @slpubgss5146 4 роки тому +1

    Thank You

  • @jstagzsr
    @jstagzsr 4 роки тому +1

    wait wait wait..... i just got this in the mail. i specifically bought this one because i thought it did NOT charge the battery like the previous ones i used to use did.. but when you show the one in this video that still does charge the battery, thats the one i have.. what the hell.. i dont have time to order another one now. this is going in a project im making for my brother because he loves the one i built for myself. how do i disable the charging? he has young kids. im not trying to burn his house down because some idiot on ebay misrepresented what he had (or i misread it)

    • @rickmorenojr
      @rickmorenojr  4 роки тому +2

      If I recall correctly, there's a diode and a resistor that needs to be removed. My video shows where they might be.

  • @murraymadness4674
    @murraymadness4674 Рік тому

    Thanks, I like your library, however it does not seem to work! I tried to setup an alarm interrupt by adding 10 seconds to the current time, but it never fires. There are so many conflicting ds3231 libraries, it has been a pain, but rtc_ds3231 doesn't conflict and works, so my hardware is good, it is just an ugly library..

  • @clobel55
    @clobel55 2 роки тому +3

    Why don't you give us a copy of the code? would make life easier for everyone

  • @_JaspalSingh
    @_JaspalSingh 4 роки тому

    Hi, I appreciate your effort to create a video and custom library. I am a beginner and you did what i want means own customization but you didn't provide much information about your library how to use it. Could you provide some information about it. It really helps a lot. Thanks

    • @clobel55
      @clobel55 2 роки тому

      this teacher is a joke

  • @pHuYaTz
    @pHuYaTz 2 роки тому

    hi sir, it is possible change alarm to timer?

  • @antidowt7750
    @antidowt7750 2 роки тому

    is it possible to add a 3rd alarm?

  • @Yash-Gaikwad
    @Yash-Gaikwad Рік тому

    I am trying to make a pet feeder. I am looking into clock modules which would run on low power like cmos cell or aaa battery, and not required to have a microcontroller attach or running . I found out clock modules like ds3231etc runs on cmos cell for months. But I realized it can only trigger two alarm daily. Is there any other module with at least around 6-10 alarms capability daily or any way to increase alarms capability of ds3231. So that I can amplify the alarm signal and use it trigger motor or servo that will dispense the treat/food. I was unsuccessful in finding such module, I also tried to find cheap circuit board of a commercial pet feeders on amazon. Still nothing.
    Thanks in advance.

    • @murraymadness4674
      @murraymadness4674 Рік тому +2

      I am building a chicken coop automatic door, which only needs two alarms and thought I could maybe use just this module, but it needs more circuitry to turn on/off motors. In any case, you need to setup this chip and that requires a microprocessor, so you need one already. They are cheap these days, I'm using a esp32 with wifi and its under $10 and has lots of examples.

  • @pHuYaTz
    @pHuYaTz 2 роки тому

    why the alarm not working?

  • @alyssajaylene2767
    @alyssajaylene2767 5 років тому

    What is the correct battery for this module? The LIR2032? I heard using the CR2032 is not good in the long run as it can explode

    • @rickmorenojr
      @rickmorenojr  5 років тому

      The RTC included in the Elegoo kit does not have the charging diode and resistor. So a CR2032 is ok. However, if you have an RTC from someone else, please check that manufacturer's datasheet for the correct battery.

  • @pHuYaTz
    @pHuYaTz 2 роки тому

    how to at relay timer, it on and off it depends on time schedule,

  • @brechts3013
    @brechts3013 4 роки тому

    Where can I find the 'DS3132.h' library you used in your video? This library would be perfect for a project im working on

    • @rickmorenojr
      @rickmorenojr  4 роки тому +1

      DS3131.h library is included as part of the Elegoo's Tutorial which can be downloaded from their web site. The DS3132.h library that was already installed in my Arduino IDE probably can be found by searching DS3132 libraries. I think I have a link in the show notes for the Elegoo Tutorial. I noticed that they have updated their tutorial, so I'm not sure what's different.

  • @hardwarepogrammer1481
    @hardwarepogrammer1481 5 років тому

    Great👍

  • @slpubgss5146
    @slpubgss5146 4 роки тому

    It's Warking

  • @shabmech6895
    @shabmech6895 4 роки тому

    Can you guide for more accurate like a few second a year plz. DS3231 is 2 minutes a year

    • @rickmorenojr
      @rickmorenojr  4 роки тому

      Possibly, with a different module. I was just going over the module provided in the Elegoo kit.

  • @kaumamathew9614
    @kaumamathew9614 4 роки тому

    Bro how to change program for i2c lcd 16*2

  • @kvamsidharvamsi5800
    @kvamsidharvamsi5800 5 років тому +1

    I need 7 seg display

    • @rickmorenojr
      @rickmorenojr  5 років тому +1

      7 segment display will be in Lesson 27.

    • @kvamsidharvamsi5800
      @kvamsidharvamsi5800 5 років тому

      @@rickmorenojr when will you upload bro

    • @MikeNewham
      @MikeNewham 5 років тому +1

      Great@@rickmorenojr , i have a TM1637 - 4 digit - 7 Segment module here, that i'd like to use (and thus replace the more bulky LCD). It's currently installed in the forehead of a Star Wars stormtrooper - along with the DS3231 and a Pro Mini :) I'd like to alternate the time display with the temperature display. In fact i just ordered this little module that seems to allow for a lot of what i'm looking for - bit.ly/2WJgka7

    • @rickmorenojr
      @rickmorenojr  4 роки тому

      @@MikeNewham Nice looking module. I'll have to get one.

  • @quickfixengineeringltd8035
    @quickfixengineeringltd8035 3 роки тому

    Thank you sir.
    But I don't find the ds3231. I want to turn off a fridge everyday from 9pm to 7am

  • @w6vmj
    @w6vmj 4 роки тому

    Rick, to play it safe, should I not connect the RTC module to 5 volts and just power it from a non chargeable CR2032?

  • @eleobo
    @eleobo 5 років тому

    HOW TO MAKE MY OWN RTC MODULE WITH EEPROM PLEASE HELP ME

    • @rickmorenojr
      @rickmorenojr  4 роки тому

      Sorry, just going over the modules provided in the Elegoo kit. The Elegoo Tutorial is Lesson 19.

  • @DavidNijman
    @DavidNijman 4 роки тому

    What are the values of the resistors?

    • @rickmorenojr
      @rickmorenojr  4 роки тому

      The basic lesson doesn't require any resistors. My alarm clock uses 100, 330, and 330 ohm resistors and 10K ohm potentiometer. The schematic can be found in the GitHub link in the show notes above.

    • @DavidNijman
      @DavidNijman 4 роки тому

      @@rickmorenojr Thanks! I couldn't find the schematics above, i looked everywhere ;-)

    • @rickmorenojr
      @rickmorenojr  4 роки тому

      @@DavidNijman The basic schematic is in the Elegoo Tutorial's PDF. My modified schematic, the alarm clock, should be a png file on GitHub. Here's the path: Lesson 19 - Real Time Clock Module/RTC_schem.png (github.com/rmorenojr/ElegooTutorial/blob/master/Lesson%2019%20-%20Real%20Time%20Clock%20Module/RTC_schem.png)

  • @damiansolowski8628
    @damiansolowski8628 Рік тому +1

    10:45 Polska Górooooooooooom

  • @DJMagicmagie0muziek0en0meer0
    @DJMagicmagie0muziek0en0meer0 5 років тому

    make more videos

  • @slpubgss5146
    @slpubgss5146 4 роки тому

    I'm Relay Sorry 🙏

  • @heinrichhelmbold419
    @heinrichhelmbold419 4 роки тому +1

    I am sorry... I know it takes A LOT of effort to make these videos but if you are trying to teach people, I think you have WAAAAYYY too much technical jargon. You have lost your audience in the first minute. I know this is sounding like a very negative comment but I think you have a lot to offer and you are losing too many people with all your hex and serial number readings. Simplify... And then give the user the info to research further

    • @RalphWLundvall
      @RalphWLundvall 3 роки тому

      Yes. But sorely needed! So many youtube videos: "And alarms! Exit stage left."

  • @slpubgss5146
    @slpubgss5146 4 роки тому

    Not warking 👎👎👎👎