{"id":16921,"date":"2018-03-13T08:00:56","date_gmt":"2018-03-13T15:00:56","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=16921"},"modified":"2023-02-08T04:20:57","modified_gmt":"2023-02-08T12:20:57","slug":"waveforms-tools-with-the-ad2-and-eeboard-the-oscilloscope","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/waveforms-tools-with-the-ad2-and-eeboard-the-oscilloscope\/","title":{"rendered":"WaveForms Tools with the AD2 and EEBoard: The Oscilloscope"},"content":{"rendered":"<p>Today we will take a look at one of the most useful tools on the<a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\"> Analog Discovery 2<\/a> (the <a href=\"https:\/\/www.instructables.com\/Using-the-Oscilloscope-With-the-Analog-Discovery-2\/\">oscilloscope)<\/a>\u00a0and how it can help you refine, tweak, and improve your projects.<\/p>\n<p>Oscilloscopes are one of the most important and useful tools for any electronics engineer or hobbyist. The problem with most scopes is that they can be expensive and they tend to take up a large amount of valuable bench-top real estate.So\u00a0it&#8217;s a good thing you can use your <a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\">Analog Discovery 2<\/a> oscilloscope tool to save both money and space!<\/p>\n<p>Scopes work by plotting the data sensed by the probes onto a graph, which is then displayed on a monitor of some kind. The x-axis is set to display time, and the y-axis can be set to display whatever data type is under observation. Let&#8217;s look at a simple RC circuit to illustrate this.<\/p>\n<figure id=\"attachment_16923\" aria-describedby=\"caption-attachment-16923\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16923\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/09\/schematic-600x425.png\" alt=\"The circuit under observation.\" width=\"600\" height=\"425\" \/><figcaption id=\"caption-attachment-16923\" class=\"wp-caption-text\">A simple RC circuit.<\/figcaption><\/figure>\n<p>When the switch is closed, the capacitor charges but quickly reaches full capacity. Once it does, it acts as\u00a0an open break in the wire and the voltage across the resistor and capacitor is the same voltage as the battery. Once the switch opens, the capacitor starts to drain through the resistor. The equation \u03a4 = RC is known as the <a href=\"http:\/\/www.electronics-tutorials.ws\/rc\/rc_1.html\">RC time constant<\/a>, and tells us that it will take \u03a4 (Greek Tau) seconds for the capacitor to drain to ~36.8% of it&#8217;s previous value. For our schematic, we get \u03a4 = 20k\u03a9 * 100\u03bcF = 2s.<\/p>\n<p>The oscilloscope image of the circuit behavior over several seconds shows a lot of information.<\/p>\n<figure id=\"attachment_16922\" aria-describedby=\"caption-attachment-16922\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-16922\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/09\/scope-600x337.png\" alt=\"An oscilloscope image showing how the voltage of a capacitor changes over time.\" width=\"600\" height=\"337\" \/><figcaption id=\"caption-attachment-16922\" class=\"wp-caption-text\">An oscilloscope image showing how the behavior of a simple RC circuit.<\/figcaption><\/figure>\n<p>Each large division along the x-axis in this image is 2 s. The voltage on the capacitor starts to fall at about -8 s, which is the time when the switch was open, cutting the power from the battery. The voltage level at this point is about +8.5 V, but it can be difficult to see the data in the above image. We can add cursors to the image to help.<\/p>\n<figure id=\"attachment_16925\" aria-describedby=\"caption-attachment-16925\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-16925 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/09\/scope3-600x337.png\" alt=\"scope3\" width=\"600\" height=\"337\" \/><figcaption id=\"caption-attachment-16925\" class=\"wp-caption-text\">We can add cursors to help interpret the captured data.<\/figcaption><\/figure>\n<p>The red cursor shows the exact data captured at -8 s. If we look at the voltage 2 seconds later (blue cursor), we get a voltage of about +3.2 V. Do you remember what the RC time constant represents? It&#8217;s the time it takes the capacitor to discharge ~36.8% of it&#8217;s present charge through a resistor. If we divide 3.2\/8.5 we get about 37.6%, which is right where it should be considering we assumed nominal values for the resistor and capacitor and they each have an error of +\/- 5%. Any 2 s time span will show this same drop in capacitor voltage.<\/p>\n<p>This is just a brief introduction to the oscilloscope tool using the <a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\">Analog Discovery 2<\/a> and <a href=\"https:\/\/digilent.com\/shop\/waveforms-2015-download-only\/\">Waveforms 2015<\/a>. For a more in depth tutorial, check out my <a href=\"https:\/\/www.instructables.com\/Using-the-Oscilloscope-With-the-Analog-Discovery-2\/\">Instructable<\/a>!<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-16921 jlk' data-task='like' data-post_id='16921' data-nonce='39daa8319e' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-16921 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-16921 jlk' data-task='unlike' data-post_id='16921' data-nonce='39daa8319e' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-16921 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-16921 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Brandon walks through a quick but informative overview of oscilloscopes and instrumentation!<\/p>\n","protected":false},"author":22,"featured_media":16957,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4323,4312,1563],"tags":[111,499],"ppma_author":[4471],"class_list":["post-16921","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-usb-scopes-analyzers-generators","category-guide","tag-analog-discovery","tag-oscilloscope"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/09\/odvk.jpg","authors":[{"term_id":4471,"user_id":22,"is_guest":0,"slug":"brmarcum","display_name":"Brandon Marcum","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/3f3481ac36f3c92f08a1a8266d60111ca31c5031c4428d551991aa080d9d529b?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/16921","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\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=16921"}],"version-history":[{"count":2,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/16921\/revisions"}],"predecessor-version":[{"id":29671,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/16921\/revisions\/29671"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/16957"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=16921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=16921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=16921"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=16921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}