{"id":1038,"date":"2020-01-08T01:51:47","date_gmt":"2020-01-08T00:51:47","guid":{"rendered":"http:\/\/www.netquote.it\/nqmain\/?p=1038"},"modified":"2020-01-10T00:58:51","modified_gmt":"2020-01-09T23:58:51","slug":"low-cost-logic-level-analyzer-on-linux","status":"publish","type":"post","link":"https:\/\/www.netquote.it\/nqmain\/2020\/01\/low-cost-logic-level-analyzer-on-linux\/","title":{"rendered":"Low cost Logic Level Analyzer on Linux."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">FT232R USB UART IC provides really cheap device, capable to sample about 10Mhz for 8 digital channels. This FTDI IC can be found on many embedded solutions like Arduino boards and many other development boards, primary acts as USB to serial UART converter. Another way to use this IC is Logic Signal Analyzer. Linux OS is required for control GUI and signal visualization \/ decoding. For this purpose install <a href=\"https:\/\/sigrok.org\/wiki\/PulseView\">https:\/\/sigrok.org\/wiki\/PulseView<\/a> developed by sigrok.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">List of supported hardware can be found at this link: <a href=\"https:\/\/sigrok.org\/wiki\/Supported_hardware\">https:\/\/sigrok.org\/wiki\/Supported_hardware<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"550\" src=\"http:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/ir_signal-1024x550.jpg\" alt=\"\" class=\"wp-image-1043\" srcset=\"https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/ir_signal-1024x550.jpg 1024w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/ir_signal-300x161.jpg 300w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/ir_signal-150x81.jpg 150w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/ir_signal-768x413.jpg 768w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/ir_signal-1536x826.jpg 1536w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/ir_signal.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For example connecting IR receiver, taken from old set-top box to the FTDI module permits infrared signal visualization from any TV remote controller.<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"677\" src=\"http:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/log_an-1-1024x677.jpg\" alt=\"\" data-id=\"1045\" data-full-url=\"http:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/log_an-1-scaled.jpg\" data-link=\"http:\/\/www.netquote.it\/nqmain\/?attachment_id=1045\" class=\"wp-image-1045\" srcset=\"https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/log_an-1-1024x677.jpg 1024w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/log_an-1-300x198.jpg 300w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/log_an-1-150x99.jpg 150w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/log_an-1-768x508.jpg 768w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/log_an-1-1536x1016.jpg 1536w, https:\/\/www.netquote.it\/nqmain\/wp-content\/uploads\/log_an-1-2048x1355.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/li><\/ul><figcaption class=\"blocks-gallery-caption\">FT232RL connected to IR receiver (Red &#8211; 3.3V; Black &#8211; GRD; White &#8211; OUT <\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">FT232R datasheet: <a href=\"https:\/\/www.ftdichip.com\/Support\/Documents\/DataSheets\/ICs\/DS_FT232R.pdf\">https:\/\/www.ftdichip.com\/Support\/Documents\/DataSheets\/ICs\/DS_FT232R.pdf<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">IR receiver datasheet: <a href=\"https:\/\/www.vishay.com\/docs\/82491\/tsop382.pdf\">https:\/\/www.vishay.com\/docs\/82491\/tsop382.pdf<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Find more details on Bit-Bang operating mode: <a href=\"https:\/\/hackaday.com\/2009\/09\/22\/introduction-to-ftdi-bitbang-mode\/\">https:\/\/hackaday.com\/2009\/09\/22\/introduction-to-ftdi-bitbang-mode\/<\/a> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Libftdi programming documentation: <a href=\"https:\/\/www.intra2net.com\/en\/developer\/libftdi\/documentation\/\">https:\/\/www.intra2net.com\/en\/developer\/libftdi\/documentation\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Python libftdi programming example: <a href=\"https:\/\/github.com\/adafruit\/Adafruit_Python_GPIO\/blob\/master\/Adafruit_GPIO\/FT232H.py\">https:\/\/github.com\/adafruit\/Adafruit_Python_GPIO\/blob\/master\/Adafruit_GPIO\/FT232H.py<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Arduino ATMega and PulseView solution works with 2Mhz or 4Mhz samplerate: <a href=\"https:\/\/github.com\/gillham\/logic_analyzer\">https:\/\/github.com\/gillham\/logic_analyzer<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More about Logic Sniffers: <a href=\"http:\/\/dangerousprototypes.com\/docs\/Open_Bench_Logic_Sniffer\">http:\/\/dangerousprototypes.com\/docs\/Open_Bench_Logic_Sniffer<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FT232R USB UART IC provides really cheap device, capable to sample about 10Mhz for 8 digital channels. This FTDI IC<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1038","post","type-post","status-publish","format-standard","hentry","category-senza-categoria"],"_links":{"self":[{"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/posts\/1038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/comments?post=1038"}],"version-history":[{"count":4,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/posts\/1038\/revisions"}],"predecessor-version":[{"id":1053,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/posts\/1038\/revisions\/1053"}],"wp:attachment":[{"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/media?parent=1038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/categories?post=1038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netquote.it\/nqmain\/wp-json\/wp\/v2\/tags?post=1038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}