{"id":23140,"date":"2017-12-08T08:00:23","date_gmt":"2017-12-08T16:00:23","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=23140"},"modified":"2025-05-30T09:23:58","modified_gmt":"2025-05-30T16:23:58","slug":"new-product-announcement-pmod-hat-adapter","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/new-product-announcement-pmod-hat-adapter\/","title":{"rendered":"New Product Announcement &#8211; Pmod HAT Adapter"},"content":{"rendered":"<p>Pmods come to Raspberry Pi!<\/p>\n<p><strong>Description<\/strong><\/p>\n<figure id=\"attachment_23150\" aria-describedby=\"caption-attachment-23150\" style=\"width: 229px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-23150\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-top.jpg\" alt=\"\" width=\"229\" height=\"203\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-top.jpg 640w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-top-600x532.jpg 600w\" sizes=\"auto, (max-width: 229px) 100vw, 229px\" \/><figcaption id=\"caption-attachment-23150\" class=\"wp-caption-text\"><em>The Pmod HAT was designed in collaboration with <a href=\"https:\/\/uk.rs-online.com\/web\/\">RS Components<\/a> with example Python demos and libraries hosted on <a href=\"http:\/\/designspark-pmod.readthedocs.io\/en\/latest\/\">DesignSpark<\/a>.<\/em><\/figcaption><\/figure>\n<p>The <a href=\"https:\/\/digilent.com\/shop\/pmod-hat-adapter-pmod-expansion-for-raspberry-pi\/\">Pmod HAT Adapter<\/a> is an adapter board from the 40-pin Raspberry Pi header to\u00a0Pmod. By plugging the Pmod HAT into any Raspberry Pi board that uses the 40-pin GPIO header, you can break out the header signals to Pmod ports for quick access to Digilent&#8217;s diverse line of Pmod add-on boards. Just boot your Pi board with the Pmod HAT attached for easy plug and play functionality!<\/p>\n<p>Most of the 40 pins on the Pi are shared with the Pmod ports, so stacking multiple HATs together is tricky if planning to use all three Pmod ports. However, five GPIO pins are unused by the Pmod HAT Adapter. These are available to the user as extra GPIO. Power can be supplied to both the Pmod HAT and the host Raspberry Pi board through the 40-pin GPIO connector&#8217;s two 5 V pins, or through the external barrel jack on the HAT. If using the external power jack, be sure never to connect both power supplies at the same time and always disconnect the original supply before plugging in the other.<\/p>\n<figure id=\"attachment_23151\" aria-describedby=\"caption-attachment-23151\" style=\"width: 308px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-23151\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-oblique.jpg\" alt=\"\" width=\"308\" height=\"264\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-oblique.jpg 640w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-oblique-600x515.jpg 600w\" sizes=\"auto, (max-width: 308px) 100vw, 308px\" \/><figcaption id=\"caption-attachment-23151\" class=\"wp-caption-text\"><em>Pmod HAT ships with four standoffs to improve mechanical rigidity. It&#8217;s a good idea to install the two standoffs opposite the 40-pin connector to ensure the metal pins of Pmod port JC do not come into contact with the HDMI port and potentially cause a short.<\/em><\/figcaption><\/figure>\n<p><strong>Compatibility<\/strong><\/p>\n<p>As stated above, the Pmod HAT Adapter is compatible with all Raspberry Pi boards that use the 40-pin GPIO header. More specifically, this includes the Raspberry Pi Model A+, Model B+, 2 B, 3 B, Zero W and Zero. There are three Pmod ports on the Pmod HAT and all three can be used simultaneously. Any Pmod that has been designed to the <a href=\"https:\/\/digilent.com\/shop\/manage\/products\/592\/edit\">Digilent Pmod Interface Specification 1.1.0 or higher<\/a> should plug directly into the HAT and work. However, due to the available pin resources on the Pi, there are some specifics to watch out for.<\/p>\n<p>See the below table detailing the Pmod port pinouts.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-23145\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-pinout-1024x387.png\" alt=\"\" width=\"702\" height=\"265\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-pinout-1024x387.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-pinout-600x227.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-pinout-768x290.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-pinout-800x303.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-pinout.png 1473w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/p>\n<p>Notice that Pmod ports JA and JB both support SPI Pmods but share a single SPI bus. The user should be aware of this if using two SPI Pmods simultaneously. Also notice that I2C signals are broken out on pins 9 and 10 of post JB. Therefor, 6-pin I2C modules can plug directly into Pmod port JB but only on the bottom row. Another option is to use a 12-pin to dual 6-pin splitter cable to access both the SPI bus and I2C bus on JB simultaneously. See the below image for a visual. 6-pin and 12-pin UART Pmods are supported on JC and all three ports support GPIO modules.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/cdn6.bigcommerce.com\/s-7gavg\/products\/289\/images\/2902\/6x2_Split_obl_600__21749.1448312623.1280.1280.png?c=2\" alt=\"2x6 Pin to Dual 6 Pin Cable, oblique.\" width=\"232\" height=\"232\" \/><\/p>\n<p><strong>Applications<\/strong><\/p>\n<p>The Digilent\u00a0<a href=\"https:\/\/digilent.com\/shop\/manage\/products\/592\/edit\">Pmod HAT Adapter<\/a>\u00a0was designed in collaboration with <a href=\"https:\/\/www.rs-online.com\/designspark\/home\">DesignSpark,<\/a>\u00a0a community site by RS Components dedicated to inspiring innovation through providing tools and resources to engineers who are too often bogged down with logistics. DesignSpark engineers have created a handful of Python projects with Digilent Pmods including the<a href=\"https:\/\/digilent.com\/shop\/pmod-ad1-two-12-bit-a-d-inputs\/\"> AD1<\/a> A\/D converter, <a href=\"https:\/\/digilent.com\/shop\/pmod-hb3-h-bridge-driver-with-feedback-inputs\/\">HB3<\/a> H-bridge driver, <a href=\"https:\/\/digilent.com\/shop\/pmod-isns20-20a-current-sensor\/\">ISNS20<\/a> current sensor,<a href=\"https:\/\/digilent.com\/shop\/pmod-mic3-mems-microphone-with-adjustable-gain\/\"> MIC3<\/a> MEMS microphone, <a href=\"https:\/\/digilent.com\/shop\/pmod-oledrgb-96-x-64-rgb-oled-display-with-16-bit-color-resolution\/\">OLEDrgb<\/a> RGB display, and <a href=\"https:\/\/digilent.com\/shop\/pmodtc1-k-type-thermocouple-module-with-wire\/\">TC1<\/a> thermocouple module. They&#8217;ve written a <a href=\"http:\/\/designspark-pmod.readthedocs.io\/en\/latest\/\">thorough app note<\/a> that walks users through installation and API documentation as well as basic and advanced examples using the Pmods listed. But if you&#8217;d prefer to jump straight to the <a href=\"https:\/\/pypi.python.org\/pypi\/DesignSpark.Pmod\/\">Python Package Index<\/a>\u00a0or <a href=\"https:\/\/github.com\/DesignSparkrs\/DesignSpark.Pmod\">GitHub<\/a>, you can do that as well.<\/p>\n<p>If you have any questions about the Python software support, contact the RS Components <a href=\"https:\/\/uk.rs-online.com\/web\/generalDisplay.html?id=services\/technical-help\">technical help<\/a> team. For any questions about the hardware or Pmod compatibility, feel free to reach out to us on the <a href=\"https:\/\/forum.digilent.com\/\">Digilent Forum!<\/a><\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-23140 jlk' data-task='like' data-post_id='23140' data-nonce='0f678f749c' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-23140 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-23140 jlk' data-task='unlike' data-post_id='23140' data-nonce='0f678f749c' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-23140 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-23140 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Meet our latest Pmod!<\/p>\n","protected":false},"author":26,"featured_media":23156,"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,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[38,1554],"tags":[],"ppma_author":[4491],"class_list":["post-23140","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expansion-modules","category-news"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/12\/Pmod-HAT-in-use-2.png","jetpack_sharing_enabled":true,"authors":[{"term_id":4491,"user_id":26,"is_guest":0,"slug":"talesab","display_name":"Talesa Bleything","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/4ebebd593afbf3d758e9127934708634ab09aeaa7fcfcf6151f4e9ceb9cf6d0e?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\/23140","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\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=23140"}],"version-history":[{"count":1,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/23140\/revisions"}],"predecessor-version":[{"id":31575,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/23140\/revisions\/31575"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/23156"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=23140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=23140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=23140"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=23140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}