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.
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.
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.
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)?
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.
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.
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.
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.
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.
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..
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)
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
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 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)
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
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
This is the real lesson. Others with arduino don't teach low layer or hardware information.
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.
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.
Thank you so much for the details, really nice video. Wish you the best.
finally i founded wich diod i need to get off to use battery . Thank you , dude !
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.
I would love a detailed walk through of the code. I am doing a similiar project with 7 seg display and an FM radio.
Thanks for your great simple explanation in this video .How to use a library to set time automatically with DS3231 RTC?
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)?
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.
You are underrated
Very disappointed that i2c wasn't used for the display!
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.
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.
hi sir, it is possible change alarm to timer?
is it possible to add a 3rd alarm?
Where can I find the 'DS3132.h' library you used in your video? This library would be perfect for a project im working on
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.
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
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.
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..
Nice video tutorial ❤️ go ahead...
👏👏👏👏👏👏👏 parabéns vc é um herói dos sem paciências.
why the alarm not working?
how to at relay timer, it on and off it depends on time schedule,
Rick, to play it safe, should I not connect the RTC module to 5 volts and just power it from a non chargeable CR2032?
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)
If I recall correctly, there's a diode and a resistor that needs to be removed. My video shows where they might be.
Bro how to change program for i2c lcd 16*2
Can you guide for more accurate like a few second a year plz. DS3231 is 2 minutes a year
Possibly, with a different module. I was just going over the module provided in the Elegoo kit.
Thank You
You're welcome!
HOW TO MAKE MY OWN RTC MODULE WITH EEPROM PLEASE HELP ME
Sorry, just going over the modules provided in the Elegoo kit. The Elegoo Tutorial is Lesson 19.
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
this teacher is a joke
It's Warking
What are the values of the resistors?
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.
@@rickmorenojr Thanks! I couldn't find the schematics above, i looked everywhere ;-)
@@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)
Thank you sir.
But I don't find the ds3231. I want to turn off a fridge everyday from 9pm to 7am
Why don't you give us a copy of the code? would make life easier for everyone
I need 7 seg display
7 segment display will be in Lesson 27.
@@rickmorenojr when will you upload bro
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
@@MikeNewham Nice looking module. I'll have to get one.
make more videos
Great👍
10:45 Polska Górooooooooooom
I'm Relay Sorry 🙏
Ds3231 run out of the time in 2199 don"t bay it . scrap
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
Yes. But sorely needed! So many youtube videos: "And alarms! Exit stage left."
Not warking 👎👎👎👎