O'Reilly logo

Raspberry Pi Projects for the Evil Genius by Donald Norris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 15Serving up Time with an RTC and NTP

Introduction

This project is focused on how the RasPi keeps track of time both locally and through a network. As designed, the RasPi contains no means to set or track time. This design decision was made both to keep the cost down and to minimize the printed circuit board (PCB) size. In addition, the capability would be available in the rev B model because it has a network port that is able to connect to a public Network Time Protocol (NTP) server. An automatic NTP connection is also built into the standard Wheezy Raspian Linux distribution designed for the RasPi.

The RasPi A models and B models without Internet access do not have public NTP service and, thus, require another means to set and track ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required