The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
173 views

Raspberry Pi won't update time

NOTE: QUESTION IS UPDATED ACCORDING TO LAST SITUATION FOR EASIER UNDERSTANDING. I bought Raspberry Pi 3 approximately two months ago and since then time has never updated. Details: Operative ...
0
votes
1answer
63 views

HC-SR04 ultrasonic sensor reading becomes highly unusable when PWM is active

Good day I am trying to sample distance using a sonar/ultrasonic sensor for altitude measurement. When the PWM is not active, the sensor gives accurate measurements in centimeters, however with the ...
1
vote
0answers
30 views

Raspberry pi execution time calculated is different on the desktop terminal and command line?

Boot to desktop and boot to command line can be chosen using raspi-config. I decided to do a test to see whether my code will execute faster using the command line interface. How come the ...
4
votes
3answers
155 views

Raspberry Pi Time is off by 45 min

I'm currently running a Pi as a file and Webserver on my small home network. My two Windows-10 PCs have the correct time, but I noticed the Pi time is approx 45 minutes off. No big deal, but when I ...
3
votes
2answers
92 views

Log correct boot time

I have a Raspberry Pi 2 Model B that I use as a mini server and I'd like to get an accurate reading of the times the system is switched on. The problem is not the shutdown times, which are logged ...
2
votes
1answer
85 views

Make sntp run on boot in Jessie

I am building a raspbian-based distro (FullPageOS), and it seems like on boot of the latest Jessie sntp service is running, internet connection is established, but sntp is not updating the clock to ...
3
votes
3answers
173 views

How to display real time on a Pi

How do I give my Pi system a Real Time Clock (RTC)? Is this possible? As each time when I power off my Pi, and the next time when it boots, it displays the previous power off time. Can someone ...
2
votes
1answer
699 views

Cannot ping localhost

While setting up an ntp client/server, I found a weird error where the client cannot check it's own time. I have traced this back to the fact that all of these commands time out: ping localhost ping ...
0
votes
1answer
171 views

Automatically synchronise time with mac on local network without internet access

I want my RPi to have the same time as my mac that I use to command it using SSH. The RPi and mac are connected on a local network without internet access. Currently each time the RPi restarts or ...
1
vote
2answers
65 views

why two RPis show quite different ntp results?

I have two RPis running on the same network, with the same Internet access. One of them is a B and the other one a B+ model. Both run the same distro with ntp enabled for quite a long time (this is to ...
5
votes
3answers
486 views

How can I get a clock in C accurate enough to control a servo?

I want to write a program that controls a servo motor myself using a pi B+. Controlling the motor involves sending 1.5 millisecond pulses along a GPIO pin every 20 milliseconds. I have tested the ...
0
votes
2answers
213 views

Installing Tracks 2.2.3 on Raspberry Pi

I want to install Tracks on my Raspberry Pi for task/time management. My Pi is running the latest Raspbian, i.e. I have updated it to the latest package versions. There is a rather cryptic guide on ...
1
vote
0answers
110 views

ntpq -p reports all available servers have stratum 16

ntpq -p reports all available servers have stratum 16. Therefor the time is cannot be set. However I can ping all the servers. ntpq -p remote refid st t when poll reach delay ...
0
votes
2answers
84 views

Smallest interval that RPi can record

I was planning to determine light speed by myself(which is 3*10^8 m/s). I have kept 2 sensors, and I need to know the time interval as light strikes the sensors. It lies somewhere about 50nanoseconds. ...
1
vote
0answers
45 views

Reliable timed system with low power consumption over rasbpian [closed]

I'm building a simple irrigation system which uses a Raspberry Pi to open and close a solenoid water valve. In general, the system should open the valve for set intervals of time every so often (E.g. ...
0
votes
1answer
468 views

Chrony 506 Cannot talk to daemon

I'm having trouble configuring chrony to sync the time between my raspberry pi and a desktop computer in an isolated network. My raspberry pi's chrony.config file looks like this: server master ...
5
votes
2answers
275 views

Make RPi keep an semi-accurate time after power loss

I use Motion detection and a webcam as a security camera. It's headless with no internet or keyboard. To turn the camera off while it's not need I just turn the power supply off. Because I shut it ...
4
votes
4answers
9k views

After reboot, my RPi is one hour off — How to adjust for Daylight Savings problems?

The electricity to my apartment went out a few days ago. I use my RPi to record data and store it in a database. I've just learned that the time for all my data has been off by an hour because the ...
9
votes
3answers
2k views

How does Pi keep track of time interval?

As I understand RTC is needed to keep track of time. However, Raspberry Pi does not have that and use NTP servers to synchronize its time. All that is fine, but how does Pi know that one millisecond ...
29
votes
5answers
90k views

Where does the Raspberry Pi get the time from?

I don't have to set the clock (besides the timezone) on the Raspberry Pi. Where is it getting the time from? About how accurate is it?
13
votes
4answers
7k views

How is time kept on the Raspberry Pi?

How is time kept on a Raspberry Pi with the latest Raspbian release? What sets the internal clock from an NTP server? What happens when no NTP server is available? From my program I am trying to ...
13
votes
2answers
3k views

How accurate is Raspberry Pi's timekeeping?

I realize that since Raspberry Pi doesn't have a real-time clock built in, some issues with accurate timekeeping may present themselves, even when persistence across reboots is not a requirement. This ...