{"id":25816,"date":"2019-03-12T14:39:43","date_gmt":"2019-03-12T21:39:43","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=25816"},"modified":"2025-06-02T04:05:36","modified_gmt":"2025-06-02T11:05:36","slug":"resolution-why-does-it-matter","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/resolution-why-does-it-matter\/","title":{"rendered":"Why Resolution Matters: Understanding Bit Depth"},"content":{"rendered":"<p>When it comes to technology, what does \u201cresolution\u201d mean to you? Don\u2019t we all want \u201chigh resolution?\u201d Why? If you Google \u201cresolution definition science,\u201d the first in 340 million results are from GCSE Science: \u201cThe smallest change in the quantity being measured (input) of a measuring instrument that gives a perceptible change in the reading.\u201d You could also think about it as a level sensitivity to a changing input.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-25839\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/magnifying-glass-1465318599Uy4.jpg\" alt=\"\" width=\"614\" height=\"409\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/magnifying-glass-1465318599Uy4.jpg 1920w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/magnifying-glass-1465318599Uy4-600x400.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/magnifying-glass-1465318599Uy4-768x512.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/magnifying-glass-1465318599Uy4-1024x683.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/magnifying-glass-1465318599Uy4-800x533.jpg 800w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/p>\n<p>I don&#8217;t know what this guy is looking for, but like Bono, he still hasn&#8217;t found it. Photo from <a href=\"https:\/\/www.publicdomainpictures.net\/en\/view-image.php?image=173174&amp;picture=magnifying-glass\">here<\/a>.<\/p>\n<p>Now, if you were only concerned with something like an on\/off status, your measuring device might not need a high resolution to detect that change. However, take into consideration if you were measuring a dynamic analog signal or digital bus over some short period of time. Do you think the resolution of your measuring device is going to matter more? You bet it will. Below is an illustration of digitally approximating a continuous sine wave with different resolutions. Photo from <a href=\"https:\/\/commons.wikimedia.org\/wiki\/File:2,_3,_and_4-bit_resolution_comparison.png\">here<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-25837\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/resolution_comparison.png\" alt=\"\" width=\"413\" height=\"407\" \/><\/p>\n<p>The <a href=\"https:\/\/www.crowdsupply.com\/digilent\/openlogger\">OpenLogger<\/a> has eight, 16-bit resolution analog data logging channels. 16-bits! I am used to 8-bit, 10-bit, sometimes 12-bit resolution, but 16-bits of resolution doesn&#8217;t seem to be available much with the devices I am usually using. So, how is that helpful? Let&#8217;s think about an example input, ranging 0 to 5 volts, common for digital signals and microcontrollers. If you are using an 8-bit analog input, that means that input can be digitally interpreted as 2^8 different levels of input voltage or 256 different values. That resolution provides 5 volts \/ 265 bits, which is approximately a change of 20 mV per bit. If you are using a 16-bit analog input, then you can store 2^16 different levels of input voltage or 65536 different values.\u00a0That resolution provides 5 volts \/ 65536 bits which is approximately a change of 76 uV per bit. That&#8217;s an increase in resolution by a factor of 256! Your data is going to be so much more accurate to the true input voltage changes. Below is an illustration of a 4-bit resolution sine wave approximation. Notice if there are more bits, the closer the approximation will be. Photo from <a href=\"https:\/\/commons.wikimedia.org\/wiki\/File:4-bit_resolution_analog_comparison.png\">here<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-25844\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/633px-4-bit_resolution_analog_comparison.png\" alt=\"\" width=\"435\" height=\"412\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/633px-4-bit_resolution_analog_comparison.png 633w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/633px-4-bit_resolution_analog_comparison-600x568.png 600w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/><\/p>\n<p>When using measuring and instrumentation devices, it is always a good idea to consider the resolution of those tools and how that will affect your data acquisition. Maybe 8-bit resolution is okay, maybe it&#8217;s not and 16-bits is needed to show more subtle changes. Check out the open source <a href=\"https:\/\/www.crowdsupply.com\/digilent\/openlogger\">OpenLogger<\/a> and it&#8217;s free, open source, browser based software <a href=\"http:\/\/waveformslive.com\">WaveForms Live<\/a> for your next instrumentation needs.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-25820\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/openlogger.jpg\" alt=\"\" width=\"749\" height=\"421\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/openlogger.jpg 749w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/openlogger-600x337.jpg 600w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-25816 jlk' data-task='like' data-post_id='25816' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-25816 lc'>+2<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-25816 jlk' data-task='unlike' data-post_id='25816' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-25816 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-25816 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Ian gives the rundown on resolution!<\/p>\n","protected":false},"author":49,"featured_media":25837,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4325,4323,4312,1563],"tags":[],"ppma_author":[4459],"class_list":["post-25816","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debug-validation-test","category-software","category-usb-scopes-analyzers-generators","category-guide"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/10\/resolution_comparison.png","authors":[{"term_id":4459,"user_id":49,"is_guest":0,"slug":"ian","display_name":"Ian Etheridge","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/8a19055c49586a33bb17b9a5823ac103?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Etheridge","last_name_2":"","first_name":"Ian","first_name_2":"","job_title":"","description":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/25816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=25816"}],"version-history":[{"count":2,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/25816\/revisions"}],"predecessor-version":[{"id":31620,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/25816\/revisions\/31620"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/25837"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=25816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=25816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=25816"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=25816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}