{"id":9565,"date":"2018-01-19T17:51:27","date_gmt":"2018-01-19T16:51:27","guid":{"rendered":"http:\/\/blog.wenzlaff.de\/?p=9565"},"modified":"2018-08-17T17:26:26","modified_gmt":"2018-08-17T15:26:26","slug":"heatmap-mit-raspberry-pi-zero-w-und-gopow-erzeugen","status":"publish","type":"post","link":"http:\/\/blog.wenzlaff.de\/?p=9565","title":{"rendered":"Heatmap mit Raspberry Pi Zero W und gopow erzeugen"},"content":{"rendered":"<p>Wie kann mit dem Raspberry Pi eine <a href=\"https:\/\/de.wikipedia.org\/wiki\/Heatmap\" rel=\"noopener\" target=\"_blank\">Heatmap<\/a> erzeugt werden? <\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/twplotter-sdr.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/twplotter-sdr.png\" alt=\"\" width=\"1011\" height=\"402\" class=\"aligncenter size-full wp-image-9609\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/twplotter-sdr.png 1011w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/twplotter-sdr-300x119.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/twplotter-sdr-768x305.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Hier mal ein Beispiel, um die unterschiedlichen Frequenzen zusehen in das Bild klicken und vergr\u00f6\u00dfern:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband.png\" alt=\"\" width=\"3591\" height=\"361\" class=\"aligncenter size-full wp-image-9566\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband.png 3591w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-300x30.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-768x77.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1024x103.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Legende:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-19-um-17.55.35.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-19-um-17.55.35.png\" alt=\"\" width=\"303\" height=\"90\" class=\"aligncenter size-full wp-image-9571\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-19-um-17.55.35.png 303w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-19-um-17.55.35-300x89.png 300w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/a><\/p>\n<p>Und noch ein Beispiel:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-2.png\" alt=\"\" width=\"3591\" height=\"250\" class=\"aligncenter size-full wp-image-9576\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-2.png 3591w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-2-300x21.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-2-768x53.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-2-1024x71.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Legende:<br \/>\n<a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-17.08.46.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-17.08.46.png\" alt=\"\" width=\"310\" height=\"97\" class=\"aligncenter size-full wp-image-9577\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-17.08.46.png 310w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-17.08.46-300x94.png 300w\" sizes=\"auto, (max-width: 310px) 100vw, 310px\" \/><\/a><\/p>\n<p>Airband (rtl_power -f 118M:137M:8k -g 50 -i 10 -e 1h airband-7.csv):<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-7.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-7.png\" alt=\"\" width=\"3591\" height=\"87\" class=\"aligncenter size-full wp-image-9585\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-7.png 3591w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-7-300x7.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-7-768x19.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-7-1024x25.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Und ein letztes Beispiel mit einem Scann nach den Flugzeugtranspondern auf 1090 Mhz (rtl_power -f 1089M:1091M:1k -g 50 -i 10 -e 1h airband-1090-2.csv) wo man gut die Transponder der Flugzeuge (rot) sehen kann:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-2.png\" alt=\"\" width=\"2049\" height=\"93\" class=\"aligncenter size-full wp-image-9579\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-2.png 2049w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-2-300x14.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-2-768x35.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-2-1024x46.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>Als Datenbasis nehmen wir die mit <a href=\"http:\/\/blog.wenzlaff.de\/?p=9554\" rel=\"noopener\" target=\"_blank\">rtl_power<\/a> erzeugte Datei.<\/p>\n<p>Zuerst laden wir uns das go Programm als binary <a href=\"https:\/\/github.com\/dhogborg\/rtl-gopow\" rel=\"noopener\" target=\"_blank\">rtl-gopow<\/a> herunter und entpacken es:<!--more--><\/p>\n<pre class=\"lang:default decode:true \" >\r\nwget https:\/\/github.com\/dhogborg\/rtl-gopow\/releases\/download\/v0.0.4\/gopow_linux_arm5.zip\r\nunzip gopow_linux_arm5.zip\r\n# nun gehen wir in das build Verzeichnis\r\ncd build\r\n# und starten das Programm mit der erzeugen Inputdatei -i und geben den Output Bild Namen an -o\r\n.\/gopow -i ~\/airband.csv -o ~\/airband.png\r\n# nur warten wir 6 Minuten, es kommt die Ausgabe:\r\n# INFO[0000] GoPow init                                    input=\/home\/pi\/airband.csv\r\n# INFO[0000] GoPow init                                    output=\/home\/pi\/airband.png\r\n# INFO[0000] GoPow init                                    format=png\r\n# INFO[0383] GoPow finished in 6 minutes\r\n# Das Ergebnis ist die obige Bilddatei\r\n<\/pre>\n<p>Hier noch die Parameter des Programms:<\/p>\n<pre class=\"lang:default decode:true \" >.\/gopow -h\r\nNAME:\r\n   RTL GoPow - Render a rtl_power CSV output as waterfall image\r\n\r\nUSAGE:\r\n   RTL GoPow [global options] command [command options] [arguments...]\r\n\r\nVERSION:\r\n   0.0.4\r\n\r\nAUTHOR:\r\n  github.com\/dhogborg - &lt;d@hogborg.se&gt;\r\n\r\nCOMMANDS:\r\n   help, h\tShows a list of commands or help for one command\r\n\r\nGLOBAL OPTIONS:\r\n   --input, -i \t\tCSV input file generated by rtl_power [required]\r\n   --output, -o \tOutput file, default same as input file with new extension\r\n   --format, -f \"png\"\tOutput file format, default png [png,jpeg]\r\n   --max-power \"0\"\tDefine a manual maximum power (format nn.n)\r\n   --min-power \"0\"\tDefine a manual minimum power (format nn.n)\r\n   --verbose\t\tEnable more verbose output\r\n   --no-annotations\tDisabled annotations such as time and frequency scales\r\n   --help, -h\t\tshow help\r\n   --version, -v\tprint the version<\/pre>\n<p>Heute Abend nicht viel los in EDDV:<\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-3.png\" alt=\"\" width=\"2049\" height=\"538\" class=\"aligncenter size-full wp-image-9581\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-3.png 2049w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-3-300x79.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-3-768x202.png 768w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/airband-1090-3-1024x269.png 1024w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-20.04.13.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-20.04.13.png\" alt=\"\" width=\"808\" height=\"445\" class=\"aligncenter size-full wp-image-9582\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-20.04.13.png 808w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-20.04.13-300x165.png 300w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-20.04.13-768x423.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-20.05.11.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-20.05.11.png\" alt=\"\" width=\"616\" height=\"467\" class=\"aligncenter size-full wp-image-9583\" srcset=\"http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-20.05.11.png 616w, http:\/\/blog.wenzlaff.de\/wp-content\/uploads\/2018\/01\/Bildschirmfoto-2018-01-20-um-20.05.11-300x227.png 300w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wie kann mit dem Raspberry Pi eine Heatmap erzeugt werden? Hier mal ein Beispiel, um die unterschiedlichen Frequenzen zusehen in das Bild klicken und vergr\u00f6\u00dfern: Legende: Und noch ein Beispiel: Legende: Airband (rtl_power -f 118M:137M:8k -g 50 -i 10 -e 1h airband-7.csv): Und ein letztes Beispiel mit einem Scann nach den Flugzeugtranspondern auf 1090 Mhz &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/blog.wenzlaff.de\/?p=9565\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eHeatmap mit Raspberry Pi Zero W und gopow erzeugen\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[220,1023,2752,7],"tags":[3125,2489,2190],"class_list":["post-9565","post","type-post","status-publish","format-standard","hentry","category-anleitung","category-raspberry-pi","category-raspberry-pi-zero-w","category-tools","tag-gopow","tag-heatmap","tag-raspberry-pi"],"_links":{"self":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/9565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9565"}],"version-history":[{"count":0,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=\/wp\/v2\/posts\/9565\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9565"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.wenzlaff.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}