{"id":504,"date":"2016-12-15T15:47:52","date_gmt":"2016-12-15T14:47:52","guid":{"rendered":"http:\/\/karelkeers.nl\/karelkeers.nl\/?p=504"},"modified":"2016-12-16T14:37:12","modified_gmt":"2016-12-16T13:37:12","slug":"rtl-sdr-calibration-with-r820t2-chip","status":"publish","type":"post","link":"https:\/\/karelkeers.nl\/karelkeers.nl\/rtl-sdr-calibration-with-r820t2-chip\/","title":{"rendered":"RTL-SDR Calibration with R820T2 chip"},"content":{"rendered":"<p>Calibrating your DVB-T dongle with R820T(2) chip<br \/>\nFirst: Installation of RTL-SDR<\/p>\n<blockquote><p>sudo apt-get update<br \/>\nsudo apt-get install cmake build-essential libusb-1.0-0-dev<br \/>\ncd ~<br \/>\ngit clone git:\/\/git.osmocom.org\/rtl-sdr.git<br \/>\ncd rtl-sdr<br \/>\nmkdir build<br \/>\ncd build<br \/>\ncmake ..\/ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON make<br \/>\nsudo make install<br \/>\nsudo ldconfig<\/p><\/blockquote>\n<p>Second: Installation of kalibrate-rlt<\/p>\n<blockquote><p>cd ~\/src<br \/>\nsudo apt-get install libtool autoconf automake libfftw3-dev<br \/>\ngit clone https:\/\/github.com\/asdil12\/kalibrate-rtl.git<br \/>\ncd kalibrate-rtl<br \/>\ngit checkout arm_memory<br \/>\n.\/bootstrap<br \/>\n.\/configure<br \/>\nmake<br \/>\nsudo make install<\/p><\/blockquote>\n<p>Make sure the RTL stick is running for few minutes to let it warm-up. Get a first rough ppm offset estimation with:<!--more--><\/p>\n<blockquote><p>rtl_test -p<\/p><\/blockquote>\nngg_shortcode_0_placeholder\n<p>Use the rough ppm offset as input for Kalibrate-rtl (in this sample +85ppm) and use `kal` to scan for an usable and local GSM frequency band using gain and the rough ppm value. Use 850MHz for America and 900MHz for Europe. Note the added maximum gain value. <\/p>\n<blockquote><p>kal -s 900 -g 49.6 -e 85<\/p><\/blockquote>\nngg_shortcode_1_placeholder\n<p>Pick the channel with the highest power value and then run kal with the -c argument to find the absolute ppm offset. Also add the rough ppm offset with the -e argument!<\/p>\n<blockquote><p>kal -c #ch -g 49.6 -e 85<\/p><\/blockquote>\nngg_shortcode_2_placeholder\n<p>The rough result from rtl_test was in this case already very close. The ppm offset of this stick at the current temperature is 86ppm. <\/p>\n<p>Tip: For later use it&#8217;s a good idea to store the found ppm offset in the eeprom of the stick.<br \/>\nReboot the device and check with rtl_test to see if the new value is properly stored in the eeprom. <\/p>\n<blockquote><p>rtl_eeprom -s ppm+86<\/p><\/blockquote>\nngg_shortcode_3_placeholder\n<p>Enjoy your calibrated SDR receiver!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Calibrating your DVB-T dongle with R820T(2) chip First: Installation of RTL-SDR sudo apt-get update sudo apt-get install cmake build-essential libusb-1.0-0-dev cd ~ git clone git:\/\/git.osmocom.org\/rtl-sdr.git cd rtl-sdr mkdir build cd build cmake ..\/ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON make sudo make install sudo ldconfig Second: Installation of kalibrate-rlt cd ~\/src sudo apt-get install libtool autoconf automake libfftw3-dev git [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[3,24],"tags":[],"class_list":["post-504","post","type-post","status-publish","format-standard","hentry","category-amateur-radio","category-rtl-sdr"],"_links":{"self":[{"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/posts\/504","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/comments?post=504"}],"version-history":[{"count":11,"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/posts\/504\/revisions"}],"predecessor-version":[{"id":670,"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/posts\/504\/revisions\/670"}],"wp:attachment":[{"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/media?parent=504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/categories?post=504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/karelkeers.nl\/karelkeers.nl\/wp-json\/wp\/v2\/tags?post=504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}