Arduino Real Time Clock - Using the Tiny RTC

Поділитися
Вставка
  • Опубліковано 21 лип 2024
  • Today we will add a Real-Time Clock to an Arduino. I’ll show you how the Tiny RTC is hooked up and how to use two ways, including with interrupts. We will also construct a temperature and humidity clock.
    Full article at dronebotworkshop.com/real-tim...
    More articles and tutorials: dronebotworkshop.com
    Join the conversation on the forum: forum.dronebotworkshop.com
    Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
    The Arduino is a very versatile platform with many features, however, one thing it cannot do is tell the time. In order to do that you will need a real-time clock module.
    A real-time clock is essentially a digital clock that you can interface with a computer or microcontroller. The module we are going to use is the popular Tiny RTC, which interfaces with the Arduino using the I2C bus.
    The Tiny RTC is based upon the DS1307 real-time clock chip. This chip provides readings of the second, minute, hour, day, day of the week, month, and year. It adjusts for leap years and has a battery backup. And its available from several sources and it is very inexpensive.
    I’ll show you how to hook up the Tiny RTC and how to set and read the time. We will then look at a more advanced method of using the Tiny RTC, using interrupts.
    Here is the Table of Contents for today's video:
    00:00 - Introduction
    02:19 - Tiny RTC Module
    05:15 - Hooking it up
    06:03 - Setting the Time
    09:43 - Reading the Time
    12:30 - Creating Interrupts
    19:58 - RTC with Temperature and Humidity
    As always there is an article on the DroneBot Workshop website with all of the code you’ll need to duplicate these experiments. You’ll find it at dbws/tinyrtc
    While you are on the website please subscribe to the DroneBot Workshop newsletter. It’s my way of keeping in touch with you to let you know what projects I’m working on.
    And please subscribe to the UA-cam channel if you haven’t already. That way you won’t miss out on any of the videos.
    Thanks and I hope you enjoy the video!
  • Навчання та стиль

КОМЕНТАРІ • 191

  • @konturgestalter
    @konturgestalter 5 років тому +24

    your shop is so scarily clean and beautifully arranged.

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

      There's one screwdriver in the background which is not fitted right, and it's triggering my OCD. ;)

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

      SpaceParanoidX oh god why would you point that out

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

      @@SpaceParanoidX ha ha...

  • @jezebabe
    @jezebabe 5 років тому +7

    Another excellent video Bill. Thank you very much for all of your hard work.

  • @musaadejoshuaibuopaluwa1712
    @musaadejoshuaibuopaluwa1712 5 років тому +4

    I am a fan of this channel.
    I have always watched your videos.
    Keep up these good works of yours.
    I shall be looking forward to the day you will make a video on Arduino/GSM modules.
    Thank you now and always.

  • @stompreaper
    @stompreaper 5 років тому +4

    I really like how you introduced the module and the developed the ideas in this video. It was a good progression from module to project. I'm looking forward to the robot series.
    I do like the two camera set up for seeing the projects on the bench or when you showing a module or part. I'm not a fan of the look left look right camera switching for the explanations/narration. It's quite jarring and doesn't feel like it adds to the presentation. I can see what you are going for with respect to keeping interest in the visuals but I think some editing cutting with stills or change of framing would work better than seeing you physically turn to look from one camera to the other with no obvious purpose.
    Keep up the great videos!

  • @gwmoon8596
    @gwmoon8596 5 років тому +3

    Thanks for another great informative video. I was hoping you were going to finish the video with the addition of a digital readout.

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

    Thanks for sharing this clever way to use an RTC to update the clock. I knew there must be a simpler and more accurate way to get the time from my RTC.

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

    Thanks, always nice to review the basic modules.

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

    Very nicely produced and easy to follow along with clear explanation and good pace. One nit that jumped out at me is the misuse of the term accuracy, where you really meant precision. The*precision* of the RTC is 1 second. As others have noted, the *accuracy* is off for two reasons. The time & date used to set the clock will have a slight skew due to the lag between running the clock-setter and the compile time. Also, many people seem to find the accuracy of the clock frequency is poor, resulting in increasing differences between date & time of the RTC & and actual time and date. I immediately wondered whether the is some way to trim the frequency of the crystal to achieve better accuracy.

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

    I always can make time for DroneBot Workshop. Thanks again teacher.

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

    Most of these 'micro-puter-ese' videos put me to sleep- but not yours. You have such good structure and flow, it moves me right along. Great job, Bill- as usual. I do not know how you find the time (Pun on purpose!).

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

    Thank you very much for this. It saved me (some time). LOL I did have trouble since I have a DS3231 and not a DS1307. It kept putting the seconds 8 seconds behind. I ended up having to add 8 seconds to the time when it retrieved the time from the PC. Thanks again!

  • @SpeccyMan
    @SpeccyMan 5 років тому +6

    One small but important point regarding your LED blink on interrupt code. It is not a very good idea to use digitalWrite within an interrupt service routine because it is very slow and, as you rightly pointed out, the routine should execute as quickly as possible. It is much better to use direct port manipulation (in this case PORTB bit 5) to flip the LED state.

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

    Love your teachings!! Thank you!!

  • @djneon12
    @djneon12 5 років тому +8

    the DS signal is a 1-wire signal used for the DS18B20 temperatuur sensor that you can add to the board and is not a device select!
    here is the schematic: www.fabtolab.com/image/data/Accessories/RTC/DS1307ckt.jpg
    and if you use a CR2032 (non rechargeble battery) you need to change some stuff because those boards are designed to use a LIR2032 (rechargeable battery).
    to do this remove R5, D1, R4 and R6. then wire a jumper on R6. other wise you try to charge a non chargeabe battery and that is going to kill the battery.

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

    Great video... my only comment is be careful of the difference between "accuracy" and "resolution". The clock may be resolute to a second, but it's accuracy (how much it may drift) may be better or worse after some period of time.

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

    I love your style . another great job.

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

    Thank you very much for all of your hard work

  • @sportilight3005
    @sportilight3005 5 років тому +17

    Awesome tutorial on Using the Tiny RTC
    thanks teacher...
    will really appreciate it if you could do a tutorial on how to Setup interrupt from RTC DS3231. In such a way that at a particular time specified. RTC will put my arduino to sleep mode and also at a specified time it will wake it up....USING RTC DS3231 module.
    thanks so much Sir, I really appreciate you and celebrate you.
    HEZEKIAH 4rm 🇳🇬🇳🇬🇳🇬NIGERIA . 🤗

  • @franciscoj.r.gomezduran8014
    @franciscoj.r.gomezduran8014 4 роки тому

    A very well done teaching video, congratulations.

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

    I love the way the info presentation flows. Pretty structured and informative. So I've to visit your website for more static info on this topic. However, I found on the website (similar to this video) the description for the DS pin on the TinyRTC module "DS - Device Select, this allows you to enable or disable the device.". I did more research online and found that DS was actually meant for the temperature readout from the DS18B20 tempearture sensing module that can be optionally soldered to the board next to the battery (if its not already there). And it is also recommended to have a pullup resistor to the DS pin conenction when in use.

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

      The DS18B20 temperature sensor is independent of the DS1307 RTC hardware on the board. The only shared resources between the two are the VCC and GND rails on the TinyRTC board...

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

    Bill Thanks FOR EVERYTHING.

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

    Excellent tutorial, thank you.

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

    I noticed that as the serial monitor was listing out the time, temp, humidity that occasionally there were would be two consecutive time displays with exactly the same reading in the seconds place. I thought this would update the display once per 1 Hz tick, so I don't follow how you could ever have a duplicate time displayed. What am I missing?
    Thanks! I love your style. It is so very easy to follow.

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

    Useful video 👍 Thank you

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

    It would be really interesting if you made a voice recorder with arduino for house automation, if you say “turn lights on” the arduino reads it and the relay activates the light bulb. Great videos by the away, I’m a really big fan.

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

    Great video!
    I saw a video you used rf 433 module to send data
    I am currently stuck trying to use it to send data from an accelerometer to a dc motor, can you help with that

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

    Excellent videos to learn.!

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

    This'll be massively helpful in my future projects involving time keeping :D
    Thanks, Bill!

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

    There is also a 16 pin "DS3231SN" RTC. This is the first I have heard of the DS1307 Tiny, but it sounds like they both do the same. Unfortunately I don't have the pinout in front of me or I would share.
    Pretty cool little chips.

    • @3maisons
      @3maisons 4 роки тому

      The DS1307 has no alarm function built in and no temperature built in; the DS3231 has two built-in alarms, and can be programmed to interrupt when the clock time matches the alarm time in seconds, or minutes and seconds, or hours minutes and seconds, or days hours minutes and seconds, etc. The DS3231 also has an on-chip thermometer. (I bought the DS1307, and was disappointed that I could not interrupt once per hour.)

  • @MarcRidders
    @MarcRidders 5 років тому +15

    You might want to use the qualifier "volatile" for the variable ticks, so the declaration should read "volatile int ticks= 0;". This is a compiler directive which results in code that reads the value of ticks from RAM instead of from a register in order to avoid conflicts when using concurrent processes and/or interrupts with global variables.

    • @stefanmoser4348
      @stefanmoser4348 5 років тому +3

      this also I wanted to suggest, but you were quicker :-)
      when the values of variables are changed in interrupt service routines (ISRs), they have to be defined 'volatile', otherwise they could behave oddly

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

    From gears to circuits.
    I love engineering.

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

    beauty bud keep up the good work!

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

    Thank you for such a detailed video, please give a video on Daisy connections and how to use it with Arduino

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

    One other thing you could do with this project is monitor the rtc backup battery and alarm if it is low so the user knows when to change it.

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

    Nice one! Plz make a video showing how to use gps and sim card modules. There are not many good videos on how to make an alram/tracking device that updates you with sms. Also, your new project building a real robot is very interesting. Looking forward to it. :)

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

    Wouldn't the output on pin 13 be half the frequency of the input as the interrupt is triggered on one flank only?

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

    enjoyed that thanks!

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

    Always looking forward to Bill's videos. Keep up the good work !

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

    thing that confused me a lot when I first started using an RTC was that the compiler hard codes the time into your clock set program and you have to recompile and upload asap to have the current time.

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

      how you set your time using your currency/place/country ?

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

    Excellent !!

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

    Very good video, i was need know to make interrupt with RTC, thanks. But the pin DS i think that is for temperature sensor, and not for device select, i also verified in datasheet.

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

    Doskonałe wideo, pozdrawiam

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

    Hello DroneBot Workshop
    I followed the tutorial with my arduino mega 2560 up to the point where the external LED pin would trigger on each falling edge of the RTC. Unfortunately the LED just stays on, either staying high all the time or the frequency is too high to detect the blinking. The code that was used is identical to yours.
    Any tips or suggestions will be appreciated.
    Thank you.

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

    Best teacher 👍👍👍

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

    Module’s Hidden Feature - DS18B20
    There’s a provision on our DS1307 RTC module that often goes unnoticed. It allows us to install DS18B20 temperature sensor.
    The 3 holes in the top corner right next to the battery holder(labled as U1) is where the DS18B20 is installed.
    Once you install the DS18B20, you will be able to get temperature readings from DS pin. These readings can further be used to compensate for temperature based time drift in code.
    So there is no need to install a Temp Sensor, since its already at the Tiny RTC / DS1307.

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

    hi Sanjay Here I have one suggestion why dont you move to stm32f103X blue pill or ESP8266(nodemcu)

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

    It would be really nice if you could make a detailed video of MPU9250 and ESP8266 for making a pedometer. I am really looking forward to this!

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

    Hi Bill, Great lesson! I´m anesthesiologist and became very interest in arduino. Im trying to build an apparatus very similar to this one but instead an AM2320 i was trying to use a BMP280, to obtain de atmospheric pressure (it´s important to calibrate some capnographers! It will be very useful to me!), watched some videos and at the end i fried my sensor! Can you help me? Best regards from Brazil!

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

    It seems that assigning the square wave to pin 2 or 3 of the Uno comes with the disadvantage that it is an interrupt. The controller stops when the wave is down.
    Why not assigning to a non-interrupt digital input pin and then check for change of state (of the square wave)? This would avoid interrupting the controller.
    Also, do the statuses of the I/O change to zeros (off) during an interrupt, or are they frozen (maintained) during an interrupt? Thanks

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

    i made a raw ds1302(found from another ready clock) dot pcb module & connected the crystal & backup batterym wired it to A4 & A5, nothing is showing on serial monitor, using nano, do i have to use pull up resistors & what to do with the CE pin.

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

    I completely agree with the other commenters who say to use the DS3231 instead. (Especially the DS3231SN, which is the quartz crystal version, rather than the DS3231M, which uses a less accurate MEMS oscillator.) The DS1307 can be so inaccurate that it's just not worth the effort. I've gotten some clock kits based on the 1307 that were so bad they literally were useless (a clock that loses or gains several minutes per day is simply not usable). The DS3231 is superb.

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

    that led toggle is interesting ^1

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

    Hello Guru, I have recently subscribed to DroneBot Workshop and like your way of teaching with detailed explanations and have become your fan. I request you if possible to append this video for interfacing this with 6 nos 8x8 Matrix Display in configuration as Digital clock display. Although you did mention that there are cheap Digital clocks available. If you have this on your website please do inform.

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

    can you please explain what a preamble value means? what is necessary for?

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

    Can the square wave pin of one RTC be tied to two Arduino controllers by wires, e.g. one Uno and one Nano? For me, only the Uno needs the real time; the nano needs only the square wave digital input.

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

    What’s about start and stop the RTC-Chip? Is this Bit set by settiing the time?.

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

    I believe this module is suitable for projects that deals with calendar, such as smart irrigation system in agriculture, or deals with time such as smart home 🏠 light

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

    you are incredible

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

    Excellent vid! This might be a strange question but I cant seem to be able to follow the links you provided for your website. Has something changed or is it me?

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

    Terimakasih atas ilmunya

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

    fantastic

  • @joeydelmarsjr.646
    @joeydelmarsjr.646 2 роки тому

    i have a MSM9004-02 in my car that is severed from the stock radio, so it doesnt work. Can i some how make it into a stand alone clock? I have located the pin out of the chip to 10pin connector vcc 5v and LCD voltage, rest, load, clock, and ground. what do i need to make it work independently?

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

    Nice information sharing with us. thanks. sir if any have best arduino project for bike?

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

    Cool and simply video... but can you tell me How to programming a alarm time . I wish to use a ESP8266, with a relai to switch on /off the current wo will start and stop a radio. Have allready buy a DS3231 to have anytime the right time but don t find a solution to programming the alarm time . Can you help me please ? thanks in forwards

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

    Like other videos from this channel, the constant change in camera angles during discussion is VERY painful to watch. I would suggest using camera 1 for intro and conclusion while using camera 2 for all other discussions on the subject at hand. As far as the information being discussed, I give it an A+.

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

    Really enjoy your videos thanks!

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

    Kind of tangentially related, but a lot of people are using now ESP32/ESP8266 based 'Arduinos', as they are much more powerful and have WiFi/Bluetooth, and are generally cheaper.
    Obviously with the WiFi connection is the possibility to use NTP (network time protocol) to get the accurate time from a time server, the ESP even has functions built into it's ROM for registering which time server you want to use, so require almost no code to set up.

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

    can you make a video about using android phone connected to wifi to control home equipment and appliances??

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

    Hi Bill, Great video and very informative. Unfortunately I could not download the associated code files for the interrupt example, so I copied the code from the video. I could not get the LED to flash from that code until I noticed that the command Wire.begin() was missing from the setup() function. If you put this in right after the call to Serial.begin(9600) it all magically works.

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

      Thanks! I had same problem.

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

    Ive seen a few I2C projects that need a resistor on the dataline to ground, is this required for this project?
    Great vid, thanks for sharing.

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

      If you have multiple devices , interference or your I2C nodes are a long distance from each other you may need pull-up resistors.

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

      @@typematrix5038 thanks for explanation, greatly appreciated.

  • @s.u.5285
    @s.u.5285 4 роки тому

    Just something I read on google about DS1307. "The main difference between the DS3231 and DS1370 is the accuracy of time-keeping. DS1307 comes with an external 32kHz crystal for time-keeping whose oscillation frequency is easily affected by external temperature. This usually results with the clock being off by around five or so minutes per month." so maybe the DS3231 is better.

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

    great nice job

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

    good... thanks you.

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

    Airports update their barometric pressure reading hourly at my nearby Paine Field Everett WA. I log my BME280 the same. Humidity readings more often are unneeded.

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

    Hello pls Made video how work whit DS3231 I'm having a lot of trouble with this module

  • @stevec5000
    @stevec5000 11 місяців тому

    How do you ever get those RTC modules to work? I got 6 of them from Amazon and can't get any of them to work since the 32 KHz crystal doesn't oscillate and the ds1307 doesn't do anything! The Ground pin was not even connected on the pc board but jumping a wire to the neg. on the board didn't help, although it's getting power now it still doesn't do anything. I tried replacing the crystal on one of them but that didn't make any difference. I wonder if they were all made with counterfeit clock chips or what is going on with them?

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

    what kind of battery does it use

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

    Sir your videos are very helpfull..Sir make video on lora module.. plz sir....

  • @1958abc
    @1958abc 4 роки тому

    Thanks alot Sir For your Excellent Work.One Request Please display thenames of Component used Names &Circuit Diagram.With Regards

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

    How can I turn on a bulb using a simple mobile phones alarm clock ..
    Please help me in this .
    Is this possible .

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

    I get an error when I try to navigate to the article on DroneBot Workshop. Is the article still available?

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

    For full article there is an error,
    This site can’t be reached
    Check if there is a typo in dbws.
    If spelling is correct, try running Windows Network Diagnostics.
    DNS_PROBE_FINISHED_NXDOMAIN

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

    19:20 the square wave is 1Hz but because of the software the LED flashes at 1/2 Hz

  • @MichaelTaylor-ed8dw
    @MichaelTaylor-ed8dw 4 роки тому

    the link to the article doesn't seem to be working?

  • @midlandernc7403
    @midlandernc7403 10 місяців тому

    My tiny rtc module with eeprom only shows the i2c address for the eeprom 0x50 and so application can't see the RTC at 0x68

  • @InvertLogic
    @InvertLogic 5 років тому +3

    Very nice! but I think the DS3231 is better and precise than DS1307. what you think

    • @MrJohnnaz
      @MrJohnnaz 5 років тому +3

      3231 is far more accurate. You can also solder it directly to some of the Arduino clones as they have an additional
      header that just happens to align with the pins on the 3231 RTC. I had a 3231 running for over 2 years, have not had to adjust the time yet.

    • @binarybox.binarybox
      @binarybox.binarybox 5 років тому

      Always well made videos. The DS1307 is a great intro to I2C use but for accuracy, the DS3231 is a lot better. I have built both.

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

    Please lectures on fingerprint module

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

    How can i add 12c screen or 16×2 lcd with arduino and tiny rtc... Please share me pinout and code for that...

  • @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.

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

    When i use i2c scan i found 2 adress 0x50 and 0x68, from the library they use the 0x68.
    Did anyone know what the use of 0x50 adress?

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

      The module has a 24C32N EEPROM chip (4 kilobytes).

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

    The link to the full article doesn't seem to be working.

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

      dbot.ws/tinyrtc is the correct address, I think the author made a typo :-)

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

    Now you can make a load cell video for us or a gps video.

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

    Why has this pcb got two ic on it?

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

    what should one do for 12 hour format setting?

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

      I found a little piece of code for 12 hour format
      void ampm(int Hour){ //ampm function takes the hour value 0-23
      if(Hour==0){ //if it's 0 it becomes 12
      Hour=12;
      a=true; //true if it's am, false otherwise
      lcd.print(Hour);
      }
      else if(Hour>0 && Hour12){
      Hour=Hour-12; //substract 12 to bring it back to 1,2,3,...
      a=false;
      lcd.print(Hour);
      }
      }

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

    What is the use of this module on Arduino

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

    That website doesnt work.. and there is no ds13rtc library in the arduino ?manage libraries" tab..

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

    bill im new to all this and its baffling , but can you help , ive built a coloured digital clock a cheap chineese job , it works but GAINS TIME about a minute a day , is there a way round this, thanks, john.

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

    5:50 wire rtc to arduino
    6:04 About Library

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

    We use pull up resistors with i2c devices but this tutorial shows nothing about that .I have followed this and works for me but i am still confused how it is working even though it shouldn't work in theory.

  • @LEO-xo9cz
    @LEO-xo9cz 4 роки тому

    Next trick how do I connect a home made led clock to it?