{"id":864,"date":"2019-11-16T15:54:41","date_gmt":"2019-11-16T15:54:41","guid":{"rendered":"https:\/\/open-boat-projects.org\/?page_id=864"},"modified":"2023-02-19T11:51:51","modified_gmt":"2023-02-19T11:51:51","slug":"pc-navtex-usb-linux","status":"publish","type":"page","link":"https:\/\/open-boat-projects.org\/en\/pc-navtex-usb-linux\/","title":{"rendered":"PC NAVTEX USB"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3228\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/08\/pc-navtex-768x498-1-300x195.png\" alt=\"\" width=\"600\" height=\"389\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/08\/pc-navtex-768x498-1-300x195.png 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/08\/pc-navtex-768x498-1-18x12.png 18w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/08\/pc-navtex-768x498-1.png 768w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Fig.: Linux program for PC NAVTEX PC<\/p>\n<p>J\u00fcrgen from the Sailing Forum has taken the trouble to create a Linux program for reading data from NASA&#039;s PC NAVTEX USB. The PC NAVTEX program is used to display NAVTEX messages received with the NAVTEX receiver &quot;<a href=\"https:\/\/www.nasamarine.com\/product\/pc-navtex-usb\/\" target=\"_blank\" rel=\"noopener noreferrer\">PC NAVTEX USB<\/a>&quot; from NASA. Data is transferred via the serial interface. Under Linux, common USB\/serial adapters can be used for this purpose.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3223\" src=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/08\/NASA_PC_NAVTEX_USB-300x260.png\" alt=\"\" width=\"300\" height=\"260\" srcset=\"https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/08\/NASA_PC_NAVTEX_USB-300x260.png 300w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/08\/NASA_PC_NAVTEX_USB-14x12.png 14w, https:\/\/open-boat-projects.org\/wp-content\/uploads\/2022\/08\/NASA_PC_NAVTEX_USB.png 574w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Fig.: PC NAVTEX USB<\/p>\n<p>In contrast to the original software that runs under Windows, this program runs under Linux. It can be used both on a PC and on single-board computers such as the Paspberry Pi. Incoming messages are stored in a SQLITE database. The program has filters for displayed messages, identifier of the sending station, identifier of the message subject, max. age of the message, max. length of the list. When the program starts, the messages stored in the receiver are read. Messages that are currently arriving are displayed immediately.<\/p>\n<p>The source code of the program is available on GitHub: <a href=\"https:\/\/github.com\/juerec\/pc-navtex\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/juerec\/pc-navtex\/<\/a><\/p>\n<h1>Installation for Raspberry Pi<\/h1>\n<div class=\"messageBody\">\n<div class=\"messageText\">\n<p>This guide was created by user &quot;Northern Comfort&quot; from the Sailing forum and is intended only as a suggestion and to describe the process he used to get the program running. As a Linux\/Raspberry newbie, this is certainly not the best or correct approach. If anyone can describe a simpler and\/or better approach, please correct the guide:<\/p>\n<p>1. Connect the NASA USB PC Box to the Raspberry and supply it with power<\/p>\n<p>2. Installation of qt5 creator and libqt5serialport5-dev packages<\/p>\n<p><strong>command<\/strong>: <strong>sudo apt-get install \u2026.<\/strong><\/p>\n<p><strong>sudo apt-get install libqt5serialport5-dev<\/strong><\/p>\n<p><b>3. <\/b>Download the file from Github using the button &quot;Code&quot; and &quot;Download ZIP&quot;<\/p>\n<p><a class=\"externalURL\" href=\"https:\/\/github.com\/juerec\/pc-navtex\" target=\"_blank\" rel=\"nofollow noopener noreferrer ugc\"><u>https:\/\/github.com\/juerec\/pc-navtex<\/u><\/a><\/p>\n<p>4. Unpack the zip file under \/home\/pi\/\u2026.<\/p>\n<p>5. Open the terminal and switch to the appropriate directory.<\/p>\n<p><strong>command<\/strong>: <strong>CD <\/strong><strong>\/home\/pi\/pc-navtex-master\/pc-navtex<\/strong><\/p>\n<p>If you use a different directory, you must take this into account in the commands below.<\/p>\n<p>6. Then run the commands in the terminal as described on GitHub:<\/p>\n<p><strong>Command: qmake -qt5<\/strong><\/p>\n<p>afterward <strong>make <\/strong><\/p>\n<p>7. Now something happens in the terminal. Please wait until the input field reappears.<\/p>\n<p>8. Then move the udev rule in the terminal. The udev rule ensures that the navtex box is correctly entered into the system structure and recognized.<\/p>\n<p><strong>Command:<\/strong><\/p>\n<p><strong>sudo mv -v \/home\/pi\/pc-navtex-master\/udev\/91-pnavtex.rules\/etc\/udev\/rules.d<\/strong><\/p>\n<p><b>9. <\/b>Reboot Raspberry. I don&#039;t think you really have to. But it doesn&#039;t hurt either.<\/p>\n<p>8. The executable file is now in the directory pc-navtex-master\/pc-navtex ...... you can double-click it and the program will start. If you want, you can now create a shortcut in the menu:<\/p>\n<p>10. Click on the raspberry at the top left; then &quot;Settings&quot; and &quot;Main Menu Editor&quot;, the rest should be self-explanatory.<\/p>\n<p>Unfortunately, you cannot configure the Navtex box with this program, eg the times of the frequency change from 490 kHz to 518 kHz. For this you need the original Windows program. But after that everything works great.<\/p>\n<h1>Info<\/h1>\n<p>If you are looking for further information about Navtex, you will find some information here:<\/p>\n<p><a href=\"http:\/\/weather.mailasail.com\/Franks-Weather\/European-And-Mediterranean-Navtex-Schedules\" target=\"_blank\" rel=\"noopener\">http:\/\/weather.mailasail.com\/Franks-Weather\/European-And-Mediterranean-Navtex-Schedules<\/a><\/p>\n<p><a href=\"https:\/\/www.segeln-forum.de\/thread\/74695-altern-softw-f%C3%BCr-nasa-pc-navtex-usb-auch-ras-pi\/?postID=2119293#post2119293\" target=\"_blank\" rel=\"noopener\">https:\/\/www.segeln-forum.de\/thread\/74695-altern-softw-f%C3%BCr-nasa-pc-navtex-usb-auch-ras-pi\/?postID=2119293#post2119293<\/a><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Fig.: Linux program for PC NAVTEX PC J\u00fcrgen from the Sailing Forum has taken the trouble to create a Linux program for reading data from NASA&#039;s PC NAVTEX USB. The PC NAVTEX program is used to display NAVTEX messages received with NASA&#039;s PC NAVTEX USB receiver. Data transfer takes place... <a href=\"https:\/\/open-boat-projects.org\/en\/pc-navtex-usb-linux\/\" class=\"more-link\">Read more <span class=\"screen-reader-text\">PC NAVTEX USB<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[39,37],"tags":[],"class_list":["post-864","page","type-page","status-publish","hentry","category-opensource","category-projects"],"_links":{"self":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages\/864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/comments?post=864"}],"version-history":[{"count":9,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages\/864\/revisions"}],"predecessor-version":[{"id":4445,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/pages\/864\/revisions\/4445"}],"wp:attachment":[{"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/media?parent=864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/categories?post=864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/open-boat-projects.org\/en\/wp-json\/wp\/v2\/tags?post=864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}