惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
V
V2EX
博客园 - 【当耐特】
Vercel News
Vercel News
雷峰网
雷峰网
爱范儿
爱范儿
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Microsoft Azure Blog
Microsoft Azure Blog
F
Full Disclosure
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
NISL@THU
NISL@THU
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Attack and Defense Labs
Attack and Defense Labs
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
P
Proofpoint News Feed
B
Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
K
Kaspersky official blog
I
InfoQ
Google Online Security Blog
Google Online Security Blog
L
LINUX DO - 最新话题
Project Zero
Project Zero
Engineering at Meta
Engineering at Meta
V
Visual Studio Blog
AI
AI
Schneier on Security
Schneier on Security
B
Blog RSS Feed
T
Tor Project blog
H
Help Net Security
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LINUX DO - 热门话题
阮一峰的网络日志
阮一峰的网络日志
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Cyber Attacks, Cyber Crime and Cyber Security
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
V2EX - 技术
V2EX - 技术
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
Arctic Wolf
Webroot Blog
Webroot Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main

Blog on KittenLabs

Marantz UD5007 power supply replacement GPD Pocket 4 Speaker DSP Extreme Pi Boot Optimization WiFi auth with OsmoHLR/SIM cards Windows 11 tweaks & usability improvements Using custom domains as a Fediverse redirect 25GBit/s on macOS & iOS Manage RDP certificates on Windows using SSH Reviving a dead Gigabyte MJ11-EC1 mainboard Dead TROTEC PAC2000S air conditioner PlutoSDR standalone ADS-B FR24 feeder Micro8088 build log OpenWRT als WireGuard-Appliance Es'hail-2 transceiver setup ThinkPad PowerSeries 820 PlutoSDR clock input WiFi over satellite TV coax
GPS locked Raspberry Pi
By Manawyrm (@manawyrm@chaos.social) | Sunday, June 23, 2019 · 2019-06-23 · via Blog on KittenLabs

Feeding a high-accuracy external frequency reference into a Raspberry Pi 1

Raspberry Pi 1 PCB backside, crystal removed, coax connnected instead Oscilloscope, showing sine waveform

For highly-accurate timekeeping or signal generation with a Raspberry Pi, it’s possible to replace the on-board crystal with an external reference input. On the Raspberry Pi 1 the main system oscillator is a 19.2 MHz quarz crystal.

In order to be able to feed a square wave input signal (like the output from the GPS-reference or a u-blox NEO module), a (quick-and-dirty) low-pass filter was built. It uses 47pF capacitor and 1µH inductor.

Metal circuit board, prototype low-pass-filter in Manhattan construction Low-pass filter, connected to Raspberry Pi 1

Software like WsprryPi and rpitx can be locked with this method as well.

Without the LPF, the Raspberry Pi seemed to run off some harmonic frequency from the square wave clock signal. The ACT led would still blink, network didn’t come up and serial console output was unreadable. Measurements with a scope showed a UART frequency of ~210000 baud, but I wasn’t able to decode any of that.

I’ve been running the Pi with ntpd against the servers of the PTB (National Metrology Institute of Germany), which is locked to their atomic clocks. So far the results look nice, I think I’m probably only measuring the jitter and latency of my internet connection.
munin graph

A more common approach is GPS synchronization via a 1 PPS signal over the GPIO pins. This can then be handled via a kernel module, but can only be used for timekeeping.