- 21/02/2018 at 17:29 #2907munna1Participant
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.
- This topic was modified 3 months, 1 week ago by Bitahwa Bindu.
- 22/02/2018 at 15:21 #2908
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.
- 17/01/2019 at 20:01 #4549RochMesaParticipant
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.
- 15/02/2019 at 14:59 #4712
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.
- 19/06/2020 at 17:56 #7461bonnicaseParticipant
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.
- 19/06/2020 at 23:53 #7463
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.
- 28/07/2020 at 19:06 #7679RichieStineParticipant
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.
- 29/07/2020 at 02:26 #7680
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!
- You must be logged in to reply to this topic.