{"id":3118,"date":"2014-11-20T13:21:08","date_gmt":"2014-11-20T21:21:08","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=3118"},"modified":"2016-07-14T16:48:14","modified_gmt":"2016-07-14T23:48:14","slug":"digilent-pmods-analog-to-digital-converters","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/digilent-pmods-analog-to-digital-converters\/","title":{"rendered":"Digilent Pmods: Analog-to-Digital Converters"},"content":{"rendered":"<p>Welcome back to the Digilent Blog!<\/p>\n<p>We explored and explained\u00a0a number of Pmods already, but hold\u00a0on to your seats because we have more to go. Today, we&#8217;re going to check out a few of Digilent&#8217;s input Pmods: analog-to-digital converters.<\/p>\n<p>ADCs are used whenever you need to accurately receive voltage signals (such as an audio signal) in order to have the signal be correctly interpreted without any excess noise. Digilent offers three of these devices&#8211; the <a href=\"https:\/\/digilent.com\/shop\/pmodad1-two-12-bit-a-d-inputs\/\">PmodAD1<\/a>, the <a href=\"https:\/\/digilent.com\/shop\/pmodad2-4-channel-12-bit-a-d-converter\/\">PmodAD2<\/a>, and the <a href=\"https:\/\/digilent.com\/shop\/pmodad5-4-channel-4-8-khz-24-bit-a-d-converter\/\">PmodAD5<\/a>.<\/p>\n<figure id=\"attachment_12196\" aria-describedby=\"caption-attachment-12196\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-12196\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/11\/PmodAD1-600x428.png\" alt=\"Digilent's PmodAD1\" width=\"600\" height=\"428\" \/><figcaption id=\"caption-attachment-12196\" class=\"wp-caption-text\">Digilent&#8217;s PmodAD1<\/figcaption><\/figure>\n<p>The <a title=\"PmodAD1\" href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?Prod=PMOD-AD1\" target=\"_blank\">PmodAD1<\/a> has two 12-bit ADCs, which both have a two pole Sallen-Key anti-aliasing filter. In plain English, this means that the converters have a second order filter (which is better than a first order filter) to help filter out unwanted frequency noise. When this &#8220;noise&#8221; of very short, random electrical pulse occurs, the filter is able to prevent that pulse from continuing along the data line to the system board which is attempting to correctly interpret the incoming data. The anti-aliasing feature means that it helps prevent parts of a incoming repeated signal from getting skipped and ignored. In terms of communication, this Pmod uses a variant of <a title=\"Pmod Communication: Serial Peripheral Interface\" href=\"https:\/\/digilent.com\/blog\/index.php\/pmod-communication-serial-peripheral-interface-in-detail\/\" target=\"_blank\">SPI<\/a>. It still has the chip select and serial clock pins, but rather than having MOSI and MISO pins, it has two input\/ouput pins. The reason for this so that data is able to be read from the two ADCs simultaneously rather than having to get the data from both of them the Master-In-Slave-Out pin on two separate occasions.<\/p>\n<figure id=\"attachment_3120\" aria-describedby=\"caption-attachment-3120\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/10\/PmodAD2-obl-400.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3120\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/10\/PmodAD2-obl-400.jpg\" alt=\"Digilent's PmodAD2\" width=\"400\" height=\"333\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/10\/PmodAD2-obl-400.jpg 400w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/10\/PmodAD2-obl-400-225x187.jpg 225w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><figcaption id=\"caption-attachment-3120\" class=\"wp-caption-text\">Digilent&#8217;s PmodAD2.<\/figcaption><\/figure>\n<p>The <a title=\"PmodAD2\" href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?NavPath=2,401,933&amp;Prod=PMOD-AD2\" target=\"_blank\">PmodAD2<\/a> is able to have up to four 12-bit analog-to-digital converters that\u00a0use successive approximation ADCs through the use of a capacitative\u00a0DAC. This style incorporates a feedback loop where the input analog voltage is compared to a guessed approximation voltage as produced by the capacitative DAC. A capacitative DAC is a series of capacitors that are appropriately charged so that their overall voltage is equal to the input voltage. When the comparator sees that the input voltage and the capacitors voltage are equal, the successive approximation register allows this data to be available to the system board, specifically through I2C.<\/p>\n<figure id=\"attachment_3121\" aria-describedby=\"caption-attachment-3121\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/10\/PmodAD5-obl-600.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3121\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/10\/PmodAD5-obl-600.png\" alt=\"Digilent's PmodAD5\" width=\"600\" height=\"413\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/10\/PmodAD5-obl-600.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/10\/PmodAD5-obl-600-225x154.png 225w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-3121\" class=\"wp-caption-text\">Digilent&#8217;s PmodAD5.<\/figcaption><\/figure>\n<p>The <a title=\"PmodAD5\" href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?NavPath=2,401,1159&amp;Prod=PMOD-AD5\" target=\"_blank\">PmodAD5<\/a> is the most versatile ADC with up to eight 24-bit differential comparisons. These comparisons can be between pairs of the eight input pins, such as pin 1 and pin 2 or pin 3 and pin 4. All eight inputs can be compared to an external analog voltage input for pseudo-differential signaling. The actual conversion of an analog to digital signal is done through a type of filtering technique called sigma-delta modulation. This conversion is able to use either an internal or external reference voltage . When the internal reference voltage reference is used there are up two four general purpose output pins available for the users use. The PmodAD5 also offers extended functionality by providing two SMA analog inputs, making it an ideal analog-to-digital converter for any situation.<\/p>\n<p>How would\u00a0you expand your projects with these powerful Pmods?<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-3118 jlk' data-task='like' data-post_id='3118' data-nonce='1c819b3974' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-3118 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-3118 jlk' data-task='unlike' data-post_id='3118' data-nonce='1c819b3974' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-3118 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-3118 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>James compares three Pmods, all which handle Analog to Digital conversion!<\/p>\n","protected":false},"author":17,"featured_media":3121,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[38],"tags":[],"ppma_author":[4469],"class_list":["post-3118","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expansion-modules"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2014\/10\/PmodAD5-obl-600.png","authors":[{"term_id":4469,"user_id":17,"is_guest":0,"slug":"jamescolvin","display_name":"James Colvin","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/8aa85f7d11711acc7e571e1ed26c901b614a7064a2e15e522f54d9f26792ea9e?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\/3118","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\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=3118"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/3118\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/3121"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=3118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=3118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=3118"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=3118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}