Questions tagged [real-time-clock]

Quoting Wikipedia:

A real-time clock (RTC) is a computer clock (most often in the form of an integrated circuit) that keeps track of the current time.

Micro controllers, Android, related assembly (or low-level) code are concepts that usually accompany so make sure you pick the right one.

199 questions
0
votes
0 answers

Qwiic Real Time Clock Module not working when changing I2C pinout

I am trying to get the Qwiic Real Time Clock Module by Sparkfun working. I am using an esp8266. The clock works fine with the standard I2C pinouts, but when I change it with Wire.begin(2, 3);, it suddenly doesn't work anymore. I've tried changing…
ILikeSahne
  • 170
  • 2
  • 10
0
votes
1 answer

Array to select/deselect based on boolean conditions

Homework problem, basically I need to code it to show only the selected attribute. I'm given several functions and expected to finish with only these. Textbook and internet examples are no help as they do not deal with this exact assignment. Main…
Mike
  • 1
  • 2
0
votes
2 answers

second hand on javascript clock goes backwards

I did an exercise on 30 Days of JavaScript. The exercise was to make a clock. I made the clock here on CodePen. If you play it, you will see that when the second hand reaches the top, it actually circles backward 360 degrees to go to the next…
apex2022
  • 777
  • 2
  • 8
  • 28
0
votes
2 answers

PPS: how to adjust system clock from PPS?

In Linux PPS documentation it is said: PPS means "pulse per second" and a PPS source is just a device which provides a high precision signal each second so that an application can use it to adjust system clock time. But I haven't find out how…
ransh
  • 1,589
  • 4
  • 30
  • 56
0
votes
1 answer

Android app display classic clock that allows user interaction

I want to create an Analog clock in Android Studio. I have done so successfully to show the current time and run, however I cannot figure out how to allow the user to set the time. I have implemented the methods from the link below to display the…
0
votes
1 answer

seconds in clock getting displayed after 5 seconds interval

I am working on a clock in Javascript in which seconds is getting displayed after every 5 seconds which I am not sure why. The code which I have used for the clock is: const suv = document.querySelector('#online-suv'); const suvLabel =…
flash
  • 1,455
  • 11
  • 61
  • 132
0
votes
0 answers

Attiny 84 Communicating with RTC Through SPI Troubles

I am currently trying to use an ATtiny84 to communicate with an RTC (DS1305) through SPI to make an buzzer vibrate every variable amount of time. I've been trying to set alarm0 on the DS1305. However, the 84 does not "technically" have SPI. It has…
Nichos
  • 33
  • 2
  • 9
0
votes
0 answers

No RTC pin signals with SparkFun nRF52832 Breakout

I'm using the SparkFun nRF52832 Breakout to use the RTC signal for a sensor pressure clock line. Unfortunately, on the two RTC pins, there are no signals. To verify this point, I used an oscilloscope to read pins 0 and 1. Besides, I also created a…
Ugo
  • 11
  • 1
0
votes
1 answer

Displaying Date and Time in Ionic

Is it possible to display the date and the time in Ionic like if it's a real time clock (RTC)? The only thing I found in the Ionic documents was a selector. Does anyone have any suggestions?
Nouf
  • 733
  • 1
  • 11
  • 32
0
votes
1 answer

Generate duration using system date and another date from json file on tabulator.info

I am using tabulator.info to display a table from a json file. The json includes employee_id, entry_time, exit_time & duration. There are cases when the exit_time is available (employee did exit) and other cases where the employee has not yet left…
Dabbous
  • 167
  • 4
  • 13
0
votes
1 answer

RPi Zero with RTC DS1307 - Remote I/O Error

EDIT: This problem is solved! the problem was a script running on the pi, which occupied the SCL pin (in my case a script listening for a shutdown button). So it was not able to read the rtc. I'm currently following this tutorial to connect my…
Moritz
  • 352
  • 1
  • 3
  • 15
0
votes
1 answer

Chain multiple RTC alarms: good or bad practice

Working on a SAMD Arduino, I found myself in need for multiple alarms, triggering events at interrupt time. Most people suggest TimeAlarm.h, which is a library to schedule timers and alarms with the Time.h library. Unfortunately the alarms don't run…
Dimitris
  • 83
  • 1
  • 2
  • 15
0
votes
1 answer

Windows IoT Raspberry Pi 3 C# RTC DS3231

this post may seems duplicate as Windows IoT and DS3231 RTC clock but it doesn't seem to work for me. i don't have experience using i2c in this environment. My intended functionality is, at startup check if there is any network connectivity to…
mylim
  • 313
  • 4
  • 16
0
votes
1 answer

dynamic population to date timer from controller

I have followed this tute to render a timer clock on the page, what I am trying to do next is to start the date timer from the values I have in my controller. Timer:
0
votes
1 answer

Getting Device's Clock including Seconds on Android Studio

I am working on a project that i need to use an Android device's clock, including seconds(importantly), on Android Studio. Is there a way to get the time and assign it to a variable and be able to do mathematical operations with it? Thanks in…
elohab
  • 3
  • 2