Editing
Raspberry Pi NTP Server
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Test pentru UART si PPS === Dupa conectarea modulului GPS si configurarea UART/PPS, putem verifica functionarea celor doua interfete direct din sistem. ==== Test UART (NMEA) ==== Pentru a verifica daca modulul GPS transmite date NMEA prin UART: <code class="mw-code mw-highlight plainlinks" style="display:block"><!-- --> <b># cat /dev/serial0</b>  $GNRMC,140221.00,A,4423.43286,N,02605.77991,E,0.096,,250226,,,A,V*14  $GNVTG,,T,,M,0.096,N,0.178,K,A*3C  $GNGGA,140221.00,4423.43286,N,02605.77991,E,1,10,2.11,105.1,M,34.9,M,,*44  $GNGSA,A,3,10,23,15,29,16,26,27,18,,,,,3.30,2.11,2.54,1*00  $GNGSA,A,3,02,25,,,,,,,,,,,3.30,2.11,2.54,3*07  ............. </code> Acest rezultat confirma faptul ca Pi-ul primeste date GPD de la modul Daca totul este configurat corect, ar trebui sa apara siruri NMEA. In cazul in care nu apare asemenator mai sus, verificati conexiunile RX/TX si setarile UART. ==== Instalare unelte PPS si testare ==== Pentru testarea semnalului PPS, instalati pachetul necesar: * apt install pps-tools Dupa instalare, verificam semnalul PPS: <code class="mw-code mw-highlight plainlinks" style="display:block"><!-- --> <b># ppstest /dev/pps0</b>  trying PPS source "/dev/pps0"  found PPS source "/dev/pps0"  ok, found 1 source(s), now start fetching data...  source 0 - assert 1769914968.660167945, sequence: 330 - clear 0.000000000, sequence: 0  source 0 - assert 1769914969.660165119, sequence: 331 - clear 0.000000000, sequence: 0  source 0 - assert 1769914970.660164293, sequence: 332 - clear 0.000000000, sequence: 0 </code> Un rezultat corect va afisa impulsuri detectate la fiecare secunda.
Summary:
Please note that all contributions to Linux Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linux Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Navigation
Main page
Aplicatii Linux
UrBackup
rSyslog
KeepAlived
USB over IP
Pi-hole
DHCP
BIND DNS
Hardware Linux
Adaugare Disk
Extindere Disk
Docker
Instalare Docker CE
Portainer
Container UrBackup
Container PiHole
Raspberry Pi
NTP Server
Snippets
History Command
Access Control List
Tools
What links here
Related changes
Special pages
Page information