pcf8583 RTC to be used as event counter

Home Forums Arduino Project Discussions pcf8583 RTC to be used as event counter

Viewing 5 reply threads
  • Author
    Posts
    • #2907
      Avatarmunna1
      Participant

      Hi! I am trying to configure PCF8583 RTC as a event counter to do so we have to write 0x10 in control status register and the data will be stored in the next three address lines i.e., 1, 2 & 3. I am able to write into the status register but unable to know how to retrieve the data from the address locations 1, 2 & 3. After the data is retrieved from that location we have to compare the no of events with the preset values of the events in the address 9, A & Band if the  event counts are more than the preset value then it has to give out an alarm and it should display the counts on the 16 by 2 dot matrix. please try to help me out and I am writing the code in embedded c. I saw your code for PCF8583 which is a programmed to work as RTC for which it is ment. I was trying to make out the code out of it but could not be able to do it.
      To understand it better you try to refer datasheet of PCF8583 and the code which is available in this website. I am doing it with AT89S8253.

    • #2908
      Bitahwa BinduBitahwa Bindu
      Keymaster

      Hi.

      Is your project using Arduino or PIC microcntroller? I see you posted in Arduino Forum.

      Please note we are only working programming PIC microcontrollers and Arduinos, we are not doing any Atmel microcontrolers directly at the moment as you can see from our tutorials.

    • #4549
      AvatarRochMesa
      Participant

      The counter output event is generated whenever the counter reaches terminal count.  In the default “toggle” mode, the counter inializes its count register to be Initial Delay counts from terminal count.  When it reaches terminal count, it toggles its output to high and resets the count register to be High Ticks away from terminal count.  When it reaches terminal count again, it toggles it output to low and resets the count register to be Low Ticks away from terminal count.

      • #4712
        Bitahwa BinduBitahwa Bindu
        Keymaster

        You must always start your own thread in the correct forum to get assistance, not by hijacking somebody’s thread with an unrelated question. That’s why it has remained unnoticed and unanswered for this long.

    • #7461
      Avatarbonnicase
      Participant

      Hi… my axe091 to check everything and figure it may be something to do with the board. Connected everything and the mouse shot off to the upper right corner of my screen . in the wake of attempting a couple of things I found that it possibly does it when the 28×2 is embedded.

    • #7463
      Bitahwa BinduBitahwa Bindu
      Keymaster

      Hi, always start a topic in your own thread, this thread is discussing something else about PCF8583, you can’t mix discussions. Start your own thread in the appropriate forum.

      And just t mention that we don’t do any PICAXE tutorials, maybe somebody else in the forum who knows about PICAXE might assist you.

    • #7679
      AvatarRichieStine
      Participant

      Hello..even i had the same query.  The datasheet clearly says that the 1hz signal is generated when the PCF interrupt is set up as CLOCK mode. To get a i minute interrupt you need to set it in ALARM mode, but this is a waste IMO as you will need to update the alarm register each time the alarm fires to create a new alarm.

      • #7680
        Bitahwa BinduBitahwa Bindu
        Keymaster

        Please start your own topic, don’t hijack somebody’s else topic. It helps to followup with new questions and for people who will read them in the future.

        1 Question, 1 Topic!

Viewing 5 reply threads
  • You must be logged in to reply to this topic.
Select your currency
EUREuro