{"id":5321,"date":"2018-04-26T15:58:54","date_gmt":"2018-04-26T15:58:54","guid":{"rendered":"https:\/\/www.use-snip.com\/kb\/?post_type=ht_kb&#038;p=5321"},"modified":"2020-06-13T21:36:05","modified_gmt":"2020-06-13T21:36:05","slug":"serial-data-at-2hz","status":"publish","type":"ht_kb","link":"https:\/\/www.use-snip.com\/kb\/knowledge-base\/serial-data-at-2hz\/","title":{"rendered":"Serial Data at 2Hz"},"content":{"rendered":"<p>When sending serial message at rates over 1Hz, the <strong>serial read interval<\/strong> should be decreased from the nominal value of 500mS to half the period at which these messages will arrive.\u00a0\u00a0\u00a0\u00a0 Unlike TCP\/IP connections which are processed within one or two milliseconds of arrival, each serial port uses a polling process with timer.\u00a0\u00a0 Failure to set a suitable time interval means that the incoming messages will be delayed before they are read in, processed, and send on to the rover devices.\u00a0 In extreme cases, messages can be lost due to limited memory and buffer resources in the GNSS device. \u00a0 <strong><span style=\"color: #0000ff;\">SNIP<\/span> <\/strong>will automatically readjust the starting time of the rate you select to align with the actual data arrival, so there is not need to &#8220;underset&#8221; the value.\u00a0 This control is found in the serial port setup dialog.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-839\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/03\/SerialPortSetUp-UART.png\" alt=\"\" width=\"452\" height=\"338\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/03\/SerialPortSetUp-UART.png 452w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/03\/SerialPortSetUp-UART-300x224.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/03\/SerialPortSetUp-UART-50x37.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/03\/SerialPortSetUp-UART-320x239.png 320w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/p>\n<p>Some operators prefer a Base Station message rate of 2Hz, although there is considerable technical debate about the increased value (if any) to the rover devices from doubling the message rates.\u00a0 If seems fair to say that all subject mater experts agree that at even higher message rates, there is no value to typical rovers doing normal RTK filtering. \u00a0 Years of practical research indicate that the evolution and deviations\u00a0 of the signal themselves is well captured with a 1Hz rate. \u00a0 [And some systems use a 1\/5 Hz message rate].\u00a0 If in doubt for a specific application use, consult your GNSS vendor.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>SNIP<\/strong> <\/span>allows a range of from 50 to 5,000 milliseconds in this field.\u00a0\u00a0 Using values in the range of 490~500 are common to support the normal 1Hz message rates.\u00a0 Values of 240~250 are recommend to support 2Hz message rates.\u00a0\u00a0 If using higher rates,\u00a0 it is suggested to check that any USB device drivers used are not also buffering the data before sending.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When sending serial message at rates over 1Hz, the serial read interval should be decreased from the nominal value of 500mS to half the period at which these messages will arrive.\u00a0\u00a0\u00a0\u00a0 Unlike TCP\/IP connections which are processed within one or two milliseconds of arrival, each serial port uses a polling [&hellip;]<\/p>\n","protected":false},"author":13,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"ht-kb-category":[285],"ht-kb-tag":[188,187],"class_list":["post-5321","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-base-station-setup","ht_kb_tag-serial","ht_kb_tag-uart"],"_links":{"self":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/5321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/comments?post=5321"}],"version-history":[{"count":5,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/5321\/revisions"}],"predecessor-version":[{"id":6560,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/5321\/revisions\/6560"}],"wp:attachment":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/media?parent=5321"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=5321"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=5321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}