{"id":398,"date":"2018-04-18T23:00:46","date_gmt":"2018-04-18T22:00:46","guid":{"rendered":"https:\/\/www.burningimage.net\/cattrack\/?p=398"},"modified":"2023-07-22T07:56:57","modified_gmt":"2023-07-22T06:56:57","slug":"everythings-working","status":"publish","type":"post","link":"https:\/\/www.burningimage.net\/cattrack\/everythings-working\/","title":{"rendered":"Everything&#8217;s working!!!"},"content":{"rendered":"<p>Everything is working!!!<\/p>\n<p>This is the CatTrack Basestation communicating with the CatTrack unit on Buttons&#8217; collar, showing his position on it&#8217;s LCD screen whilst simultaneously sending position information via Bluetooth to my laptop, which you can see on my screen in the background.<a href=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-working.jpeg\"><br \/>\n<\/a><\/p>\n<p><!--more--><\/p>\n<p><a href=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-working.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-399 size-large\" src=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-working-1024x768.jpeg\" alt=\"\" width=\"765\" height=\"574\" srcset=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-working-1024x768.jpeg 1024w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-working-300x225.jpeg 300w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-working-768x576.jpeg 768w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-working-1440x1080.jpeg 1440w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-working.jpeg 2048w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/a><\/p>\n<p>The LCD is showing Buttons&#8217; latitude and longitude, along with the received signal strength in the top right (-81 dBm in the picture), the number of satellites being tracked by the collar (3 in the picture) and the horizonal dilution of precision (HDOP &#8211; basically a measure of positional accuracy). \u00a0The HDOP in the picture is 4.4, represented on the LCD as 44. \u00a0I ran out of characters on the LCD for the decimal point!<\/p>\n<p>A closer look at the data that&#8217;s simultaneously being sent via Bluetooth to my laptop:<\/p>\n<p><a href=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-console.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-400\" src=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-console-1024x573.png\" alt=\"\" width=\"765\" height=\"428\" srcset=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-console-1024x573.png 1024w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-console-300x168.png 300w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-console-768x430.png 768w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-console-1440x805.png 1440w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/a><\/p>\n<p>There is of course also the Beacon mode, which requests a single packet from the CatTrack collar containing just the collar battery voltage. \u00a0This is so that you can monitor the collar battery voltage remotely from the basestation. \u00a0You might check the voltage perhaps once a week.<\/p>\n<p>Because a video speaks a thousand pictures (or something), here&#8217;s a video of that in operation:<\/p>\n<p><iframe loading=\"lazy\" width=\"765\" height=\"430\" src=\"https:\/\/www.youtube.com\/embed\/zZDq7R5S9Y4?feature=oembed\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe><\/p>\n<p>The voltage on the home screen is the voltage of the battery in the basestation. \u00a0I then cycle through all the options, before requesting a single beacon from the collar. \u00a0After a few seconds (remember that the collar only wakes up once every 16 seconds to listen for transmissions), we get our reply &#8211; the battery voltage in the collar is 3.92 Volts. \u00a0From the RSSI it looks like Buttons isn&#8217;t too far away either!<\/p>\n<p>Some other features that now all work perfectly (eventually&#8230;):<\/p>\n<ol>\n<li>All RF transmissions are encrypted, with replay protection (read about that <a href=\"https:\/\/www.burningimage.net\/cattrack\/writing-the-code\/\">here<\/a>)<\/li>\n<li>The Basestation will run from a micro USB connection or a lithium ion battery. \u00a0The battery is charged when the USB is plugged in.<\/li>\n<li>The collar battery life is measured in months &#8211; around 4 to 5 months by my measurement, depending on how often you request the cat&#8217;s position.<\/li>\n<\/ol>\n<p>I first got the collar working with a development board (instead of the basestation) a few months ago, read about that <a href=\"https:\/\/www.burningimage.net\/cattrack\/it-works\/\">here<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-402\" src=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-on-buttons-1024x759.jpeg\" alt=\"\" width=\"765\" height=\"567\" srcset=\"https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-on-buttons-1024x759.jpeg 1024w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-on-buttons-300x222.jpeg 300w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-on-buttons-768x569.jpeg 768w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-on-buttons-1440x1067.jpeg 1440w, https:\/\/www.burningimage.net\/cattrack\/wp-content\/uploads\/2018\/04\/cattrack-on-buttons.jpeg 2048w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/p>\n<p>Over the next few weeks I plan to write a tl;dr post to combine the whole story of getting to this point in one, concise post, to save having to trawl the entire site to relive the development.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Everything is working!!! This is the CatTrack Basestation communicating with the CatTrack unit on Buttons&#8217; collar, showing his position on it&#8217;s LCD screen whilst simultaneously sending position information via Bluetooth to my laptop, which you can see on my screen in the background.<\/p>\n","protected":false},"author":1,"featured_media":399,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[107,108,55,79,17,87,59,8,49,7,12],"class_list":["post-398","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-posts","tag-basestation","tag-cat-tracker","tag-cattrack","tag-encryption","tag-gps","tag-lcd","tag-li-ion","tag-receiver","tag-rf","tag-transmitter","tag-wireless"],"_links":{"self":[{"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/posts\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":4,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"predecessor-version":[{"id":482,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/posts\/398\/revisions\/482"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/media\/399"}],"wp:attachment":[{"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.burningimage.net\/cattrack\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}